From MAILER-DAEMON Mon Nov 01 19:17:43 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1COmMp-0000zi-0O
	for mharc-classpath@gnu.org; Mon, 01 Nov 2004 19:17:43 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1COmMk-0000yX-Dx
	for classpath@gnu.org; Mon, 01 Nov 2004 19:17:38 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1COmMj-0000y1-4p
	for classpath@gnu.org; Mon, 01 Nov 2004 19:17:37 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1COmMi-0000xs-FJ
	for classpath@gnu.org; Mon, 01 Nov 2004 19:17:36 -0500
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1COmEX-0003oW-HN
	for classpath@gnu.org; Mon, 01 Nov 2004 19:09:09 -0500
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iA2098WP018316;
	Mon, 1 Nov 2004 19:09:08 -0500
Received: from opsy.redhat.com (vpn50-10.rdu.redhat.com [172.16.50.10])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iA2097r31914; 
	Mon, 1 Nov 2004 19:09:07 -0500
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 6CAA72DC172; Mon,  1 Nov 2004 17:07:56 -0700 (MST)
Sender: tromey@redhat.com
To: Stuart Ballard <sballard@netreach.com>
References: <41826727.3010005@netreach.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 01 Nov 2004 17:07:56 -0700
In-Reply-To: <41826727.3010005@netreach.com>
Message-ID: <m31xfdjeoz.fsf@localhost.localdomain>
Lines: 15
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>, Kaffe <kaffe@kaffe.org>
Subject: Re: Japi results updated - full 1.0 and 1.1 *extremely* close
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Nov 2004 00:17:39 -0000

Stuart> Firstly it looks like Tom's gcj issues are solved so we have an
Stuart> up-to-date classpath japi file[1].

I guess the build with gcj somehow got fixed.  I really haven't had
time to baby-sit the nightly builds, I don't even notice when they
stop working atm :-(

Stuart> Libgcj people, you have one additional error: java.lang.Class has the
Stuart> wrong SerialVersionUID.

Yeah, this is a known bug.  It isn't easily fixable since there is
also a related gcj bug -- if you add serialVersionUID to Class.java,
gcj crashes.

Tom



From MAILER-DAEMON Mon Nov 01 19:43:09 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1COmlR-0008EK-9h
	for mharc-classpath@gnu.org; Mon, 01 Nov 2004 19:43:09 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1COmlP-0008E7-3D
	for classpath@gnu.org; Mon, 01 Nov 2004 19:43:07 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1COmlO-0008Dv-Lt
	for classpath@gnu.org; Mon, 01 Nov 2004 19:43:06 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1COmlO-0008Ds-IW
	for classpath@gnu.org; Mon, 01 Nov 2004 19:43:06 -0500
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1COmdH-0007bM-U9
	for classpath@gnu.org; Mon, 01 Nov 2004 19:34:44 -0500
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iA20YhAv024196;
	Mon, 1 Nov 2004 19:34:43 -0500
Received: from opsy.redhat.com (vpn50-10.rdu.redhat.com [172.16.50.10])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iA20Ygr04971; 
	Mon, 1 Nov 2004 19:34:42 -0500
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 41F022DC172; Mon,  1 Nov 2004 17:33:31 -0700 (MST)
Sender: tromey@redhat.com
To: Stuart Ballard <sballard@netreach.com>
References: <417FC1EE.4000100@netreach.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 01 Nov 2004 17:33:31 -0700
In-Reply-To: <417FC1EE.4000100@netreach.com>
Message-ID: <m3wtx5hyxw.fsf@localhost.localdomain>
Lines: 68
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: Japitools status - Savannah and v5 support
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Nov 2004 00:43:07 -0000

>>>>> "Stuart" == Stuart Ballard <sballard@netreach.com> writes:

Stuart> For now, if people here don't object, I'll post occasional status
Stuart> reports on the Classpath list which would otherwise have gone to a
Stuart> japitools list.

Sounds good to me.

Stuart>    d) We could write our own bytecode-reading library to understand
Stuart>    the new constructs. Again, the fact that Japize doesn't really need
Stuart>    that much information works in our favor. Against us is the fact
Stuart>    that, at least if I write it, I know nothing about bytecode formats.

Eventually you could consider using code from gcjx ("Eventually"
because the 1.5 bytecode-reading support hasn't been written yet).  In
this case you'd have to write in C++ and not Java.  OTOH, the part of
Japi to generate the .japi file could be rewritten as a gcjx back end
without much difficulty.  (In fact it could be arranged so that a Japi
output file is created as a side effect of building the .class files;
gcjx can already run multiple back ends for a single compilation.)

Hmm, I suppose generating serialVersionUID will be hard.


One thing we may want to consider is the goal of Japi.  If it is
binary compatibility, then most of the questions below aren't too
relevant -- because generics work by type erasure, the
parameterizations are not visible at runtime and thus don't affect
binary compatibility.  For instance, it is binary (but not source)
compatible to change a generic class to be non-generic.

Source compatibility is not defined by the spec, but "we know what it
is" -- basically that the user-visible envelope of classes in the
standard library should be the same in every meaningful way.

I didn't answer your list of questions one-by-one since we would need
to answer the goal part first.  But if the goal is source
compatibility, which I think it should be, then basically we just want
to keep ensuring that everything is "the same": same (possibly
generic) types for fields, same types for method arguments and
returns, same parameterization for generic classes, etc.

Stuart>    - Co- and contravariance?

... one nice thing about using gcjx as the processor for this stuff is
that you don't need to implement class inheritance, method overriding,
etc.  gcjx already does that.

Stuart>    - I have no idea. Anyone understand how annotations impact backward
Stuart>      compatibility and what information needs to be stored per class
Stuart>      and/or member to make this happen?

It depends on the annotation, they have different properties.  E.g.,
some are kept at runtime and are user-visible.  Some are
"@Documented", meaning their presence is part of the public API for
the object they modify.  Others are probably not worth tracking,
e.g. @SuppressWarnings, which is used to suppress compiler warnings
related to some source-level object.

As a first cut I would say that those which are @Documented should be
considered as necessary for compatibility.

Stuart>    - Are there any other new 1.5 features that japitools should bear
Stuart>      in mind?

Enums and varargs methods.

Tom



From MAILER-DAEMON Tue Nov 02 02:18:06 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1COsve-00033Q-0v
	for mharc-classpath@gnu.org; Tue, 02 Nov 2004 02:18:06 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1COsvZ-00030G-3G
	for classpath@gnu.org; Tue, 02 Nov 2004 02:18:01 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1COsvX-0002zX-DL
	for classpath@gnu.org; Tue, 02 Nov 2004 02:17:59 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1COsvX-0002zJ-Av
	for classpath@gnu.org; Tue, 02 Nov 2004 02:17:59 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1COsnS-0006Vj-Tr
	for classpath@gnu.org; Tue, 02 Nov 2004 02:09:39 -0500
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 iA27962f025591
	for <classpath@gnu.org>; Tue, 2 Nov 2004 18:09:06 +1100 (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: Tue, 2 Nov 2004 17:09:04 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCCEIAEPAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Importance: Normal
Subject: RFE ThreadGroup.root suggestion
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Nov 2004 07:18:02 -0000

It might be useful to have either VMThread or VMSystem define
getRootThreadgroup() and then have Threadgroup do:

static ThreadGroup root = VMxxx.getRootThreadgroup();

This would allow the root threadgroup to be a VM specific subclass of
ThreadGroup if desired.

I would use this to define a special root threadgroup class for a real-time
JVM that overrides uncaughtException to be more aware of memory-management
issues.

Cheers,
David Holmes




From MAILER-DAEMON Tue Nov 02 04:28:31 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1COuxr-0000oc-7q
	for mharc-classpath@gnu.org; Tue, 02 Nov 2004 04:28:31 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1COuxk-0000mV-7E
	for classpath@gnu.org; Tue, 02 Nov 2004 04:28:24 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1COuxc-0000kz-LO
	for classpath@gnu.org; Tue, 02 Nov 2004 04:28:17 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1COuxb-0000kp-Ks
	for classpath@gnu.org; Tue, 02 Nov 2004 04:28:15 -0500
Received: from [62.253.162.47] (helo=mta07-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1COupX-0003Vt-6c
	for classpath@gnu.org; Tue, 02 Nov 2004 04:19:55 -0500
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by mta07-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id
	<20041102092014.EVJZ19539.mta07-svc.ntlworld.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Tue, 2 Nov 2004 09:20:14 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	iA29Idnq000998; Tue, 2 Nov 2004 09:18:49 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id iA29IYvo000994;
	Tue, 2 Nov 2004 09:18:34 GMT
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16775.20714.830112.756160@cuddles.cambridge.redhat.com>
Date: Tue, 2 Nov 2004 09:18:34 +0000
From: Andrew Haley <aph@redhat.com>
To: Tom Tromey <tromey@redhat.com>
In-Reply-To: <m31xfdjeoz.fsf@localhost.localdomain>
References: <41826727.3010005@netreach.com>
	<m31xfdjeoz.fsf@localhost.localdomain>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: Kaffe <kaffe@kaffe.org>, classpath <classpath@gnu.org>,
	Stuart Ballard <sballard@netreach.com>
Subject: Re: Japi results updated - full 1.0 and 1.1 *extremely* close
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Nov 2004 09:28:25 -0000

Tom Tromey writes:
 > Stuart> Firstly it looks like Tom's gcj issues are solved so we have an
 > Stuart> up-to-date classpath japi file[1].
 > 
 > I guess the build with gcj somehow got fixed.

Sadly, it "got fixed" bacsue Mark Wielaard changed the Classpath
source.  Still, I've never seen the problem.

Andrew.



From MAILER-DAEMON Tue Nov 02 10:46:00 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CP0rA-0002m5-CG
	for mharc-classpath@gnu.org; Tue, 02 Nov 2004 10:46:00 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CP0r8-0002lK-HC
	for classpath@gnu.org; Tue, 02 Nov 2004 10:45:58 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CP0r7-0002k5-1k
	for classpath@gnu.org; Tue, 02 Nov 2004 10:45:57 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CP0r6-0002ju-Tg
	for classpath@gnu.org; Tue, 02 Nov 2004 10:45:56 -0500
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CP0iN-0000wp-DT
	for classpath@gnu.org; Tue, 02 Nov 2004 10:36:55 -0500
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iA2FampU016763;
	Tue, 2 Nov 2004 10:36:48 -0500
Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com
	[172.16.14.4])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iA2Falr26780; 
	Tue, 2 Nov 2004 10:36:47 -0500
Received: from [172.16.14.67] (towel.toronto.redhat.com [172.16.14.67])
	by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id
	iA2FakbU021855; Tue, 2 Nov 2004 10:36:47 -0500
Message-ID: <4187A98E.4000601@redhat.com>
Date: Tue, 02 Nov 2004 10:36:46 -0500
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Noa Resare <noa@resare.com>
References: <1099064309.3733.29.camel@c-241f72d5.01-60-6c6b701.cust.bredbandsbolaget.se>
In-Reply-To: <1099064309.3733.29.camel@c-241f72d5.01-60-6c6b701.cust.bredbandsbolaget.se>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: DST related Calendar regression
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Nov 2004 15:45:58 -0000

Noa Resare wrote:

>On 04-10-08 mckinlay@redhat.com checked in changes to java.util.Calendar
>that effectively made an explicitly set DST_OFFSET value to a function
>of the set TimeZone for the Calendar object if an other field (such as
>YEAR) is set in the calendar after DST_OFFSET is set.
>
>I think this is wrong, as someone who sets DST_OFFSET explicitly and not
>via .setTimeZone() presumably knows what she is doing and expects the
>provided DST_OFFSET to be used.
>  
>
Hi Noa,

Thanks for looking into this. I agree that there is a bug here, as 
demonstrated by your mauve test, but I'm not sure that this is the 
correct fix. It should not be possible to set DST_OFFSET explicitly 
because DST_OFFSET changes at different times of the year depending on 
whether the Calendar is in DST or not according to the rules of it's 
TimeZone. ie: for a given timezone and date value, there is only one 
valid value for the DST_OFFSET field and it doesn't make sense to set a 
different one explicitly.

Although the spec doesn't define what happens if you do this, I think 
the simplest (implementation-wise) and most logical approach is to 
ignore user attempts to set DST_OFFSET, which also appears to be what 
Sun's implementation does (recent ones, at least). Consider the 
following test case for an example:

import java.util.*;

public class TestDST
{
  public static void main(String[] args)
  {
    Calendar c = 
Calendar.getInstance(TimeZone.getTimeZone("America/Toronto"));
    c.set(2004, Calendar.NOVEMBER, 1);  // Not in DST period
    c.set(Calendar.DST_OFFSET, -10000);
    System.out.println (c.get(Calendar.DST_OFFSET));

    c.set(2004, Calendar.OCTOBER, 1);  // In DST period
    c.set(Calendar.DST_OFFSET, 0);
    System.out.println (c.get(Calendar.DST_OFFSET));
  }
}

With Sun's JDK 1.5, this gives the following output:

$ java TestDST
0
3600000

So, I think the real bug here is in SimpleDateFormat - it should only 
use setTimeZone() and not try to set DST_OFFSET or ZONE_OFFSET 
explicitly. We should clarify our Javadoc to specify that attempts to 
set these fields explicitly are ignored.

Regards

Bryce




From MAILER-DAEMON Tue Nov 02 12:29:01 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CP2Sq-0004GM-Lu
	for mharc-classpath@gnu.org; Tue, 02 Nov 2004 12:29:00 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CP2Sp-0004FV-1d
	for classpath@gnu.org; Tue, 02 Nov 2004 12:28:59 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CP2So-0004Eu-7H
	for classpath@gnu.org; Tue, 02 Nov 2004 12:28:58 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CP2So-0004Eq-3C
	for classpath@gnu.org; Tue, 02 Nov 2004 12:28:58 -0500
Received: from [209.152.205.226] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CP2KI-0001xT-1n
	for classpath@gnu.org; Tue, 02 Nov 2004 12:20:10 -0500
Received: from [209.152.205.123] ([209.152.205.123]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.211); 
	Tue, 2 Nov 2004 12:23:21 -0500
Message-ID: <4187C1C2.8020304@netreach.com>
Date: Tue, 02 Nov 2004 12:20:02 -0500
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040926)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tromey@redhat.com
References: <417FC1EE.4000100@netreach.com>
	<m3wtx5hyxw.fsf@localhost.localdomain>
In-Reply-To: <m3wtx5hyxw.fsf@localhost.localdomain>
X-Enigmail-Version: 0.86.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 02 Nov 2004 17:23:21.0352 (UTC)
	FILETIME=[A6A9C080:01C4C100]
Cc: classpath <classpath@gnu.org>
Subject: Re: Japitools status - Savannah and v5 support
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Nov 2004 17:28:59 -0000

Tom Tromey wrote:
> Eventually you could consider using code from gcjx ("Eventually"
> because the 1.5 bytecode-reading support hasn't been written yet).  In
> this case you'd have to write in C++ and not Java.  OTOH, the part of
> Japi to generate the .japi file could be rewritten as a gcjx back end
> without much difficulty.  (In fact it could be arranged so that a Japi
> output file is created as a side effect of building the .class files;
> gcjx can already run multiple back ends for a single compilation.)

Might be an interesting excuse to learn C++. I'll bear it in mind as a 
possibility if nothing else pops up in the meantime.

> Hmm, I suppose generating serialVersionUID will be hard.

That's hard already and a suspected source of bugs - something's going 
on with AccessibleApplet that's not currently understood AFAIK.

> One thing we may want to consider is the goal of Japi.  If it is
> binary compatibility, then most of the questions below aren't too
> relevant -- because generics work by type erasure, the
> parameterizations are not visible at runtime and thus don't affect
> binary compatibility.  For instance, it is binary (but not source)
> compatible to change a generic class to be non-generic.
> 
> Source compatibility is not defined by the spec, but "we know what it
> is" -- basically that the user-visible envelope of classes in the
> standard library should be the same in every meaningful way.

Full source compatibility is almost impossible because you can't add any 
new names to a non-final class without potentially screwing stuff up 
royally. Besides, Sun broke that at a language level for anyone who had 
a variable called strictfp or a method called assert().

On the other hand, I agree that in this case following strictly binary 
compatibility with no regard for the source code implications is wrong. 
It just so happened that up to now the rules for binary compatibility 
were close enough to what we actually did want that it was reasonable to 
talk about.

Actually japicompat already has a -s flag which sticks to binary 
compatibility as defined by the JLS, without the additions for things 
like exceptions and adding methods to abstract classes. I think it would 
be reasonable to put all the generic comparisons that don't affect 
binary compatibility in the set of tests that gets excluded by this flag.

> I didn't answer your list of questions one-by-one since we would need
> to answer the goal part first.  But if the goal is source
> compatibility, which I think it should be, then basically we just want
> to keep ensuring that everything is "the same": same (possibly
> generic) types for fields, same types for method arguments and
> returns, same parameterization for generic classes, etc.

There's one definite exception to this - Sun's clearly felt free to take 
non-generic classes and add generic parameters constrained to the types 
that were already in use (see Collections, java.lang.Class etc). When 
japitools tests for backwards compatibility it should reflect the 
reality that doing this is considered "okay".

> As a first cut I would say that those which are @Documented should be
> considered as necessary for compatibility.

This sounds right.

> Enums and varargs methods.

Good call.

Stuart.

-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Tue Nov 02 12:38:37 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CP2c8-0000Pt-L7
	for mharc-classpath@gnu.org; Tue, 02 Nov 2004 12:38:36 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CP2c5-0000NO-Nm
	for classpath@gnu.org; Tue, 02 Nov 2004 12:38:33 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CP2c4-0000Lz-BV
	for classpath@gnu.org; Tue, 02 Nov 2004 12:38:32 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CP2c4-0000Lt-89
	for classpath@gnu.org; Tue, 02 Nov 2004 12:38:32 -0500
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CP2Sy-0003Zz-IP
	for classpath@gnu.org; Tue, 02 Nov 2004 12:29:08 -0500
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iA2HT7M8017926;
	Tue, 2 Nov 2004 12:29:07 -0500
Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com
	[172.16.14.4])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iA2HT2r32506; 
	Tue, 2 Nov 2004 12:29:02 -0500
Received: from tortoise.toronto.redhat.com (tortoise.toronto.redhat.com
	[172.16.14.92])
	by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id
	iA2HT1bU026015; Tue, 2 Nov 2004 12:29:01 -0500
From: Thomas Fitzsimmons <fitzsim@redhat.com>
To: Stuart Ballard <sballard@netreach.com>
In-Reply-To: <41826727.3010005@netreach.com>
References: <41826727.3010005@netreach.com>
Content-Type: text/plain
Message-Id: <1099416541.22475.4330.camel@tortoise.toronto.redhat.com>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-1) 
Date: Tue, 02 Nov 2004 12:29:01 -0500
Content-Transfer-Encoding: 7bit
Cc: classpath <classpath@gnu.org>, Kaffe <kaffe@kaffe.org>
Subject: Re: Japi results updated - full 1.0 and 1.1 *extremely* close
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Nov 2004 17:38:34 -0000

On Fri, 2004-10-29 at 11:52, Stuart Ballard wrote:

> I have a few more things I want to do before making a release of this, 
> but I thought people might want to know about this so they can 
> immediately set to fixing those 4 remaining errors to claim complete 1.1 
> and 1.0 coverage :)
> 

I committed a fix for the missing java.awt.Font fields.

Tom





From MAILER-DAEMON Tue Nov 02 15:15:32 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CP540-00087c-8w
	for mharc-classpath@gnu.org; Tue, 02 Nov 2004 15:15:32 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CP53z-00087F-7m
	for classpath@gnu.org; Tue, 02 Nov 2004 15:15:31 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CP53y-00086v-Ke
	for classpath@gnu.org; Tue, 02 Nov 2004 15:15:30 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CP53y-00086l-Hg
	for classpath@gnu.org; Tue, 02 Nov 2004 15:15:30 -0500
Received: from [209.152.205.226] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CP4vf-000415-Pq; Tue, 02 Nov 2004 15:06:55 -0500
Received: from [209.152.205.123] ([209.152.205.123]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.211); 
	Tue, 2 Nov 2004 15:10:07 -0500
Message-ID: <4187E8BA.5000605@netreach.com>
Date: Tue, 02 Nov 2004 15:06:18 -0500
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040926)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cbj@gnu.org
References: <m3ekkkljye.fsf@localhost.localdomain>	
	<415BE53C.7010403@kaffe.org> <415C08C2.1030902@netreach.com>	
	<200409301736.47695.konqueror@gmx.de>
	<415C2C91.8020608@netreach.com>
	<1096634459.4163.10.camel@lyta.haphazard.org>
In-Reply-To: <1096634459.4163.10.camel@lyta.haphazard.org>
X-Enigmail-Version: 0.86.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 02 Nov 2004 20:10:08.0867 (UTC)
	FILETIME=[F39B5B30:01C4C117]
Cc: tromey@redhat.com, classpath@gnu.org, Michael Koch <konqueror@gmx.de>
Subject: Re: japi note
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Nov 2004 20:15:31 -0000

C. Brian Jones wrote:
> Stuart, I've taken the serialization tests I once gave you to add to
> japitools and added those to a module in Mauve called 'serialization'. 
> A new Mauve module seems like a good home for the japitools project to
> me, but it's up to you... and Tom too.

So would you suggest I take serialize and serialcompat out of japitools 
along with the references on the webpage?

Thanks,
Stuart.

-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Tue Nov 02 23:55:17 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CPDAz-0006f0-J5
	for mharc-classpath@gnu.org; Tue, 02 Nov 2004 23:55:17 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CPDAy-0006eG-2s
	for classpath@gnu.org; Tue, 02 Nov 2004 23:55:16 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CPDAx-0006de-FC
	for classpath@gnu.org; Tue, 02 Nov 2004 23:55:15 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CPDAx-0006dO-BJ
	for classpath@gnu.org; Tue, 02 Nov 2004 23:55:15 -0500
Received: from [24.25.9.100] (helo=ms-smtp-01-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CPD2e-0000ms-J7
	for classpath@gnu.org; Tue, 02 Nov 2004 23:46:40 -0500
Received: from [192.168.0.3] (rdu74-160-248.nc.rr.com [24.74.160.248])
	by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	iA34kPKj023042; Tue, 2 Nov 2004 23:46:26 -0500 (EST)
From: "C. Brian Jones" <cbj@gnu.org>
To: Stuart Ballard <sballard@netreach.com>
In-Reply-To: <4187E8BA.5000605@netreach.com>
References: <m3ekkkljye.fsf@localhost.localdomain>
	<415BE53C.7010403@kaffe.org> <415C08C2.1030902@netreach.com>
	<200409301736.47695.konqueror@gmx.de> <415C2C91.8020608@netreach.com>
	<1096634459.4163.10.camel@lyta.haphazard.org>
	<4187E8BA.5000605@netreach.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-fqpLZ2unNC20nBpArj3l"
Message-Id: <1099457183.28720.20.camel@fencepost.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Tue, 02 Nov 2004 23:46:24 -0500
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: tromey@redhat.com, classpath@gnu.org, Michael Koch <konqueror@gmx.de>
Subject: Re: japi note
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: cbj@gnu.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Nov 2004 04:55:16 -0000


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

On Tue, 2004-11-02 at 15:06, Stuart Ballard wrote:
> C. Brian Jones wrote:
> > Stuart, I've taken the serialization tests I once gave you to add to
> > japitools and added those to a module in Mauve called 'serialization'.=20
> > A new Mauve module seems like a good home for the japitools project to
> > me, but it's up to you... and Tom too.
>=20
> So would you suggest I take serialize and serialcompat out of japitools=20
> along with the references on the webpage?

Yes, you can point people at the Mauve module if they are wondering
where it went.  Perhaps with the work on Mauve's framework it will be
easy to run this as part of the regular Mauve test set in the near
future.

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

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

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

iD8DBQBBiGKfcEcmdY33uzYRAgMeAKChsguNMGudygZKt4R33TKLhvulMQCaA4QV
V8pqfTGpMb1NnfDNx9rpMck=
=mnWa
-----END PGP SIGNATURE-----

--=-fqpLZ2unNC20nBpArj3l--




From MAILER-DAEMON Thu Nov 04 11:37:28 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CPkc4-0002f8-Ba
	for mharc-classpath@gnu.org; Thu, 04 Nov 2004 11:37:28 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CPkc2-0002es-Mz
	for classpath@gnu.org; Thu, 04 Nov 2004 11:37:26 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CPkc1-0002eI-On
	for classpath@gnu.org; Thu, 04 Nov 2004 11:37:25 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CPkc1-0002eF-M6
	for classpath@gnu.org; Thu, 04 Nov 2004 11:37:25 -0500
Received: from [204.9.97.99] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CPkTK-0004Ja-2c
	for classpath@gnu.org; Thu, 04 Nov 2004 11:28:27 -0500
Received: from [209.152.205.123] ([209.152.205.123]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.211); 
	Thu, 4 Nov 2004 11:31:22 -0500
Message-ID: <418A58A2.7040401@netreach.com>
Date: Thu, 04 Nov 2004 11:28:18 -0500
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040926)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>
X-Enigmail-Version: 0.86.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 04 Nov 2004 16:31:22.0471 (UTC)
	FILETIME=[B87DC770:01C4C28B]
Subject: Interesting JacORB observation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Nov 2004 16:37:27 -0000

I can't find the emails that said this, but my understanding is that the 
reason JacORB won't build with free class libraries is that it's missing 
org.omg.SendingContext. (at least, that's the first error to get past).

I just noticed that org.omg.SendingContext consists of two empty 
interfaces. The patch to get JacORB to build might be very small...

(I don't have an environment that I can build in to test this theory, 
I'm afraid, but if someone else is interested...)

Stuart.
-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Thu Nov 04 17:18:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CPpwR-0005W3-Qw
	for mharc-classpath@gnu.org; Thu, 04 Nov 2004 17:18:51 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CPpwQ-0005Vn-8z
	for classpath@gnu.org; Thu, 04 Nov 2004 17:18:50 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CPpwP-0005VO-G1
	for classpath@gnu.org; Thu, 04 Nov 2004 17:18:49 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CPpwP-0005VL-CR
	for classpath@gnu.org; Thu, 04 Nov 2004 17:18:49 -0500
Received: from [62.253.162.45] (helo=mta05-svc.ntlworld.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CPpnn-0002KF-9O
	for classpath@gnu.org; Thu, 04 Nov 2004 17:09:55 -0500
Received: from [192.168.13.2] ([80.4.175.232]) by mta05-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP
	id <20041104220646.BLUS28128.mta05-svc.ntlworld.com@[192.168.13.2]>;
	Thu, 4 Nov 2004 22:06:46 +0000
From: Paul Jenner <psj.home@ntlworld.com>
To: classpath <classpath@gnu.org>
In-Reply-To: <41826727.3010005@netreach.com>
References: <41826727.3010005@netreach.com>
Content-Type: text/plain
Message-Id: <1099606290.2205.7.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Thu, 04 Nov 2004 22:11:31 +0000
Content-Transfer-Encoding: 7bit
Cc: Stuart Ballard <sballard@netreach.com>
Subject: Re: Japi results updated - full 1.0 and 1.1 *extremely* close
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Nov 2004 22:18:50 -0000

On Fri, 2004-10-29 at 16:52, Stuart Ballard wrote:
> I thought people might want to know about this so they can 
> immediately set to fixing those 4 remaining errors to claim complete 1.1 
> and 1.0 coverage :)

I guess everyone has been following this closely too but, as of the
latest Japi results, Classpath is now fully API compatible with JDK 1.0
[1] and only one missing RMI method off fully compatible with JDK 1.1
[2].

Congratulations on such impressive work,

Paul

[1] http://www.kaffe.org/~stuart/japi/htmlout/h-jdk10-classpath.html
[2] http://www.kaffe.org/~stuart/japi/htmlout/h-jdk11-classpath.html




From MAILER-DAEMON Fri Nov 05 09:39:03 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CQ5F0-0000wi-R4
	for mharc-classpath@gnu.org; Fri, 05 Nov 2004 09:39:03 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CQ5Ew-0000v7-PC
	for classpath@gnu.org; Fri, 05 Nov 2004 09:39:00 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CQ5Es-0000ui-JY
	for classpath@gnu.org; Fri, 05 Nov 2004 09:38:55 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CQ5Es-0000uZ-CM
	for classpath@gnu.org; Fri, 05 Nov 2004 09:38:54 -0500
Received: from [193.14.119.138] (helo=johanna.resare.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CQ56e-0005rE-AX
	for classpath@gnu.org; Fri, 05 Nov 2004 09:30:24 -0500
Received: from molly.resare.com
	(c-771f72d5.01-60-6c6b701.cust.bredbandsbolaget.se [213.114.31.119])
	by johanna.resare.com (Postfix) with ESMTP
	id D6934D6BD0; Fri,  5 Nov 2004 15:29:11 +0100 (CET)
Received: from 192.168.110.42 (marit [192.168.110.42])
	by molly.resare.com (Postfix) with ESMTP
	id 284CED2C55; Fri,  5 Nov 2004 15:30:12 +0100 (CET)
From: Noa Resare <noa@resare.com>
To: Bryce McKinlay <mckinlay@redhat.com>
In-Reply-To: <4187A98E.4000601@redhat.com>
References: <1099064309.3733.29.camel@c-241f72d5.01-60-6c6b701.cust.bredbandsbolaget.se>
	<4187A98E.4000601@redhat.com>
Content-Type: text/plain
Date: Fri, 05 Nov 2004 15:30:06 +0100
Message-Id: <1099665011.30634.41.camel@c-241f72d5.01-60-6c6b701.cust.bredbandsbolaget.se>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.1 (2.0.1-2) 
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: DST related Calendar regression
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Nov 2004 14:39:01 -0000

tis 2004-11-02 klockan 10:36 -0500 skrev Bryce McKinlay:

> Hi Noa,
> 
> Thanks for looking into this. I agree that there is a bug here, as 
> demonstrated by your mauve test, but I'm not sure that this is the 
> correct fix. It should not be possible to set DST_OFFSET explicitly 
> because DST_OFFSET changes at different times of the year depending on 
> whether the Calendar is in DST or not according to the rules of it's 
> TimeZone. ie: for a given timezone and date value, there is only one 
> valid value for the DST_OFFSET field and it doesn't make sense to set a 
> different one explicitly.
> 
> Although the spec doesn't define what happens if you do this, I think 
> the simplest (implementation-wise) and most logical approach is to 
> ignore user attempts to set DST_OFFSET, which also appears to be what 
> Sun's implementation does (recent ones, at least). Consider the 
> following test case for an example:

I think that treating DST_OFFSET and ZONE_OFFSET as read only is
reasonable, and marginally better than the current solution, but 
please don't silently ignore any attempts to set DST_OFFSET. If we
choose not to use the provided value as expected by for example
SimpleDateFormat the only reasonable thing to do IMO is to throw an
exception.

This is a case when we change our behavior and where the spec is vague.
Users depending on the old classpath behavior deserves at least an
exception and fast failure.

I'll probably write a patch that does this as you suggest tonight. Stay
tuned :)

/noa





From MAILER-DAEMON Fri Nov 05 10:13:22 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CQ5mD-0003mz-Vg
	for mharc-classpath@gnu.org; Fri, 05 Nov 2004 10:13:22 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CQ5mC-0003mP-3M
	for classpath@gnu.org; Fri, 05 Nov 2004 10:13:20 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CQ5mB-0003ls-2N
	for classpath@gnu.org; Fri, 05 Nov 2004 10:13:19 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CQ5mA-0003lV-Oc
	for classpath@gnu.org; Fri, 05 Nov 2004 10:13:18 -0500
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CQ5do-0004bD-Fx
	for classpath@gnu.org; Fri, 05 Nov 2004 10:04:40 -0500
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iA5F4SnI020428;
	Fri, 5 Nov 2004 10:04:28 -0500
Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com
	[172.16.14.4])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iA5F4Sr13814; 
	Fri, 5 Nov 2004 10:04:28 -0500
Received: from [172.16.14.67] (towel.toronto.redhat.com [172.16.14.67])
	by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id
	iA5F4QbU031683; Fri, 5 Nov 2004 10:04:28 -0500
Message-ID: <418B967A.2030806@redhat.com>
Date: Fri, 05 Nov 2004 10:04:26 -0500
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Noa Resare <noa@resare.com>
References: <1099064309.3733.29.camel@c-241f72d5.01-60-6c6b701.cust.bredbandsbolaget.se>	
	<4187A98E.4000601@redhat.com>
	<1099665011.30634.41.camel@c-241f72d5.01-60-6c6b701.cust.bredbandsbolaget.se>
In-Reply-To: <1099665011.30634.41.camel@c-241f72d5.01-60-6c6b701.cust.bredbandsbolaget.se>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: DST related Calendar regression
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Nov 2004 15:13:20 -0000

Noa Resare wrote:

>tis 2004-11-02 klockan 10:36 -0500 skrev Bryce McKinlay:
>
>  
>
>>Hi Noa,
>>
>>Thanks for looking into this. I agree that there is a bug here, as 
>>demonstrated by your mauve test, but I'm not sure that this is the 
>>correct fix. It should not be possible to set DST_OFFSET explicitly 
>>because DST_OFFSET changes at different times of the year depending on 
>>whether the Calendar is in DST or not according to the rules of it's 
>>TimeZone. ie: for a given timezone and date value, there is only one 
>>valid value for the DST_OFFSET field and it doesn't make sense to set a 
>>different one explicitly.
>>
>>Although the spec doesn't define what happens if you do this, I think 
>>the simplest (implementation-wise) and most logical approach is to 
>>ignore user attempts to set DST_OFFSET, which also appears to be what 
>>Sun's implementation does (recent ones, at least). Consider the 
>>following test case for an example:
>>    
>>
>
>I think that treating DST_OFFSET and ZONE_OFFSET as read only is
>reasonable, and marginally better than the current solution, but 
>please don't silently ignore any attempts to set DST_OFFSET. If we
>choose not to use the provided value as expected by for example
>SimpleDateFormat the only reasonable thing to do IMO is to throw an
>exception.
>  
>
Well, if I were designing the spec, I'd agree - throwing an 
IllegalArgumentException would definitely be the best thing to do here. 
Unfortunately, the "other" implementation doesn't do this, and in cases 
like this where the spec is vague, IMO it is usually better to follow 
(and document!) their behaviour when in doubt.

It seems fairly unlikely that any existing code (aside from 
SimpleDateFormat) actually depends on the existing behaviour, so I don't 
think its a big deal to change it. We should, however, clarify our spec 
to explicitly state that attempts to set these fields are ignored.

>I'll probably write a patch that does this as you suggest tonight. Stay
>tuned :)
>  
>
Great!

Regards

Bryce




From MAILER-DAEMON Fri Nov 05 20:48:28 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CQFgq-0002H3-F0
	for mharc-classpath@gnu.org; Fri, 05 Nov 2004 20:48:28 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CQFgi-0002DE-7U
	for classpath@gnu.org; Fri, 05 Nov 2004 20:48:21 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CQFge-0002B9-BX
	for classpath@gnu.org; Fri, 05 Nov 2004 20:48:16 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CQFge-00028s-2y
	for classpath@gnu.org; Fri, 05 Nov 2004 20:48:16 -0500
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CQFY9-0004nI-7F
	for classpath@gnu.org; Fri, 05 Nov 2004 20:39:29 -0500
Received: from [62.253.162.43] (helo=mta03-svc.ntlworld.com)
	by mx20.gnu.org with esmtp (Exim 4.34) id 1CQC6h-0005OH-48
	for classpath@gnu.org; Fri, 05 Nov 2004 16:58:55 -0500
Received: from [192.168.13.2] ([80.4.175.232]) by mta03-svc.ntlworld.com
	(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP
	id <20041105215422.MRRK25095.mta03-svc.ntlworld.com@[192.168.13.2]>
	for <classpath@gnu.org>; Fri, 5 Nov 2004 21:54:22 +0000
From: Paul Jenner <psj.home@ntlworld.com>
To: classpath@gnu.org
Content-Type: text/plain
Message-Id: <1099691875.28784.8.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Fri, 05 Nov 2004 21:57:55 +0000
Content-Transfer-Encoding: 7bit
Subject: debugging java.lang.UnsatisfiedLinkError?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Nov 2004 01:48:22 -0000

Hi all.

Can someone help me with a quick newbie question? My apologies for
posting to such a public list but I was not aware of a better place.

I get the following java.lang.UnsatisfiedLinkError error (trying to run
JCTerm with jamvm and Classpath CVS):

[psj@localhost src]$ jamvm -cp
/home/psj/software/install/classpath-cvs-20041105-psj/share/classpath/glibj.zip:. com.jcraft.jcterm.JCTerm
java.lang.UnsatisfiedLinkError: initState
   at gnu.java.awt.peer.gtk.GdkGraphics2D.initState (Native Method)
   at gnu.java.awt.peer.gtk.GdkGraphics2D.<init>
(GdkGraphics2D.java:190)
   at gnu.java.awt.peer.gtk.GdkGraphicsEnvironment.createGraphics
(GdkGraphicsEnvironment.java:67)
   at java.awt.image.BufferedImage.createGraphics
(BufferedImage.java:291)
   at java.awt.image.BufferedImage.getGraphics (BufferedImage.java:323)
   at com.jcraft.jcterm.JCTerm.<init> (JCTerm.java:95)
   at com.jcraft.jcterm.JCTerm.main (JCTerm.java:1219)

What is the best way of debugging such UnsatisfiedLinkErrors? I have
checked that the installed Classpath native libraries are in my linker
path.

Please reply off-line if this is best kept off the public list.

Thanks for the help,

Paul




From MAILER-DAEMON Fri Nov 05 22:25:19 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CQHCZ-0002zG-Pc
	for mharc-classpath@gnu.org; Fri, 05 Nov 2004 22:25:19 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CQHCY-0002wS-3e
	for classpath@gnu.org; Fri, 05 Nov 2004 22:25:18 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CQHCX-0002vh-Be
	for classpath@gnu.org; Fri, 05 Nov 2004 22:25:17 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CQHCV-0002vY-Ep
	for classpath@gnu.org; Fri, 05 Nov 2004 22:25:17 -0500
Received: from [64.233.184.200] (helo=wproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CQH3p-0004MH-Hs
	for classpath@gnu.org; Fri, 05 Nov 2004 22:16:17 -0500
Received: by wproxy.gmail.com with SMTP id 67so76801wri
	for <classpath@gnu.org>; Fri, 05 Nov 2004 19:16:13 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references;
	b=uC/FL8BUaZ8M3Tqm0HQFCRliO4k2tbb2VMS9H96CxBANIi/gI8iSClc3rlwIh6AkxjwrzqfyftG2+IgK6rOi8RxmQREfHU3kMVXkLO0qy/YaoicC2/9Evtpdh/0SO+hTFqLmzCuRoUS2AV7kzNRr/y4Sm8PNbH0wcD7T6BUIBUw=
Received: by 10.54.21.61 with SMTP id 61mr101597wru;
	Fri, 05 Nov 2004 19:16:13 -0800 (PST)
Received: by 10.54.47.6 with HTTP; Fri, 5 Nov 2004 19:16:13 -0800 (PST)
Message-ID: <d58509a8041105191615a9c685@mail.gmail.com>
Date: Sat, 6 Nov 2004 03:16:13 +0000
From: Robert Lougher <rob.lougher@gmail.com>
To: Paul Jenner <psj.home@ntlworld.com>
In-Reply-To: <1099691875.28784.8.camel@localhost.localdomain>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
References: <1099691875.28784.8.camel@localhost.localdomain>
Cc: classpath@gnu.org
Subject: Re: debugging java.lang.UnsatisfiedLinkError?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Robert Lougher <rob.lougher@gmail.com>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Nov 2004 03:25:18 -0000

Hi Paul,

For the record, you need to setup the environment variable
LD_LIBRARY_PATH to the list of directories where to find native
libraries, or set the java.library.path property on the command line
(using -D).

However, you shouldn't have to set this or use -cp (you should use
-bootclasspath for system classes).  By default JamVM looks in the
standard Classpath installation directory (/usr/local/classpath), but
it looks like you have it installed in a different place.  You can
specify this when configuring JamVM by using
--with-classpath_install_dir, e.g:

./configure --with-classpath_install_dir=/home/psj/software/install/classpath-cvs-20041105-psj

Hope this helps,

Rob.

On Fri, 05 Nov 2004 21:57:55 +0000, Paul Jenner <psj.home@ntlworld.com> wrote:
> Hi all.
> 
> Can someone help me with a quick newbie question? My apologies for
> posting to such a public list but I was not aware of a better place.
> 
> I get the following java.lang.UnsatisfiedLinkError error (trying to run
> JCTerm with jamvm and Classpath CVS):
> 
> [psj@localhost src]$ jamvm -cp
> /home/psj/software/install/classpath-cvs-20041105-psj/share/classpath/glibj.zip:. com.jcraft.jcterm.JCTerm
> java.lang.UnsatisfiedLinkError: initState
>    at gnu.java.awt.peer.gtk.GdkGraphics2D.initState (Native Method)
>    at gnu.java.awt.peer.gtk.GdkGraphics2D.<init>
> (GdkGraphics2D.java:190)
>    at gnu.java.awt.peer.gtk.GdkGraphicsEnvironment.createGraphics
> (GdkGraphicsEnvironment.java:67)
>    at java.awt.image.BufferedImage.createGraphics
> (BufferedImage.java:291)
>    at java.awt.image.BufferedImage.getGraphics (BufferedImage.java:323)
>    at com.jcraft.jcterm.JCTerm.<init> (JCTerm.java:95)
>    at com.jcraft.jcterm.JCTerm.main (JCTerm.java:1219)
> 
> What is the best way of debugging such UnsatisfiedLinkErrors? I have
> checked that the installed Classpath native libraries are in my linker
> path.
> 
> Please reply off-line if this is best kept off the public list.
> 
> Thanks for the help,
> 
> Paul
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath
>



From MAILER-DAEMON Sat Nov 06 06:43:53 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CQOz3-0002Pf-Dq
	for mharc-classpath@gnu.org; Sat, 06 Nov 2004 06:43:53 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CQOyz-0002PT-VE
	for classpath@gnu.org; Sat, 06 Nov 2004 06:43:50 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CQOyz-0002P3-0Y
	for classpath@gnu.org; Sat, 06 Nov 2004 06:43:49 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CQOyy-0002P0-TB
	for classpath@gnu.org; Sat, 06 Nov 2004 06:43:48 -0500
Received: from [195.121.6.13] (helo=smtp17.wxs.nl)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CQOqN-0005E9-Up
	for classpath@gnu.org; Sat, 06 Nov 2004 06:34:56 -0500
Received: from [192.168.253.97] (ip3e83476c.speed.planet.nl [62.131.71.108])
	by smtp17.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14
	2004))
	with ESMTP id <0I6R002KI9I4RA@smtp17.wxs.nl> for classpath@gnu.org; Sat,
	06 Nov 2004 12:34:52 +0100 (CET)
Date: Sat, 06 Nov 2004 12:39:24 +0100
From: Ewout Prangsma <ewout@prangsma.net>
To: classpath@gnu.org
Message-id: <418CB7EC.3070805@prangsma.net>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
Subject: NIO ByteBuffer & VM independence
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Nov 2004 11:43:50 -0000

Hi all,

Would it be possible to introduce a new VM specific class in the 
java.nio package that delegates all the static allocate, allocateDirect 
& wrap methods of ByteBuffer to their specific implementation?

I think it should be easy to implement but would allow much greater 
freedom in how VM's want to implement it.

Ewout



From MAILER-DAEMON Sat Nov 06 19:55:08 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CQbKm-00075W-O8
	for mharc-classpath@gnu.org; Sat, 06 Nov 2004 19:55:08 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CQbKl-00075R-SP
	for classpath@gnu.org; Sat, 06 Nov 2004 19:55:07 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CQbKl-00075F-6g
	for classpath@gnu.org; Sat, 06 Nov 2004 19:55:07 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CQbKk-00075B-EI
	for classpath@gnu.org; Sat, 06 Nov 2004 19:55:06 -0500
Received: from [80.168.156.78] (helo=owls-tree.tapsellferrier.co.uk)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1CQbCM-0007nX-Gs
	for classpath@gnu.org; Sat, 06 Nov 2004 19:46:26 -0500
Received: from [80.168.156.71] (helo=kanga ident=Debian-exim)
	by owls-tree.tapsellferrier.co.uk with esmtp (Exim 4.30 #1 (Debian))
	id 1CQb3h-0005Nw-1c; Sun, 07 Nov 2004 00:37:29 +0000
Received: from nferrier by kanga with local (Exim 4.30 #1 (Debian))
	id 1CQb6H-0001D8-CL; Sun, 07 Nov 2004 00:40:09 +0000
To: classpath@gnu.org
From: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Date: 07 Nov 2004 00:40:08 +0000
Message-ID: <871xf6xziv.fsf@tapsellferrier.co.uk>
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: Attention emacs users
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Nov 2004 00:55:08 -0000

I have the beginnings of a new java mode completion system.

See it here:

  http://www.tapsellferrier.co.uk/nics-blog/emacs-java-completion.html

Sorry it's a bit off topic, but I figure there will be a bunch of
Emacs users here writing Java.

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



From MAILER-DAEMON Sat Nov 06 23:00:07 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CQeDm-0002x7-UV
	for mharc-classpath@gnu.org; Sat, 06 Nov 2004 23:00:07 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CQeDk-0002ws-5y
	for classpath@gnu.org; Sat, 06 Nov 2004 23:00:04 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CQeDi-0002we-Nx
	for classpath@gnu.org; Sat, 06 Nov 2004 23:00:03 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CQeDi-0002wb-Io
	for classpath@gnu.org; Sat, 06 Nov 2004 23:00:02 -0500
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CQe4t-0006bL-UO
	for classpath@gnu.org; Sat, 06 Nov 2004 22:50:56 -0500
Received: (qmail 17838 invoked by uid 65534); 7 Nov 2004 03:50:52 -0000
Received: from p213.54.197.149.tisdip.tiscali.de (EHLO [213.54.197.149])
	(213.54.197.149)
	by mail.gmx.net (mp012) with SMTP; 07 Nov 2004 04:50:52 +0100
X-Authenticated: #17532834
Message-ID: <418D9689.60505@gmx.net>
Date: Sun, 07 Nov 2004 04:29:13 +0100
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.3) Gecko/20040930
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
X-Enigmail-Version: 0.86.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: equals() implementation not shown by JAPITools
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Nov 2004 04:00:05 -0000

Hi,
I found a class where the JDK doc says that it has a special equals() 
implementation but the JAPI Tools
(or at least its results here 
http://www.kaffe.org/~stuart/japi/htmlout/h-jdk14-classpath.html#err_missing_java_beans)
do not mention that.
I expect that there are numerous classes with special equals() and 
hashCode() implementations that we might miss without JAPI being able to 
detect this.

cu
Robert



From MAILER-DAEMON Sat Nov 06 23:41:39 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CQerz-0005HH-77
	for mharc-classpath@gnu.org; Sat, 06 Nov 2004 23:41:39 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CQerx-0005H6-PF
	for classpath@gnu.org; Sat, 06 Nov 2004 23:41:37 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CQerw-0005Gf-TP
	for classpath@gnu.org; Sat, 06 Nov 2004 23:41:37 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CQerw-0005Gc-Qh
	for classpath@gnu.org; Sat, 06 Nov 2004 23:41:36 -0500
Received: from [217.12.12.139] (helo=smtp802.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CQejZ-0005bO-Pk
	for classpath@gnu.org; Sat, 06 Nov 2004 23:32:58 -0500
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(mauve-patches@sources.redhat.com@217.44.226.227 with poptime)
	by smtp802.mail.ukl.yahoo.com with SMTP; 7 Nov 2004 04:32:56 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.34)
	id 1CQejY-0006oa-3V; Sun, 07 Nov 2004 04:32:56 +0000
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: Mauve Patches <mauve-patches@sources.redhat.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-whDJFN/G8UN+hubkWAk6"
Message-Id: <1099801975.11878.13.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 07 Nov 2004 04:32:55 +0000
Cc: GNU Classpath <classpath@gnu.org>
Subject: Patch PING: java.util.Currency tests
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Nov 2004 04:41:38 -0000


--=-whDJFN/G8UN+hubkWAk6
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

This is a reminder about the Mauve patch I submitted:

http://sources.redhat.com/ml/mauve-patches/2004/msg00087.html

Is it okay to commit?
--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachment=
s.
See http://www.fsf.org/philosophy/no-word-attachments.html

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

"We've all been part of the biggest beta test the world has ever known --
Windows"
-- Victor Wheatman, Gartner


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

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

iD8DBQBBjaV3u+fW6pI0dq4RAgyjAJ93scNS+Cxf8KJpLXfvjyGTwNvrgQCfVqe6
3HBvJW60yUvJBjxxd1xth2Y=
=BOt2
-----END PGP SIGNATURE-----

--=-whDJFN/G8UN+hubkWAk6--




From MAILER-DAEMON Sun Nov 07 05:37:12 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CQkQ3-0007By-Og
	for mharc-classpath@gnu.org; Sun, 07 Nov 2004 05:37:11 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CQkQ1-0007AM-Es
	for classpath@gnu.org; Sun, 07 Nov 2004 05:37:09 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CQkPz-00078v-4C
	for classpath@gnu.org; Sun, 07 Nov 2004 05:37:07 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CQkPy-00078g-S7
	for classpath@gnu.org; Sun, 07 Nov 2004 05:37:06 -0500
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CQkHa-0000gF-8O; Sun, 07 Nov 2004 05:28:26 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CQkH0-0000bO-00; Sun, 07 Nov 2004 11:27:50 +0100
From: Mark Wielaard <mark@klomp.org>
To: gnu_andrew@member.fsf.org
In-Reply-To: <1099801975.11878.13.camel@rivendell>
References: <1099801975.11878.13.camel@rivendell>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-n7//xPgyJs8Vmhy9YHSw"
Message-Id: <1099823324.19081.58.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 07 Nov 2004 11:28:44 +0100
Cc: Mauve Patches <mauve-patches@sources.redhat.com>,
	GNU Classpath <classpath@gnu.org>
Subject: Re: Patch PING: java.util.Currency tests
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Nov 2004 10:37:09 -0000


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

Hi,

On Sun, 2004-11-07 at 05:32, Andrew John Hughes wrote:
> This is a reminder about the Mauve patch I submitted:
>
> +2004-10-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
> +
> +	* gnu/testlet/java/util/Currency/
> +	(Canada.java): New class of tests for the Canadian currency.
> +	(CanadaFrench.java): New class of tests for the French Canadian currenc=
y.
> +	(China.java): New class of tests for the Chinese currency.
> +	(Constructors.java): New class of tests for the currency constructors (=
getInstance())
> +	(France.java): New class of tests for the French currency.
> +	(Germany.java): New class of tests for the German currency.
> +	(Italy.java): New class of tests for the Italian currency.
> +	(Japan.java): New class of tests for the Japanese currency.
> +	(Korea.java): New class of tests for the Korean currency.
> +	(PRC.java): New class of tests for the People's Republic of China's cur=
rency.
> +	(ReferenceEquality.java): New class of tests to check that there is onl=
y one instance
> +                                  of the Currency class for each locale.
> +        (Taiwan.java): New class of tests for the Taiwanese currency.
> +	(UK.java): New class of tests for the UK's currency.
> +	(US.java): New class of tests for the American currency.
>
> Is it okay to commit?

Yes, please commit this.

Thanks,

Mark

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

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

iD8DBQBBjfjcxVhZCJWr9QwRAqBXAJ9kGSvzkWy+aB7BCK4VxUY+IBavmACfbv/R
coBL4HN4ivjw0z+umNIX4BM=
=Qzdo
-----END PGP SIGNATURE-----

--=-n7//xPgyJs8Vmhy9YHSw--




From MAILER-DAEMON Sun Nov 07 08:33:38 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CQnAo-0002BA-9K
	for mharc-classpath@gnu.org; Sun, 07 Nov 2004 08:33:38 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CQnAm-0002B0-N7
	for classpath@gnu.org; Sun, 07 Nov 2004 08:33:36 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CQnAm-0002Ag-14
	for classpath@gnu.org; Sun, 07 Nov 2004 08:33:36 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CQnAl-0002AW-Ue
	for classpath@gnu.org; Sun, 07 Nov 2004 08:33:35 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CQn21-0000VN-Na
	for classpath@gnu.org; Sun, 07 Nov 2004 08:24:33 -0500
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.6944.0
Date: Sun, 7 Nov 2004 14:24:31 +0100
Message-ID: <D92197D0A6547B44A1567814F851FA6802A407@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: equals() implementation not shown by JAPITools
thread-index: AcTEfU0shoa0UkStTmG4LbuJN/YmyQATyJCg
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Robert Schuster" <theBohemian@gmx.net>,
	"GNU Classpath" <classpath@gnu.org>
Cc: Stuart Ballard <sballard@netreach.com>
Subject: RE: equals() implementation not shown by JAPITools
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Nov 2004 13:33:37 -0000

Robert Schuster wrote:
> I found a class where the JDK doc says that it has a special equals()=20
> implementation but the JAPI Tools (or at least its results here=20
> http://www.kaffe.org/~stuart/japi/htmlout/h-jdk14-classpath.ht
> ml#err_missing_java_beans) do not mention that.
> I expect that there are numerous classes with special equals() and=20
> hashCode() implementations that we might miss without JAPI=20
> being able to detect this.

Hmm. I think this is by design, but I can see your point, it would be
nice if Japitools had a switch that was able to detect these
differences.

Regards,
Jeroen



From MAILER-DAEMON Mon Nov 08 09:14:49 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CRAIC-0006vN-PY
	for mharc-classpath@gnu.org; Mon, 08 Nov 2004 09:14:48 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CRAIA-0006ug-Q1
	for classpath@gnu.org; Mon, 08 Nov 2004 09:14:46 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CRAIA-0006uF-0Z
	for classpath@gnu.org; Mon, 08 Nov 2004 09:14:46 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CRAI9-0006uC-QS
	for classpath@gnu.org; Mon, 08 Nov 2004 09:14:45 -0500
Received: from [204.9.97.99] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CRA9C-0002B2-8n
	for classpath@gnu.org; Mon, 08 Nov 2004 09:05:30 -0500
Received: from [192.168.160.201] ([192.168.160.201]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.211); 
	Mon, 8 Nov 2004 09:08:32 -0500
Message-ID: <418F7D23.8090108@netreach.com>
Date: Mon, 08 Nov 2004 09:05:23 -0500
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040926)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jeroen Frijters <jeroen@sumatra.nl>
References: <D92197D0A6547B44A1567814F851FA6802A407@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA6802A407@LEMBU.sumatrasoftware.com>
X-Enigmail-Version: 0.86.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 08 Nov 2004 14:08:34.0182 (UTC)
	FILETIME=[6F0BA260:01C4C59C]
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: equals() implementation not shown by JAPITools
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Nov 2004 14:14:47 -0000

Jeroen Frijters wrote:
> Hmm. I think this is by design, but I can see your point, it would be
> nice if Japitools had a switch that was able to detect these
> differences.

You're right that this is by design, because there's no way to indicate 
reliably whether this scenario is a problem or not. There are plenty of 
cases where the decision of whether to override an inherited method has 
no bearing on correctness at all. In numerous places in the Collections 
architecture it's done solely for performance, for example.

I specifically don't want japitools to get into the business of testing 
implementation details rather than the public API. And technically it's 
an implementation detail that Object.equals() doesn't contain a bunch of 
instanceof tests with specific implementations for the classes that 
would otherwise need customized equals() implementations.

As another example of why this is an implementation detail, think about 
this (theoretical) scenario: an abstract superclass with no public or 
protected constructors (so that all subclasses must be provided within 
the class library) and a couple of subclasses. Maybe Sun's 
implementation provides equals() implementations in each of the 
subclasses but they do the same thing, relying only on information 
that's available in the superclass. Classpath should be free to 
implement its version more intelligently, by putting the equals() method 
in the superclass and not defining it in the subclasses at all.

I'd suggest that the solution here would be to scan Sun's javadoc[1] for 
classes with custom equals() methods and write Mauve tests for the 
correct *behavior* of equals, rather than the implementation. There 
might well be an opening for a special tool to do this automatically, 
but I don't see it as an API compatibility issue, so I think it's 
outside japitools' scope.

Thoughts?

Stuart.

[1] While I believe it's definitely legal to be scanning Sun's jar files 
for public API information as japize does, scanning the jar files for an 
implementation detail strikes me as slightly more questionable, so I 
suggest scanning the javadoc instead.


-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Mon Nov 08 11:35:41 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CRCUX-0000bK-Cd
	for mharc-classpath@gnu.org; Mon, 08 Nov 2004 11:35:41 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CRCMk-0007Jm-Qz
	for classpath@gnu.org; Mon, 08 Nov 2004 11:27:38 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CRCMj-0007Ik-SU
	for classpath@gnu.org; Mon, 08 Nov 2004 11:27:38 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CRCMj-0007IM-Ji
	for classpath@gnu.org; Mon, 08 Nov 2004 11:27:37 -0500
Received: from [212.186.60.145] (helo=localhost.localdomain)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CRCE9-000747-2w
	for classpath@gnu.org; Mon, 08 Nov 2004 11:18:45 -0500
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by localhost.localdomain (8.13.1/8.13.1/Debian-15.0.0.1.amd64) with
	ESMTP id iA8GIgNL007586
	for <classpath@gnu.org>; Mon, 8 Nov 2004 17:18:42 +0100
Received: (from twisti@localhost)
	by localhost.localdomain (8.13.1/8.13.1/Submit) id iA8GIgSC007585
	for classpath@gnu.org; Mon, 8 Nov 2004 17:18:42 +0100
X-Authentication-Warning: localhost.localdomain: twisti set sender to
	twisti@complang.tuwien.ac.at using -f
Date: Mon, 8 Nov 2004 17:18:42 +0100
From: twisti@complang.tuwien.ac.at
To: classpath@gnu.org
Message-ID: <20041108161842.GE6695@localhost.localdomain>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040907i
X-Mailman-Approved-At: Mon, 08 Nov 2004 11:35:39 -0500
Subject: libtool problem with mipspro on irix
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Nov 2004 16:27:39 -0000

Hi!

I'm currently updating our jvm to classpath-0.11. But when compiling it
on irix with the mipspro compiler i ran into a libtool problem:

akrall@fp98:~/twisti/cacaodev/classpath/native/jni/java-lang$ gmake
source='java_lang_VMSystem.c'
object='libjavalang_la-java_lang_VMSystem.lo' libtool=yes \
DEPDIR=.deps depmode=sgi /bin/sh ../../../depcomp \
/bin/sh ../../../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I.
-I. -I../../../include  -I../../../include -I../../../native/jni/classp
ath -I../../../native/target/Linux -I../../../native/target/generic
-I../../../include -I../../../native/jni/classpath
-I../../../native/targe
t/Linux -I../../../native/target/generic -I../../../native/fdlibm -64
-O0 -g3 -OPT:Olimit=0 -woff 1110,1164,1515 -D__MIPS__ -D__MIPSEB__
-DMAP_
ANONYMOUS=0  -D__IRIX__ -D_REENTRANT -c -o
libjavalang_la-java_lang_VMSystem.lo `test -f 'java_lang_VMSystem.c' ||
echo './'`java_lang_VMSystem
.c
mkdir .libs
 cc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include
-I../../../native/jni/classpath -I../../../native/target/Linux
-I../../../nat
ive/target/generic -I../../../include -I../../../native/jni/classpath
-I../../../native/target/Linux -I../../../native/target/generic
-I../../.
./native/fdlibm -64 -O0 -g3 -OPT:Olimit=0 -woff 1110,1164,1515
-D__MIPS__ -D__MIPSEB__ -DMAP_ANONYMOUS=0 -D__IRIX__ -D_REENTRANT -c
java_lang_V
MSystem.c -Wp,-MDupdate,.deps/libjavalang_la-java_lang_VMSystem.TPlo
-DPIC
mv -f libjavalang_la-java_lang_VMSystem.o
.libs/libjavalang_la-java_lang_VMSystem.o
libjavalang_la-java_lang_VMSystem.o - No such file or directory
gmake: *** [libjavalang_la-java_lang_VMSystem.lo] Error 2

The generated object file is not prefixed with libjavalang_la-.

akrall@fp98:~/twisti/cacaodev/classpath/native/jni/java-lang$ ls *.o
java_lang_VMSystem.o

It seems that the problem is related to `depcomp' since it works when
the first 2 lines are omitted. The last working version was 0.09, where
the target object was different:

source='java_lang_VMSystem.c' object='java_lang_VMSystem.lo' libtool=yes
\
depfile='.deps/java_lang_VMSystem.Plo'
tmpdepfile='.deps/java_lang_VMSystem.TPlo' \
depmode=sgi /bin/sh ../../../depcomp \
<snip>

I'm not very familiar with libtool, so how can this be fixed?

TWISTI



From MAILER-DAEMON Mon Nov 08 12:43:32 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CRDYB-0006gA-VQ
	for mharc-classpath@gnu.org; Mon, 08 Nov 2004 12:43:32 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CRDYA-0006df-7Z
	for classpath@gnu.org; Mon, 08 Nov 2004 12:43:30 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CRDY9-0006cu-8P
	for classpath@gnu.org; Mon, 08 Nov 2004 12:43:29 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CRDY9-0006cf-1j
	for classpath@gnu.org; Mon, 08 Nov 2004 12:43:29 -0500
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CRDOx-0002RL-FP
	for classpath@gnu.org; Mon, 08 Nov 2004 12:33:59 -0500
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iA8HXrnK023437;
	Mon, 8 Nov 2004 12:33:58 -0500
Received: from opsy.redhat.com (vpn50-67.rdu.redhat.com [172.16.50.67])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iA8HXqr16899; 
	Mon, 8 Nov 2004 12:33:52 -0500
Received: by opsy.redhat.com (Postfix, from userid 500)
	id A9ED62DC1B7; Mon,  8 Nov 2004 10:32:09 -0700 (MST)
Sender: tromey@redhat.com
To: Stuart Ballard <sballard@netreach.com>
References: <D92197D0A6547B44A1567814F851FA6802A407@LEMBU.sumatrasoftware.com>
	<418F7D23.8090108@netreach.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 08 Nov 2004 10:32:09 -0700
In-Reply-To: <418F7D23.8090108@netreach.com>
Message-ID: <m3bre8p7qe.fsf@localhost.localdomain>
Lines: 14
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: equals() implementation not shown by JAPITools
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Nov 2004 17:43:30 -0000

>>>>> "Stuart" == Stuart Ballard <sballard@netreach.com> writes:

Stuart> I specifically don't want japitools to get into the business
Stuart> of testing implementation details rather than the public API.

Stuart> I'd suggest that the solution here would be to scan Sun's javadoc[1]
Stuart> for classes with custom equals() methods and write Mauve tests for the
Stuart> correct *behavior* of equals, rather than the implementation.

Stuart> Thoughts?

This seems reasonable to me.

Tom



From MAILER-DAEMON Mon Nov 08 14:49:45 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CRFWK-0007gA-Jf
	for mharc-classpath@gnu.org; Mon, 08 Nov 2004 14:49:44 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CRFWI-0007eb-Lf
	for classpath@gnu.org; Mon, 08 Nov 2004 14:49:42 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CRFWH-0007dv-F3
	for classpath@gnu.org; Mon, 08 Nov 2004 14:49:41 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CRFWH-0007dV-BE
	for classpath@gnu.org; Mon, 08 Nov 2004 14:49:41 -0500
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CRFNg-0007LX-56
	for classpath@gnu.org; Mon, 08 Nov 2004 14:40:48 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CRFMv-00079R-00; Mon, 08 Nov 2004 20:40:01 +0100
From: Mark Wielaard <mark@klomp.org>
To: twisti@complang.tuwien.ac.at
In-Reply-To: <20041108161842.GE6695@localhost.localdomain>
References: <20041108161842.GE6695@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-irqwdKHwFvnldScom24Y"
Message-Id: <1099942835.4388.22.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Mon, 08 Nov 2004 20:40:36 +0100
Cc: classpath@gnu.org
Subject: Re: libtool problem with mipspro on irix
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Nov 2004 19:49:43 -0000


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

Hi,

On Mon, 2004-11-08 at 17:18, twisti@complang.tuwien.ac.at wrote:
> I'm currently updating our jvm to classpath-0.11. But when compiling it
> on irix with the mipspro compiler i ran into a libtool problem:
> [...]
> It seems that the problem is related to `depcomp' since it works when
> the first 2 lines are omitted.

This doesn't immediatly ring a bell.
If you think it is depcomp, could you try to replace it with the version
of 0.09 (if they are actually different).

Hopefully someone else recognizes the problem.
Searching for mipspro and libtool does give a large couple of hits, but
none looked immediately relevant.

In CVS I have simplified the native/jni/java-lang/Makefile.am a little.
But I don't know if this will help you.

Cheers,

Mark

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

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

iD8DBQBBj8uzxVhZCJWr9QwRAiTuAKCmGvoyGMclLSJj1zM5U8KPgaIbzACfS/aR
jhtXebe7JHQrnvlIGf0zxPo=
=NOXg
-----END PGP SIGNATURE-----

--=-irqwdKHwFvnldScom24Y--




From MAILER-DAEMON Mon Nov 08 17:55:47 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CRIQN-0008DU-Ob
	for mharc-classpath@gnu.org; Mon, 08 Nov 2004 17:55:47 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CRIQL-0008Cy-63
	for classpath@gnu.org; Mon, 08 Nov 2004 17:55:45 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CRIQK-0008Cf-Fj
	for classpath@gnu.org; Mon, 08 Nov 2004 17:55:44 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CRIQK-0008CV-9X
	for classpath@gnu.org; Mon, 08 Nov 2004 17:55:44 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CRIH4-00027J-0l
	for classpath@gnu.org; Mon, 08 Nov 2004 17:46:10 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	iA8Mk0Q449806 for <classpath@gnu.org>; Mon, 8 Nov 2004 17:46:01 -0500
Received: from sp1n293en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with
	ESMTP id iA8Mk7b65958
	for <classpath@gnu.org>; Mon, 8 Nov 2004 17:46:07 -0500
Received: from watson.ibm.com (bilbo.watson.ibm.com [9.2.32.197])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with
	ESMTP id iA8Mk6x113170; Mon, 8 Nov 2004 17:46:06 -0500
Message-ID: <418FF72D.5060302@watson.ibm.com>
Date: Mon, 08 Nov 2004 17:46:05 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en-us, en, it
MIME-Version: 1.0
To: jikesrvm-regression@www-124.southbury.usf.ibm.com, classpath@gnu.org
References: <200411081116.iA8BGAsc029075@wormtongue.watson.ibm.com>
In-Reply-To: <200411081116.iA8BGAsc029075@wormtongue.watson.ibm.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 
Subject: Re: [Jikesrvm-regression] classpath CVS head regression FAILED  
 4 tests;       0 mauve failures
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Nov 2004 22:55:45 -0000

jalapeno@watson.ibm.com wrote:

> Jikes RVM Regression tests against classpath CVS head for Mon Nov  8 03:19:15 EST 2004

>  prototype: Failed in SPECjvm98
Defect # 4079 (GC Deadlock) during _213_javac.

>  prototype: Failed in SPECjbb2000
Defect #4083 (GC Error: Barrier Timeout).


>  development: Failed in gctest
Defect # 4079 (GC Deadlock).

>  development: Failed in SPECjbb2000
Another new problem, this time during class loading.  I'm CC'ing this 
to the classpath list, since it probably points to a problem in 
Classpath CVS head.



Exception in thread "main": java.lang.NullPointerException
         at java.lang.Throwable.fillInStackTrace(Throwable.java:109)
         at java.lang.Throwable.<init>(Throwable.java:53)
         at java.lang.Exception.<init>(Exception.java:67)
         at java.lang.RuntimeException.<init>(RuntimeException.java:65)
         at 
java.lang.NullPointerException.<init>(NullPointerException.java:70)
         at 
com.ibm.JikesRVM.VM_Runtime.deliverHardwareException(VM_Runtime.java:
627)
         at <hardware trap>
         at java.util.jar.JarFile.verify(JarFile.java:669)
         at java.util.jar.JarFile.readSignatures(JarFile.java:561)
         at java.util.jar.JarFile.getEntry(JarFile.java:406)
         at java.util.jar.JarFile.getJarEntry(JarFile.java:475)
         at 
java.net.URLClassLoader$JarURLLoader.getResource(URLClassLoader.java:
320)
         at 
java.net.URLClassLoader.findURLResource(URLClassLoader.java:860)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:746)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:314)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:265)
         at 
com.ibm.JikesRVM.classloader.VM_TypeReference.resolve(VM_TypeReferenc
e.java:525)
         at 
com.ibm.JikesRVM.classloader.VM_TableBasedDynamicLinker.resolveMember
(VM_TableBasedDynamicLinker.java:59)
         at 
com.ibm.JikesRVM.classloader.VM_TableBasedDynamicLinker.resolveMember
(VM_TableBasedDynamicLinker.java:49)
         at spec.jbb.JBBmain.main(JBBmain.java:1240)
JikesRVM: exit 113




From MAILER-DAEMON Mon Nov 08 18:23:01 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CRIqj-0005IK-0o
	for mharc-classpath@gnu.org; Mon, 08 Nov 2004 18:23:01 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CRIqc-0005H1-Ps
	for classpath@gnu.org; Mon, 08 Nov 2004 18:22:55 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CRIqY-0005Fv-4U
	for classpath@gnu.org; Mon, 08 Nov 2004 18:22:51 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CRIqX-0005F0-6z
	for classpath@gnu.org; Mon, 08 Nov 2004 18:22:49 -0500
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CRIhL-0008J8-2c
	for classpath@gnu.org; Mon, 08 Nov 2004 18:13:19 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CRIgM-0007sD-00; Tue, 09 Nov 2004 00:12:18 +0100
From: Mark Wielaard <mark@klomp.org>
To: Steven Augart <augart@watson.ibm.com>
In-Reply-To: <418FF72D.5060302@watson.ibm.com>
References: <200411081116.iA8BGAsc029075@wormtongue.watson.ibm.com>
	<418FF72D.5060302@watson.ibm.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-NR0G0WptDIklxB3vYhCU"
Message-Id: <1099955574.4388.45.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Tue, 09 Nov 2004 00:12:54 +0100
Cc: jikesrvm-regression@www-124.southbury.usf.ibm.com, classpath@gnu.org
Subject: Re: [Jikesrvm-regression] classpath CVS head regression FAILED 4
	tests;       0 mauve failures
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Nov 2004 23:22:57 -0000


--=-NR0G0WptDIklxB3vYhCU
Content-Type: multipart/mixed; boundary="=-wBkhcWkjg+o2N9andBeM"


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

Hi,

On Mon, 2004-11-08 at 23:46, Steven Augart wrote:
> >  development: Failed in SPECjbb2000
> Another new problem, this time during class loading.  I'm CC'ing this=20
> to the classpath list, since it probably points to a problem in=20
> Classpath CVS head.
>
>          at java.util.jar.JarFile.verify(JarFile.java:669)
>          at java.util.jar.JarFile.readSignatures(JarFile.java:561)
>          at java.util.jar.JarFile.getEntry(JarFile.java:406)
>          at java.util.jar.JarFile.getJarEntry(JarFile.java:475)

I was just hunting this one down.
Attached is my first attempt.

It makes sure to not check the verified Map when the jar file is
explicitly opened with verify set to false. It also just compares the
value in the Map to Boolean.TRUE or Boolean.FALSE.

I am still thinking about synchronization issues.
It looks like we need to be more careful about synchronization when
manipulating/reading the verified Map since a JarFile can probably be
accessed from multiple threads at once.

Cheers,

Mark

--=-wBkhcWkjg+o2N9andBeM
Content-Disposition: inline; filename=JarFile.patch
Content-Transfer-Encoding: base64
Content-Type: text/x-patch; name=JarFile.patch

SW5kZXg6IGphdmEvdXRpbC9qYXIvSmFyRmlsZS5qYXZhDQo9PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1MgZmlsZTog
L2N2c3Jvb3QvY2xhc3NwYXRoL2NsYXNzcGF0aC9qYXZhL3V0aWwvamFyL0phckZpbGUuamF2YSx2
DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMTINCmRpZmYgLXUgLXIxLjEyIEphckZpbGUuamF2YQ0K
LS0tIGphdmEvdXRpbC9qYXIvSmFyRmlsZS5qYXZhCTcgTm92IDIwMDQgMjI6MDQ6NTcgLTAwMDAJ
MS4xMg0KKysrIGphdmEvdXRpbC9qYXIvSmFyRmlsZS5qYXZhCTggTm92IDIwMDQgMjM6MTA6NTAg
LTAwMDANCkBAIC0zNjMsNyArMzYzLDcgQEANCiAgICAgICAvLyBzaWduYXR1cmVzIGFyZSB2YWxp
ZC4gVGhpcyBtZWFucyB0aGUgY2VydGlmaWNhdGVzIHdpbGwgbm90IGJlDQogICAgICAgLy8gYXZh
aWxhYmxlIGlmIHRoZSBlbnRyeSBoYXNuJ3QgYmVlbiByZWFkIHlldC4NCiAgICAgICBpZiAoZW50
cnlDZXJ0cyAhPSBudWxsICYmIHZlcmlmaWVkLmNvbnRhaW5zS2V5KHppcC5nZXROYW1lKCkpDQot
ICAgICAgICAgICYmICgoQm9vbGVhbikgdmVyaWZpZWQuZ2V0KHppcC5nZXROYW1lKCkpKS5ib29s
ZWFuVmFsdWUoKSkNCisgICAgICAgICAgJiYgdmVyaWZpZWQuZ2V0KHppcC5nZXROYW1lKCkpID09
IEJvb2xlYW4uVFJVRSkNCiAgICAgICAgIHsNCiAgICAgICAgICAgU2V0IGNlcnRzID0gKFNldCkg
ZW50cnlDZXJ0cy5nZXQoamFyLmdldE5hbWUoKSk7DQogICAgICAgICAgIGlmIChjZXJ0cyAhPSBu
dWxsKQ0KQEAgLTQyMCw3ICs0MjAsNyBAQA0KICAgICAgICAgICBkZWJ1ZygiZW50cnlDZXJ0cz0i
ICsgZW50cnlDZXJ0cyArICIgdmVyaWZpZWQgIiArIG5hbWUNCiAgICAgICAgICAgICAgICAgKyAi
ID8gIiArIHZlcmlmaWVkLmdldChuYW1lKSk7DQogICAgICAgICBpZiAoZW50cnlDZXJ0cyAhPSBu
dWxsICYmIHZlcmlmaWVkLmNvbnRhaW5zS2V5KG5hbWUpDQotICAgICAgICAgICAgJiYgKChCb29s
ZWFuKSB2ZXJpZmllZC5nZXQobmFtZSkpLmJvb2xlYW5WYWx1ZSgpKQ0KKyAgICAgICAgICAgICYm
IHZlcmlmaWVkLmdldChuYW1lKSA9PSBCb29sZWFuLlRSVUUpDQogICAgICAgICAgIHsNCiAgICAg
ICAgICAgICBTZXQgY2VydHMgPSAoU2V0KSBlbnRyeUNlcnRzLmdldChuYW1lKTsNCiAgICAgICAg
ICAgICBpZiAoY2VydHMgIT0gbnVsbCkNCkBAIC00NTUsNyArNDU1LDcgQEANCiAgICAgICB7DQog
ICAgICAgICBpZiAoREVCVUcpDQogICAgICAgICAgIGRlYnVnKCJyZWFkaW5nIGFscmVhZHkgdmVy
aWZpZWQgZW50cnkgIiArIGVudHJ5KTsNCi0gICAgICAgIGlmICghKChCb29sZWFuKSB2ZXJpZmll
ZC5nZXQoZW50cnkuZ2V0TmFtZSgpKSkuYm9vbGVhblZhbHVlKCkpDQorICAgICAgICBpZiAodmVy
aWZ5ICYmIHZlcmlmaWVkLmdldChlbnRyeS5nZXROYW1lKCkpID09IEJvb2xlYW4uRkFMU0UpDQog
ICAgICAgICAgIHRocm93IG5ldyBaaXBFeGNlcHRpb24oImRpZ2VzdCBmb3IgIiArIGVudHJ5ICsg
IiBpcyBpbnZhbGlkIik7DQogICAgICAgICByZXR1cm4gc3VwZXIuZ2V0SW5wdXRTdHJlYW0oZW50
cnkpOw0KICAgICAgIH0NCg==

--=-wBkhcWkjg+o2N9andBeM--

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

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

iD8DBQBBj/12xVhZCJWr9QwRAiDiAJsHCjuADBduR7JDLZtxFfPtshjk9ACeNPDn
hiTcEW3W0tCVhiPkHqwa8pY=
=o7Uj
-----END PGP SIGNATURE-----

--=-NR0G0WptDIklxB3vYhCU--




From MAILER-DAEMON Mon Nov 08 21:04:47 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CRLNG-0006rk-Pc
	for mharc-classpath@gnu.org; Mon, 08 Nov 2004 21:04:46 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CRLNE-0006r6-MZ
	for classpath@gnu.org; Mon, 08 Nov 2004 21:04:44 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CRLND-0006qj-LE
	for classpath@gnu.org; Mon, 08 Nov 2004 21:04:43 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CRLND-0006qg-JS
	for classpath@gnu.org; Mon, 08 Nov 2004 21:04:43 -0500
Received: from [66.11.181.4] (helo=griffin.griffaction.ca)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1CRLEi-0005ZC-0R
	for classpath@gnu.org; Mon, 08 Nov 2004 20:55:58 -0500
Received: from glue.info.uqam.ca ([132.208.135.95])
	by griffin.griffaction.ca with esmtp (Exim 4.34 #1 (Debian))
	id 1CRLEg-0007th-LA
	for <classpath@gnu.org>; Mon, 08 Nov 2004 20:55:54 -0500
Received: from localhost ([127.0.0.1])
	by glue.info.uqam.ca with esmtp (Exim 4.34) id 1CRJAf-0002gO-2W
	for classpath@gnu.org; Mon, 08 Nov 2004 18:43:37 -0500
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: GNU Classpath <classpath@gnu.org>
Content-Type: text/plain
Organization: Debian http://www.debian.org - The Free Operating System
Message-Id: <1099965317.12038.147.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Mon, 08 Nov 2004 20:55:26 -0500
Content-Transfer-Encoding: 7bit
Subject: SableVM 1.1.7 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Nov 2004 02:04:45 -0000

The developers of the SableVM Project are proud to announce the
official release of SableVM 1.1.7.  SableVM is a liberally licensed
Free Java virtual machine.  See the "About SableVM" section below for
more informations about SableVM.

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

- Imported new GNU Classpath CVS snapshot as of Sun Oct 10 18:00:00
  UTC 2004.
- Added handling of Jar/Zip files on boot classpath (closes BUG:2).
- Provided user-friendly failure messages for bootstrap problems.  This
  should get rid of the hated "sablevm: cannot create vm".
- Allowed for multiple elements and prepending/appending to boot class
  path.
- Added --with-profiling switch to make most functions non-"static".
- Made sablevm-classpath install its files in more standard locations.
- Explicitely disallowed compilation of classpath with gcj or kjc (it
  never worked reliably).
- Made jikes and gcc be less verbose by default (to avoid confusion).
- Removed some obsolete code from various places.
- Added new Generational Garbage Collector ("experimental", available on
  request, by passing --with-gc=gencopy to configure).
- Made several bugfixes of:
  - JNI methods not returning NULL on errors (closes BUG:12).
  - IsInstanceOf always returning JNI_FALSE (closes BUG:63).
  - A copy&paste mistake in PopLocalFrame (closes BUG:62).
  - Several JNI methods not returning NULL on errors (closes BUG:12).
  - IsInstanceOf always returning JNI_FALSE (closes BUG:63).
  - "New array" memory allocation size overflow (closes BUG:8).
  - Out-of-source builds (closes BUG:55).
  - Handling of 'double' values on ARM.
  - FPU in 64-bit precision mode on Linux / Intel x86 (closes BUG:1).
  - F2L, F2I, D2L, D2I not checking for overflows (closes BUG:54).
  - SIGPIPE killing the VM (closes BUG:51).
  - GNU make detection on non-GNU/Linux platforms.
  - Case-insensitive grepping for "Main-Class:" string in MANIFEST.MF.


=== ABOUT SABLEVM ===

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

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

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

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

  http://sablevm.org/wiki/License_FAQ

The SableVM web site is located at:

  http://sablevm.org


=== INSTALLATION ===

SableVM is available to download from the following locations:

- http://sablevm.org/download/release/
- http://sourceforge.net/project/showfiles.php?group_id=5523 (Soon!)

You must download both:

- sablevm-1.1.7.tar.gz
- sablevm-classpath-1.1.7.tar.gz.

See the INSTALL file included in the sablevm-1.1.7.tar.gz archive for
build environment requirements and installation procedures.

We make frequent releases, but we also provide daily snapshots of our
"staging" development branch at:

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

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

  http://sablevm.org/wiki/Development_Branches


=== NOTES ===

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

  http://sablevm.org/support.html

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


=== BINARY PACKAGES ===

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

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


=== Additional Information ===

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

  http://sablevm.org/wiki/



=== CONCLUSION ===

We wish you great fun using SableVM.

Enjoy!


        The SableVM Project developers

-- 
Grzegorz B. Prokopski      <gadek@debian.org>  <gadek@sablevm.org>
Debian GNU/Linux           http://www.debian.org
SableVM - LGPL'ed Java VM  http://www.sablevm.org
Why SableVM ?!?            http://sablevm.org/wiki/Features





From MAILER-DAEMON Tue Nov 09 00:53:54 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CROx0-0003kf-72
	for mharc-classpath@gnu.org; Tue, 09 Nov 2004 00:53:54 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CROwx-0003jq-6q
	for classpath@gnu.org; Tue, 09 Nov 2004 00:53:51 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CROwu-0003iP-G9
	for classpath@gnu.org; Tue, 09 Nov 2004 00:53:48 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CROwu-0003hy-DS
	for classpath@gnu.org; Tue, 09 Nov 2004 00:53:48 -0500
Received: from [63.249.108.128] (helo=unmodern.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CROo9-0004P7-VX
	for classpath@gnu.org; Tue, 09 Nov 2004 00:44:46 -0500
Received: by unmodern.net (Postfix, from userid 1000)
	id 294893B; Mon,  8 Nov 2004 21:44:44 -0800 (PST)
To: Mark Wielaard <mark@klomp.org>
References: <200411081116.iA8BGAsc029075@wormtongue.watson.ibm.com>
	<418FF72D.5060302@watson.ibm.com>
	<1099955574.4388.45.camel@localhost.localdomain>
From: Casey Marshall <csm@gnu.org>
Date: Mon, 08 Nov 2004 21:44:44 -0800
In-Reply-To: <1099955574.4388.45.camel@localhost.localdomain> (Mark
	Wielaard's message of "Tue, 09 Nov 2004 00:12:54 +0100")
Message-ID: <87654fpodv.fsf@gnu.org>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Cc: Steven Augart <augart@watson.ibm.com>,
	jikesrvm-regression@www-124.southbury.usf.ibm.com, classpath@gnu.org
Subject: Re: [Jikesrvm-regression] classpath CVS head regression FAILED 4
 tests;       0 mauve failures
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Nov 2004 05:53:51 -0000

--=-=-=

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

Mark> Hi,
Mark> On Mon, 2004-11-08 at 23:46, Steven Augart wrote:
>> >  development: Failed in SPECjbb2000
>> Another new problem, this time during class loading.  I'm CC'ing
>> this to the classpath list, since it probably points to a problem
>> in Classpath CVS head.
>> 
>> at java.util.jar.JarFile.verify(JarFile.java:669)
>> at java.util.jar.JarFile.readSignatures(JarFile.java:561)
>> at java.util.jar.JarFile.getEntry(JarFile.java:406)
>> at java.util.jar.JarFile.getJarEntry(JarFile.java:475)

Mark> I was just hunting this one down.
Mark> Attached is my first attempt.

Unfortunately, this is a different bug :(

The code checks if the signature file identifier is DSA or RSA, but
unfortunately leaves the Signature object 'null' if it is
neither. Which is odd; Steven, is this Jar file signed? Any chance I
could get some info about it, if it is? Like what algorithm signed it?

I'll check in the attached patch that fixes this.

Mark> It makes sure to not check the verified Map when the jar file is
Mark> explicitly opened with verify set to false. It also just
Mark> compares the value in the Map to Boolean.TRUE or Boolean.FALSE.

Mark> I am still thinking about synchronization issues.  It looks like
Mark> we need to be more careful about synchronization when
Mark> manipulating/reading the verified Map since a JarFile can
Mark> probably be accessed from multiple threads at once.

Eek, yeah, I didn't consider synchronization.

-- 
Casey Marshall || csm@gnu.org

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=jarfile.patch

Index: java/util/jar/JarFile.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/jar/JarFile.java,v
retrieving revision 1.12
diff -u -B -b -r1.12 JarFile.java
--- java/util/jar/JarFile.java	7 Nov 2004 22:04:57 -0000	1.12
+++ java/util/jar/JarFile.java	9 Nov 2004 05:18:43 -0000
@@ -643,6 +643,12 @@
             else
               return;
           }
+	else
+	  {
+	    if (DEBUG)
+	      debug("unsupported signature algorithm: " + alg);
+	    return;
+	  }
       }
     catch (NoSuchAlgorithmException nsae)
       {

--=-=-=--



From MAILER-DAEMON Tue Nov 09 03:39:46 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CRRXW-0008DW-5W
	for mharc-classpath@gnu.org; Tue, 09 Nov 2004 03:39:46 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CRRXT-0008DC-HK
	for classpath@gnu.org; Tue, 09 Nov 2004 03:39:43 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CRRXS-0008Cl-6Z
	for classpath@gnu.org; Tue, 09 Nov 2004 03:39:42 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CRRXS-0008CV-1c
	for classpath@gnu.org; Tue, 09 Nov 2004 03:39:42 -0500
Received: from [212.6.122.10] (helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CRROo-00004u-Uk
	for classpath@gnu.org; Tue, 09 Nov 2004 03:30:47 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-93-195.ewetel.net
	[80.228.93.195])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id iA98UKG5016635;
	Tue, 9 Nov 2004 09:30:21 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CRSMD-0002hE-Rn; Tue, 09 Nov 2004 10:32:09 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Tue, 9 Nov 2004 10:31:23 +0100
User-Agent: KMail/1.6.2
References: <418CB7EC.3070805@prangsma.net>
In-Reply-To: <418CB7EC.3070805@prangsma.net>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411091031.23454.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: NIO ByteBuffer & VM independence
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Nov 2004 08:39:44 -0000

Am Samstag, 6. November 2004 12:39 schrieb Ewout Prangsma:
> Hi all,
>
> Would it be possible to introduce a new VM specific class in the
> java.nio package that delegates all the static allocate,
> allocateDirect & wrap methods of ByteBuffer to their specific
> implementation?
>
> I think it should be easy to implement but would allow much greater
> freedom in how VM's want to implement it.

Yeah, I have thought about this and it should be pretty easy. Please 
wait for a patch commited in some days.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Tue Nov 09 03:52:47 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CRRk7-0002h8-DQ
	for mharc-classpath@gnu.org; Tue, 09 Nov 2004 03:52:47 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CRRk5-0002fq-DX
	for classpath@gnu.org; Tue, 09 Nov 2004 03:52:45 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CRRk3-0002f6-Gk
	for classpath@gnu.org; Tue, 09 Nov 2004 03:52:43 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CRRk3-0002f0-7E
	for classpath@gnu.org; Tue, 09 Nov 2004 03:52:43 -0500
Received: from [195.121.6.54] (helo=smtp15.wxs.nl)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CRRbQ-00036z-17
	for classpath@gnu.org; Tue, 09 Nov 2004 03:43:48 -0500
Received: from [192.168.253.96] (ip3e83476c.speed.planet.nl [62.131.71.108])
	by smtp15.wxs.nl
	(iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with
	ESMTP id <0I6W0005MLKRNB@smtp15.wxs.nl> for classpath@gnu.org; Tue,
	09 Nov 2004 09:43:43 +0100 (CET)
Date: Tue, 09 Nov 2004 09:43:39 +0100
From: Ewout Prangsma <ewout@prangsma.net>
In-reply-to: <200411091031.23454.konqueror@gmx.de>
To: Michael Koch <konqueror@gmx.de>
Message-id: <4190833B.9010300@prangsma.net>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)
References: <418CB7EC.3070805@prangsma.net>
	<200411091031.23454.konqueror@gmx.de>
Cc: classpath@gnu.org
Subject: Re: NIO ByteBuffer & VM independence
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Nov 2004 08:52:45 -0000

Great,

I'll stay tuned and hope to use it in JNode asap.

Ewout

>Am Samstag, 6. November 2004 12:39 schrieb Ewout Prangsma:
>  
>
>>Hi all,
>>
>>Would it be possible to introduce a new VM specific class in the
>>java.nio package that delegates all the static allocate,
>>allocateDirect & wrap methods of ByteBuffer to their specific
>>implementation?
>>
>>I think it should be easy to implement but would allow much greater
>>freedom in how VM's want to implement it.
>>    
>>
>
>Yeah, I have thought about this and it should be pretty easy. Please 
>wait for a patch commited in some days.
>
>
>Michael
>  
>




From MAILER-DAEMON Tue Nov 09 05:19:56 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CRT6S-0008Tl-EU
	for mharc-classpath@gnu.org; Tue, 09 Nov 2004 05:19:56 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CRSt9-00065V-Vd
	for classpath@gnu.org; Tue, 09 Nov 2004 05:06:12 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CRSt9-000655-BK
	for classpath@gnu.org; Tue, 09 Nov 2004 05:06:11 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CRSt9-00064u-6u
	for classpath@gnu.org; Tue, 09 Nov 2004 05:06:11 -0500
Received: from [212.186.60.145] (helo=localhost.localdomain)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CRSkU-0003Kg-7y
	for classpath@gnu.org; Tue, 09 Nov 2004 04:57:14 -0500
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by localhost.localdomain (8.13.1/8.13.1/Debian-15.0.0.1.amd64) with
	ESMTP id iA99vBTG008445; Tue, 9 Nov 2004 10:57:11 +0100
Received: (from twisti@localhost)
	by localhost.localdomain (8.13.1/8.13.1/Submit) id iA99vBES008444;
	Tue, 9 Nov 2004 10:57:11 +0100
X-Authentication-Warning: localhost.localdomain: twisti set sender to
	twisti@complang.tuwien.ac.at using -f
Date: Tue, 9 Nov 2004 10:57:11 +0100
From: Christian Thalinger <twisti@complang.tuwien.ac.at>
To: Mark Wielaard <mark@klomp.org>
Message-ID: <20041109095711.GA8328@localhost.localdomain>
References: <20041108161842.GE6695@localhost.localdomain>
	<1099942835.4388.22.camel@localhost.localdomain>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1099942835.4388.22.camel@localhost.localdomain>
User-Agent: Mutt/1.5.6+20040907i
X-Mailman-Approved-At: Tue, 09 Nov 2004 05:19:54 -0500
Cc: classpath@gnu.org
Subject: Re: libtool problem with mipspro on irix
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Nov 2004 10:06:12 -0000

On Mon, Nov 08, 2004 at 08:40:36PM +0100, Mark Wielaard wrote:
> If you think it is depcomp, could you try to replace it with the version
> of 0.09 (if they are actually different).

0.09 and 0.11 version is the same but i'm also unable to compile the
vanilla 0.11 version, since i have a bit newer version of depcomp in my
tree.

> In CVS I have simplified the native/jni/java-lang/Makefile.am a little.
> But I don't know if this will help you.

Tried this one, but does not make any difference.

Without using the 2 lines depcomp stuff, in the PIC compilation 
`java_lang_VMSystem.o' is generated and then moved to 
`.libs/libjavalang_la-java_lang_VMSystem.o'.
In the second compilation again `java_lang_VMSystem.o' is generated and
then moved to `libjavalang_la-java_lang_VMSystem.o'.

Seems quite correct. So, why using depcomp at all? I'm currently checking 
what depcomp does on sgi systems.

TWISTI



From MAILER-DAEMON Tue Nov 09 06:42:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CRUOh-0002hA-NW
	for mharc-classpath@gnu.org; Tue, 09 Nov 2004 06:42:51 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CRUOf-0002gW-66
	for classpath@gnu.org; Tue, 09 Nov 2004 06:42:49 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CRUOe-0002g7-CX
	for classpath@gnu.org; Tue, 09 Nov 2004 06:42:48 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CRUOe-0002fl-7S
	for classpath@gnu.org; Tue, 09 Nov 2004 06:42:48 -0500
Received: from [195.121.6.27] (helo=smtp13.wxs.nl)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CRUFS-0000wL-5n
	for classpath@gnu.org; Tue, 09 Nov 2004 06:33:18 -0500
Received: from [192.168.253.96] (ip3e83476c.speed.planet.nl [62.131.71.108])
	by smtp13.wxs.nl
	(iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with
	ESMTP id <0I6W00AGLTFHDB@smtp13.wxs.nl> for classpath@gnu.org; Tue,
	09 Nov 2004 12:33:17 +0100 (CET)
Date: Tue, 09 Nov 2004 12:33:17 +0100
From: Ewout Prangsma <ewout@prangsma.net>
To: classpath@gnu.org
Message-id: <4190AAFD.1010102@prangsma.net>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)
Subject: AWT & Swing screenshots
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Nov 2004 11:42:49 -0000

Hi all,

In JNode we now have an AWT based on peers implemented using classpath's 
Swing implementation.
We have some nice screenshots of Tetris and a BoxWorld game on our website.
See http://jnode.sourceforge.net/portal/node/132

Regards
Ewout



From MAILER-DAEMON Tue Nov 09 18:04:17 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CRf29-0008L9-Lw
	for mharc-classpath@gnu.org; Tue, 09 Nov 2004 18:04:17 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CRf27-0008Ks-Ag
	for classpath@gnu.org; Tue, 09 Nov 2004 18:04:15 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CRf26-0008KV-L1
	for classpath@gnu.org; Tue, 09 Nov 2004 18:04:14 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CRf25-0008KS-5a
	for classpath@gnu.org; Tue, 09 Nov 2004 18:04:14 -0500
Received: from [66.11.181.4] (helo=griffin.griffaction.ca)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1CRetd-00016a-In
	for classpath@gnu.org; Tue, 09 Nov 2004 17:55:29 -0500
Received: from glue.info.uqam.ca ([132.208.135.95])
	by griffin.griffaction.ca with esmtp (Exim 4.34 #1 (Debian))
	id 1CRetc-0002BG-7x
	for <classpath@gnu.org>; Tue, 09 Nov 2004 17:55:28 -0500
Received: from localhost ([127.0.0.1])
	by glue.info.uqam.ca with esmtp (Exim 4.34) id 1CRcoA-0006RQ-Un
	for classpath@gnu.org; Tue, 09 Nov 2004 15:41:43 -0500
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: GNU Classpath <classpath@gnu.org>
Content-Type: multipart/mixed; boundary="=-9YSmklANmc9a83DTKaAd"
Organization: Debian http://www.debian.org - The Free Operating System
Message-Id: <1100040899.12038.233.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Tue, 09 Nov 2004 17:55:00 -0500
Subject: Using -revision instead of 0:0:0 hack
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Nov 2004 23:04:15 -0000


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

Hi all,

I attached a patch that illustrates how we use the -revision switch of
libtool to say we don't provide a stable binary interface, instead of
hardcoded 0:0:0, as it's done currently in gnu cp.  Short story is:
-revision does exactly the thing that 0:0:0 hack is supposed to do.

What you pass to -revision is another story.  We pass Subversion
revision number, but you may pass adequate CVS rev. no, or just stick
to "0.11+cvs" string.  Every such solution is better than 0:0:0 hack.

I'll let Michael handle it further, as we discussed the issue broadly on
IRC long time ago (and I was actully sure it was already included in GNU
CP).

HTH

			Grzegorz B. Prokopski

-- 
Grzegorz B. Prokopski      <gadek@debian.org>
Debian GNU/Linux           http://www.debian.org
SableVM - LGPL'ed Java VM  http://www.sablevm.org
Why SableVM ?!?            http://sablevm.org/wiki/Features


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

Index: configure.ac
===================================================================
--- configure.ac	(.../vendor/current/configure.ac)	(revision 3037)
+++ configure.ac	(.../branches/staging/configure.ac)	(revision 3037)
@@ -6,11 +10,13 @@
 dnl define([AC_CACHE_LOAD], )dnl
 dnl define([AC_CACHE_SAVE], )dnl
 
-AC_INIT([GNU Classpath],[0.11+cvs],[classpath@gnu.org],[classpath])
+AC_INIT([sablevm-classpath], [staging+]esyscmd([svn info | grep ^Revision: | awk '{print $2}' | head -n 1 | xargs echo -n]), [http://www.sablevm.org/])
 AC_CONFIG_SRCDIR(java/lang/System.java)
 
 AC_CANONICAL_TARGET
 
+AC_SUBST(LIBRELEASE, ["]AC_PACKAGE_VERSION["])
+
 dnl -----------------------------------------------------------
 dnl Fold all IA-32 CPU architectures into "x86"
 dnl -----------------------------------------------------------
@@ -20,15 +26,39 @@
 dnl We will not track/change lib version until we reach version 1.0
 dnl at which time we'll have to be more anal about such things
 dnl -----------------------------------------------------------
-AC_SUBST(LIBVERSION, "0:0:0")
-CLASSPATH_MODULE="-module -version-info ${LIBVERSION} -no-undefined"
+CLASSPATH_MODULE="-module -release ${LIBRELEASE}"
 AC_SUBST(CLASSPATH_MODULE)
 
 AC_PREREQ(2.59)

--=-9YSmklANmc9a83DTKaAd--




From MAILER-DAEMON Wed Nov 10 09:57:49 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CRtuv-00038F-JM
	for mharc-classpath@gnu.org; Wed, 10 Nov 2004 09:57:49 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CRtut-00037Z-P8
	for classpath@gnu.org; Wed, 10 Nov 2004 09:57:47 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CRtus-000372-UR
	for classpath@gnu.org; Wed, 10 Nov 2004 09:57:47 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CRtus-00036z-SF
	for classpath@gnu.org; Wed, 10 Nov 2004 09:57:46 -0500
Received: from [212.6.122.10] (helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CRtmL-0005yh-Qv
	for classpath@gnu.org; Wed, 10 Nov 2004 09:48:58 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-93-134.ewetel.net
	[80.228.93.134])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id iAAEmmG5006606;
	Wed, 10 Nov 2004 15:48:48 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CRuk7-00053T-MI; Wed, 10 Nov 2004 16:50:43 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Wed, 10 Nov 2004 16:49:47 +0100
User-Agent: KMail/1.6.2
References: <1100040899.12038.233.camel@localhost.localdomain>
In-Reply-To: <1100040899.12038.233.camel@localhost.localdomain>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Multipart/Mixed;
  boundary="Boundary-00=_bijkBBKM6IOUeIQ"
Message-Id: <200411101649.47615.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: Using -revision instead of 0:0:0 hack
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Nov 2004 14:57:48 -0000


--Boundary-00=_bijkBBKM6IOUeIQ
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Am Dienstag, 9. November 2004 23:55 schrieb Grzegorz B. Prokopski:
> Hi all,
>
> I attached a patch that illustrates how we use the -revision switch
> of libtool to say we don't provide a stable binary interface,
> instead of hardcoded 0:0:0, as it's done currently in gnu cp. 
> Short story is: -revision does exactly the thing that 0:0:0 hack is
> supposed to do.
>
> What you pass to -revision is another story.  We pass Subversion
> revision number, but you may pass adequate CVS rev. no, or just
> stick to "0.11+cvs" string.  Every such solution is better than
> 0:0:0 hack.
>
> I'll let Michael handle it further, as we discussed the issue
> broadly on IRC long time ago (and I was actully sure it was already
> included in GNU CP).

I wrote the attached patch to resolve this issue. Everybody okay with 
it ?


Michael


2004-11-10  Michael Koch  <konqueror@gmx.de>

 * configure.ac: Use -release instead of -version-info for libtool.
-- 
Homepage: http://www.worldforge.org/

--Boundary-00=_bijkBBKM6IOUeIQ
Content-Type: text/x-diff;
  charset="iso-8859-15";
  name="libversion.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="libversion.diff"

Index: configure.ac
===================================================================
RCS file: /cvsroot/classpath/classpath/configure.ac,v
retrieving revision 1.55
diff -u -r1.55 configure.ac
--- configure.ac	26 Oct 2004 20:26:03 -0000	1.55
+++ configure.ac	10 Nov 2004 14:49:18 -0000
@@ -20,8 +20,7 @@
 dnl We will not track/change lib version until we reach version 1.0
 dnl at which time we'll have to be more anal about such things
 dnl -----------------------------------------------------------
-AC_SUBST(LIBVERSION, "0:0:0")
-CLASSPATH_MODULE="-module -version-info ${LIBVERSION} -no-undefined"
+CLASSPATH_MODULE="-module -release ${PACKAGE_VERSION} -no-undefined"
 AC_SUBST(CLASSPATH_MODULE)
 
 AC_PREREQ(2.59)

--Boundary-00=_bijkBBKM6IOUeIQ--



From MAILER-DAEMON Wed Nov 10 11:31:12 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CRvNI-0006Hu-Rc
	for mharc-classpath@gnu.org; Wed, 10 Nov 2004 11:31:12 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CRvNG-0006Hj-Nq
	for classpath@gnu.org; Wed, 10 Nov 2004 11:31:10 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CRvNG-0006HP-41
	for classpath@gnu.org; Wed, 10 Nov 2004 11:31:10 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CRvNG-0006HF-0s
	for classpath@gnu.org; Wed, 10 Nov 2004 11:31:10 -0500
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CRvDN-0005fv-Cn
	for classpath@gnu.org; Wed, 10 Nov 2004 11:20:57 -0500
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iAAGKtql011549;
	Wed, 10 Nov 2004 11:20:55 -0500
Received: from opsy.redhat.com (vpn50-49.rdu.redhat.com [172.16.50.49])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iAAGKnr11619; 
	Wed, 10 Nov 2004 11:20:50 -0500
Received: by opsy.redhat.com (Postfix, from userid 500)
	id BBCE72DC227; Wed, 10 Nov 2004 09:19:12 -0700 (MST)
Sender: tromey@redhat.com
To: "Grzegorz B. Prokopski" <gadek@debian.org>
References: <1100040899.12038.233.camel@localhost.localdomain>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 10 Nov 2004 09:19:12 -0700
In-Reply-To: <1100040899.12038.233.camel@localhost.localdomain>
Message-ID: <m37jotisn3.fsf@localhost.localdomain>
Lines: 21
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Using -revision instead of 0:0:0 hack
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Nov 2004 16:31:11 -0000

>>>>> ">" == Grzegorz B Prokopski <gadek@debian.org> writes:

>> I attached a patch that illustrates how we use the -revision switch of
>> libtool to say we don't provide a stable binary interface, instead of
>> hardcoded 0:0:0, as it's done currently in gnu cp.

My first reaction was to think that maybe we'd want to someday make a
binary compatible release.

But then it occurred to me that the libraries are purely internal, and
even if we do some "pure java bug fix" point release of Classpath,
distros would probably still end up rebuilding the native code along
with everything else.  Also, packages besides Classpath should never
be using these libraries.

So, I think in our case -release makes sense.  In fact, I'd say we
should go one step further and write something like this everywhere:

    System.loadLibrary("whatever-" + Configuration.LIBRARY_VERSION);

Tom



From MAILER-DAEMON Wed Nov 10 16:24:43 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CRzxK-0003DU-SX
	for mharc-classpath@gnu.org; Wed, 10 Nov 2004 16:24:42 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CRzxI-0003Ch-JB
	for classpath@gnu.org; Wed, 10 Nov 2004 16:24:40 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CRzxH-0003CH-QC
	for classpath@gnu.org; Wed, 10 Nov 2004 16:24:40 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CRzxH-0003CE-Mk
	for classpath@gnu.org; Wed, 10 Nov 2004 16:24:39 -0500
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CRzo9-0001ux-5q
	for classpath@gnu.org; Wed, 10 Nov 2004 16:15:13 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CRznY-0007eX-00
	for <classpath@gnu.org>; Wed, 10 Nov 2004 22:14:36 +0100
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-ukDcitAfXaPGTLgY3Y/S"
Message-Id: <1100121333.20858.68.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Wed, 10 Nov 2004 22:15:33 +0100
Subject: GNU Classpath 0.12, ..., 1.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Nov 2004 21:24:40 -0000


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

Hi all,

I wanted to do a new release last weekend. But that weekend there was a
lot of new code merged from libgcj, build fixes, new bean code, image
code, classloader updates, file name normalization updates, new X.509
certificate (path checking) code and signed jar entries support...
That should teach me not to be clear on when the new release will be.
But thanks a lot for all the hard work
As always the amount of work done in just 2 months is amazing.

We do now have a few small regressions however. There is something wrong
with zip/jar archives on the classpath (this might or might not be a GNU
Classpath issue, we changed the VM interface subtly so maybe it is a
runtime issue). Opening a JarFile with 'verify' set to false  breaks
(and is not thread-safe) [I have a fix for that].
RepaintManager.paintDirtyRegions() seems broken [saw a fix for that in
libgcj gui branch]. And at least with jamvm Eclipse 3 starts up, but
crashes immediately after that [it did work correctly 2 weeks ago].

I want to try to make the 0.12 release with all the great new stuff on
Friday (Nov 12). But then we need to focus on fixing the regressions. If
you have larger updates, please discuss on the mailinglist (or
irc.gnu.org #classpath) first before committing.

The (ambitious) goal is still to have a 1.0 release before (or around)
Fosdem (Brussels, 26/27 February 2005). For this we will have to make
choices what we actually feel can be stable, clean and well documented
enough to support as 1.0 stable release that other free software hackers
can use to build new software around, and that supports existing free
software programs that we think are important to support with a 1.0
release.

To focus more on working towards a 1.0 I want to start to make monthly
releases. 0.13 start of December, 0.14 start of January and 0.15 start
of February. The 0.13 release will be the cut-off date for new
packages/classes (we will finally include GNU JAXP by then), 0.14 is
when we will select which packages are 1.0 material and which are either
dropped or moved into beta status (shipped with 1.0, but not
supported/finalized) and 0.15 will be the release-candidate-1 which
should be just perfect.

Also the FSF wants to have your feedback on the current license
(exception) statement we are using. For the 1.0 release we would like to
make sure there is no confusion about the terms. And it seems that there
still is some around the "independent module" term introduced in the
last clarification. If you feel that the current text is not clear
enough you are invited to comment on the wiki that the FSF has setup:
http://wiki.novalis.org/moin.cgi/FrontPage

Hope you like the plan. And if not, please just reply to this email with
a counter proposal that will get us a solid 1.0 release.

Cheers,

Mark

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

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

iD8DBQBBkoT1xVhZCJWr9QwRAnkLAJ924sFcnDGyGR13506bzgl/0QGsKACeIn6j
AYYeW1+2qkT7kV/602v5cnQ=
=vAzy
-----END PGP SIGNATURE-----

--=-ukDcitAfXaPGTLgY3Y/S--




From MAILER-DAEMON Wed Nov 10 16:48:42 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CS0KX-0000ur-Ri
	for mharc-classpath@gnu.org; Wed, 10 Nov 2004 16:48:41 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CS0KW-0000ul-5R
	for classpath@gnu.org; Wed, 10 Nov 2004 16:48:40 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CS0KV-0000uZ-Om
	for classpath@gnu.org; Wed, 10 Nov 2004 16:48:39 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CS0KV-0000uW-Jo
	for classpath@gnu.org; Wed, 10 Nov 2004 16:48:39 -0500
Received: from [209.152.205.226] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CS0Bw-00068k-7J
	for classpath@gnu.org; Wed, 10 Nov 2004 16:39:48 -0500
Received: from [192.168.160.201] ([192.168.160.201]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.211); 
	Wed, 10 Nov 2004 16:43:12 -0500
Message-ID: <41928A9D.5000900@netreach.com>
Date: Wed, 10 Nov 2004 16:39:41 -0500
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040926)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <1100121333.20858.68.camel@localhost.localdomain>
In-Reply-To: <1100121333.20858.68.camel@localhost.localdomain>
X-Enigmail-Version: 0.86.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 10 Nov 2004 21:43:12.0713 (UTC)
	FILETIME=[4724A390:01C4C76E]
Cc: classpath <classpath@gnu.org>
Subject: Re: GNU Classpath 0.12, ..., 1.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Nov 2004 21:48:40 -0000

[forgot to CC the list on this first time around]

Mark Wielaard wrote:
> To focus more on working towards a 1.0 I want to start to make monthly
> releases. 0.13 start of December, 0.14 start of January and 0.15 start
> of February. The 0.13 release will be the cut-off date for new
> packages/classes (we will finally include GNU JAXP by then), 0.14 is

Just to give those of us on the "outside" a better picture, what are the
roadblocks to including JAXP that cause it to be scheduled so far away?
My personal interest, beyond the obvious (seeing Free Java be as good as
it can be), is in seeing the japitools results be an accurate reflection
of what the actual state of Free Java is.

Currently libgcj's japi file includes Apache's JAXP implementation and
JacORB's CORBA packages. Kaffe provides a file that includes JAXP from
somewhere (I don't know where), JacORB and Tritonus for sound. Classpath
doesn't provide any of these APIs but does seem to do somewhat better as
far as the "greenness" of the APIs it does support. Thus none of the
japi results available right now give a true picture of how close we
really are. (Kaffe+JacORB is closest and amazingly indicates 80% of 1.4!)

I'd like for Classpath 1.0 to include as much of the core API as is
available in Free implementations: Classpath, IMHO, should be a "one
stop shop" for an implementation of the Java Platform APIs. So in my
opinion (for what little it's worth) getting JAXP integrated and seeing
if there's any way to integrate Tritonus and some Free CORBA
implementation are all highly desirable goals for 1.0.

Stuart.

-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Wed Nov 10 18:20:42 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CS1la-0004Kw-27
	for mharc-classpath@gnu.org; Wed, 10 Nov 2004 18:20:42 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CS1lY-0004Ka-Lk
	for classpath@gnu.org; Wed, 10 Nov 2004 18:20:40 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CS1lY-0004KO-8d
	for classpath@gnu.org; Wed, 10 Nov 2004 18:20:40 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CS1lY-0004KL-6i
	for classpath@gnu.org; Wed, 10 Nov 2004 18:20:40 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CS1d1-0004HI-IP
	for classpath@gnu.org; Wed, 10 Nov 2004 18:11:51 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	iAANBe768994; Wed, 10 Nov 2004 18:11:40 -0500
Received: from sp1n293en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with
	ESMTP id iAANBdk59026; Wed, 10 Nov 2004 18:11:40 -0500
Received: from bilbo.watson.ibm.com (bilbo.watson.ibm.com [9.2.32.197])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with
	ESMTP id iAANBc251272; Wed, 10 Nov 2004 18:11:38 -0500
Received: (from augart@localhost)
	by bilbo.watson.ibm.com (8.11.6/8.11.6/2001/12/13) id iAANBOW18813;
	Wed, 10 Nov 2004 18:11:24 -0500
Date: Wed, 10 Nov 2004 18:11:24 -0500
Message-Id: <200411102311.iAANBOW18813@bilbo.watson.ibm.com>
From: Steven Augart <augart@watson.ibm.com>
To: classpath@gnu.org, jeroen@frijters.net
Cc: jikesrvm-core@www-124.southbury.usf.ibm.com
Subject: java.lang.System changes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Nov 2004 23:20:40 -0000

Classpath's java.lang.System was changed yesterday so that
initializing that class now depends upon
VMClassLoader.getSystemClassLoader() being able to return a working
class loader.

Unfortunately, Jikes RVM's system class loader is based upon
Classpath's java.lang.URLClassLoader.  java.lang.URLClassLoader
requires java.lang.URL to be initialized.  And java.lang.URL, in
*its* initialization, makes a call to
java.lang.System.getProperty().   Which needs java.lang.System to be
initialized. 

The only way that I can make Jikes RVM work with this new dependency
is to give up on using Classpath's java.net.URLClassLoader as the base
for our system and application class loader implementation.

If someone knows of a significantly better class for us to use as a
base, I could probably be convinced to do some revision.  But this
change keeps us from working with Classpath CVS head right now.

--Steve Augart



From MAILER-DAEMON Wed Nov 10 20:24:14 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CS3h8-000198-3I
	for mharc-classpath@gnu.org; Wed, 10 Nov 2004 20:24:14 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CS3h6-00018u-GE
	for classpath@gnu.org; Wed, 10 Nov 2004 20:24:12 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CS3h6-00018i-1v
	for classpath@gnu.org; Wed, 10 Nov 2004 20:24:12 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CS3h5-00018f-UU
	for classpath@gnu.org; Wed, 10 Nov 2004 20:24:12 -0500
Received: from [209.225.28.227] (helo=mxsf27.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CS3YK-0007FH-5n
	for classpath@gnu.org; Wed, 10 Nov 2004 20:15:08 -0500
Received: from mxip16.cluster1.charter.net (mxip16a.cluster1.charter.net
	[209.225.28.146])
	by mxsf27.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	iAB1F6gb021767
	for <classpath@gnu.org>; Wed, 10 Nov 2004 20:15:06 -0500
Received: from cable-68-113-94-164.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.94.164)
	by mxip16.cluster1.charter.net with ESMTP; 10 Nov 2004 20:15:05 -0500
X-Ironport-AV: i="3.86,135,1096862400"; 
	d="scan'208"; a="555898358:sNHT13047184"
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id TAA00258;
	Wed, 10 Nov 2004 19:03:19 -0600 (CST)
Received: from arch20m.dellroad.org (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id iAB13If1000609; 
	Wed, 10 Nov 2004 19:03:18 -0600 (CST)
	(envelope-from archie@arch20m.dellroad.org)
Received: (from archie@localhost)
	by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id iAB13HK6000608;
	Wed, 10 Nov 2004 19:03:17 -0600 (CST) (envelope-from archie)
From: Archie Cobbs <archie@dellroad.org>
Message-Id: <200411110103.iAB13HK6000608@arch20m.dellroad.org>
In-Reply-To: <200411102311.iAANBOW18813@bilbo.watson.ibm.com>
To: Steven Augart <augart@watson.ibm.com>
Date: Wed, 10 Nov 2004 19:03:17 -0600 (CST)
X-Mailer: ELM [version 2.4ME+ PL99b (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
Cc: jeroen@frijters.net, classpath@gnu.org
Subject: Re: java.lang.System changes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Nov 2004 01:24:12 -0000

Steven Augart wrote:
> Classpath's java.lang.System was changed yesterday so that
> initializing that class now depends upon
> VMClassLoader.getSystemClassLoader() being able to return a working
> class loader.
> 
> Unfortunately, Jikes RVM's system class loader is based upon
> Classpath's java.lang.URLClassLoader.  java.lang.URLClassLoader
> requires java.lang.URL to be initialized.  And java.lang.URL, in
> *its* initialization, makes a call to
> java.lang.System.getProperty().   Which needs java.lang.System to be
> initialized. 

Just curious.. what is the actual problem you're seeing? It looks like
VMClassLoader.getSystemClassLoader() is invoked after System.properties
is created, so System.getProperty() should work when URL uses it.. ?
I haven't actually tried this so I'm likely just missing something.

-Archie

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



From MAILER-DAEMON Wed Nov 10 23:10:41 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CS6ID-0006Bj-DK
	for mharc-classpath@gnu.org; Wed, 10 Nov 2004 23:10:41 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CS6IB-00069J-21
	for classpath@gnu.org; Wed, 10 Nov 2004 23:10:39 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CS6IA-00068o-5f
	for classpath@gnu.org; Wed, 10 Nov 2004 23:10:38 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CS6IA-00068g-2E
	for classpath@gnu.org; Wed, 10 Nov 2004 23:10:38 -0500
Received: from [66.11.181.4] (helo=griffin.griffaction.ca)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1CS68l-0006Ju-7z
	for classpath@gnu.org; Wed, 10 Nov 2004 23:00:55 -0500
Received: from glue.info.uqam.ca ([132.208.135.95])
	by griffin.griffaction.ca with esmtp (Exim 4.34 #1 (Debian))
	id 1CS68j-00063j-Hq; Wed, 10 Nov 2004 23:00:53 -0500
Received: from localhost ([127.0.0.1])
	by glue.info.uqam.ca with esmtp (Exim 4.34)
	id 1CS41K-0006Xg-Ic; Wed, 10 Nov 2004 20:45:06 -0500
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1100121333.20858.68.camel@localhost.localdomain>
References: <1100121333.20858.68.camel@localhost.localdomain>
Content-Type: text/plain
Organization: Debian http://www.debian.org - The Free Operating System
Message-Id: <1100145617.12038.414.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Wed, 10 Nov 2004 23:00:26 -0500
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: GNU Classpath 0.12, ..., 1.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Nov 2004 04:10:39 -0000

On Wed, 2004-11-10 at 16:15, Mark Wielaard wrote:
> We do now have a few small regressions however. There is something wrong
> with zip/jar archives on the classpath (this might or might not be a GNU
> Classpath issue, we changed the VM interface subtly so maybe it is a
> runtime issue). Opening a JarFile with 'verify' set to false  breaks
> (and is not thread-safe) [I have a fix for that].

I've been merging latest GNU CP CVS into SableVM's "staging" branch.
Previously we used gnu.java.lang.SystemClassLoader, but after reading
"Java Security" I realized we should be using URLClassLoader! (and was
going to look into fixing that anyway) So I am quite happy with the
changes in ClassLoader, which make us use the proper URLClassLoader.

I like it, altough I only ran simple HelloWorld, because running
a program that requires i.e. ressources (loaded from .jar) gives me:

java.lang.ExceptionInInitializerError
   at java.lang.Class.initialize (Class.java:159)
   at gnu.regexp.RESyntax.static{} (RESyntax.java:57)
   at java.lang.VMClass.step8 (VMClass.java)
   at java.lang.Class.initialize (Class.java:145)
   at java.util.regex.Pattern.Pattern (Pattern.java:88)
   at java.util.regex.Pattern.compile (Pattern.java:144)
   at java.util.regex.Pattern.compile (Pattern.java:126)
   at java.lang.String.split (String.java:1237)
   at HelloResources.main (HelloResources.java:7)
   at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
   at java.lang.VirtualMachine.main (VirtualMachine.java:92)
Caused by: java.lang.NullPointerException
   at java.util.jar.JarFile.getInputStream (JarFile.java:458)
   at gnu.java.net.protocol.jar.Connection.getInputStream
(Connection.java:163)
   at java.net.URL.openStream (URL.java:683)
   at java.lang.ClassLoader.getSystemResourceAsStream
(ClassLoader.java:932)
   at java.util.ResourceBundle.tryBundle (ResourceBundle.java:529)
   at java.util.ResourceBundle.getBundle (ResourceBundle.java:414)
   at java.util.ResourceBundle.getBundle (ResourceBundle.java:287)
   at gnu.regexp.RE.static{} (RE.java:126)
   at java.lang.VMClass.step8 (VMClass.java)
   at java.lang.Class.initialize (Class.java:145)
   ...10 more

So, if you have a fix for that, could you please post it or check in?
Robilad told me he has the same kind of issue with Kaffe as we have with
SableVM after the merge.

Thanks,

			Grzegorz B. Prokopski

-- 
Grzegorz B. Prokopski      <gadek@debian.org>
Debian GNU/Linux           http://www.debian.org
SableVM - LGPL'ed Java VM  http://www.sablevm.org
Why SableVM ?!?            http://sablevm.org/wiki/Features





From MAILER-DAEMON Thu Nov 11 00:45:41 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CS7m9-0005Uj-M5
	for mharc-classpath@gnu.org; Thu, 11 Nov 2004 00:45:41 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CS7m7-0005UP-EO
	for classpath@gnu.org; Thu, 11 Nov 2004 00:45:39 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CS7m6-0005UA-Ua
	for classpath@gnu.org; Thu, 11 Nov 2004 00:45:39 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CS7m6-0005U7-RG
	for classpath@gnu.org; Thu, 11 Nov 2004 00:45:38 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CS7dX-0003Dd-KW
	for classpath@gnu.org; Thu, 11 Nov 2004 00:36:47 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	iAB5ag7142248; Thu, 11 Nov 2004 00:36:43 -0500
Received: from sp1n293en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with
	ESMTP id iAB5agk28574; Thu, 11 Nov 2004 00:36:42 -0500
Received: from [9.49.156.235] (sig-9-49-156-235.mts.ibm.com [9.49.156.235])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with
	ESMTP id iAB5aS228572; Thu, 11 Nov 2004 00:36:28 -0500
Message-ID: <4192FA5A.3060409@watson.ibm.com>
Date: Thu, 11 Nov 2004 00:36:26 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: en-us, en, it
MIME-Version: 1.0
To: Archie Cobbs <archie@dellroad.org>
References: <200411110103.iAB13HK6000608@arch20m.dellroad.org>
In-Reply-To: <200411110103.iAB13HK6000608@arch20m.dellroad.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: jeroen@frijters.net, classpath@gnu.org,
	jikesrvm-core@www-124.southbury.usf.ibm.com
Subject: Re: java.lang.System changes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Nov 2004 05:45:39 -0000

Archie Cobbs wrote:
> Steven Augart wrote:
> 
>>Classpath's java.lang.System was changed yesterday so that
>>initializing that class now depends upon
>>VMClassLoader.getSystemClassLoader() being able to return a working
>>class loader.
>>
>>Unfortunately, Jikes RVM's system class loader is based upon
>>Classpath's java.lang.URLClassLoader.  java.lang.URLClassLoader
>>requires java.lang.URL to be initialized.  And java.lang.URL, in
>>*its* initialization, makes a call to
>>java.lang.System.getProperty().   Which needs java.lang.System to be
>>initialized. 
> 
> 
> Just curious.. what is the actual problem you're seeing? 

The actual problem I'm seeing is that (after having done some
rearranging of the sequence in which we run static class initializers),
when I start up my VM, I get a nasty stack trace like this:

Exception in thread "Jikes_RVM_Boot_Thread": java.lang.ExceptionInInitializerError: Caught exception while invoking the class initializer for java.net.URL
         at com.ibm.JikesRVM.VM.runClassInitializer(VM.java:470)
         at com.ibm.JikesRVM.VM.finishBooting(VM.java:242)
         at com.ibm.JikesRVM.VM.boot(VM.java:108)
Caused by: java.lang.NullPointerException
         at java.lang.System.getProperty(System.java:582)
         at java.net.URL.<clinit>(URL.java:201)
         at com.ibm.JikesRVM.VM.runClassInitializer(VM.java:466)
         at com.ibm.JikesRVM.VM.finishBooting(VM.java:242)
         at com.ibm.JikesRVM.VM.boot(VM.java:108)
JikesRVM: exit 113

Whereas, if I move "System" to an earlier place (in Jikes RVM's CVS head,
it's the second class initialized, and the class loaders are set up later),
then I fail when System's class initializer <clinit> calls
VMClassLoader.getSystemClassLoader, which in turn tries to create a
(Jikes RVM) ApplicationClassLoader, a class whose superclasses haven't been
reinitialized yet.  The stack dump looks like this:

    Lcom/ibm/JikesRVM/VM; sysExit(I)V at line 1118
    Lcom/ibm/JikesRVM/classloader/ApplicationClassLoader; <init>(Ljava/lang/String;)V at line 59
    Lcom/ibm/JikesRVM/classloader/VM_ClassLoader; getApplicationClassLoader()Ljava/lang/ClassLoader; at line 62
    Ljava/lang/VMClassLoader; getSystemClassLoader()Ljava/lang/ClassLoader; at line 117
    Ljava/lang/System; <clinit>()V at line 294
    Lcom/ibm/JikesRVM/VM; runClassInitializer(Ljava/lang/String;)V at line 467
    Lcom/ibm/JikesRVM/VM; finishBooting()V at line 237
    Lcom/ibm/JikesRVM/VM; boot()V at line 108


The real problem here is that as part of building its boot image, Jikes
RVM has already run the class initializers for many classes.
Some of those point to data that can't be carried over between
the boot image writing time, and the VM runtime.  They need to be
re-run at boot time.  Re-running those initializers is hard-coded
as part of the boot sequence, including the order in which they need
to be re-run.

 > It looks like
 > VMClassLoader.getSystemClassLoader() is invoked after System.properties
 > is created, so System.getProperty() should work when URL uses it.. ?
 > I haven't actually tried this so I'm likely just missing something.

I want to thank you for writing this letter.  It forced me to think
through why this probably works OK on other VMs.  I suppose what happens
with other VMs is that the class initializer for their system/application
class loader is run in the middle of running the class initializer
for java.lang.System.

Inspired by this, I've just tried cobbling together a routine to
"uninitialize" a class so that it will have its initializer run
dynamically, as needed.  This didn't work, for reasons that will probably
be clear in the morning when I look at the issue again.

--Steve Augart

-- 
Steven Augart

Jikes RVM, a free, open source, Virtual Machine:
http://oss.software.ibm.com/jikesrvm



From MAILER-DAEMON Thu Nov 11 02:16:39 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CS9CA-00042K-Rv
	for mharc-classpath@gnu.org; Thu, 11 Nov 2004 02:16:38 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CS9C9-00042F-LY
	for classpath@gnu.org; Thu, 11 Nov 2004 02:16:37 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CS9C9-000423-9P
	for classpath@gnu.org; Thu, 11 Nov 2004 02:16:37 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CS9C9-000420-4U
	for classpath@gnu.org; Thu, 11 Nov 2004 02:16:37 -0500
Received: from [66.11.181.4] (helo=griffin.griffaction.ca)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1CS93I-00013E-0I
	for classpath@gnu.org; Thu, 11 Nov 2004 02:07:28 -0500
Received: from glue.info.uqam.ca ([132.208.135.95])
	by griffin.griffaction.ca with esmtp (Exim 4.34 #1 (Debian))
	id 1CS93G-0006QX-HP; Thu, 11 Nov 2004 02:07:26 -0500
Received: from localhost ([127.0.0.1])
	by glue.info.uqam.ca with esmtp (Exim 4.34)
	id 1CS6ve-00078w-Gw; Wed, 10 Nov 2004 23:51:26 -0500
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1100145617.12038.414.camel@localhost.localdomain>
References: <1100121333.20858.68.camel@localhost.localdomain>
	<1100145617.12038.414.camel@localhost.localdomain>
Content-Type: text/plain
Organization: Debian http://www.debian.org - The Free Operating System
Message-Id: <1100156818.12038.489.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Thu, 11 Nov 2004 02:06:59 -0500
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: GNU Classpath 0.12, ..., 1.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Nov 2004 07:16:37 -0000

On Wed, 2004-11-10 at 23:00, Grzegorz B. Prokopski wrote:
> On Wed, 2004-11-10 at 16:15, Mark Wielaard wrote:
> > We do now have a few small regressions however. There is something wrong
> > with zip/jar archives on the classpath (this might or might not be a GNU
> > Classpath issue, we changed the VM interface subtly so maybe it is a
> > runtime issue). Opening a JarFile with 'verify' set to false  breaks
> > (and is not thread-safe) [I have a fix for that].
[...]
> I like it, altough I only ran simple HelloWorld, because running
> a program that requires i.e. ressources (loaded from .jar) gives me:
[...]
> Caused by: java.lang.NullPointerException
>    at java.util.jar.JarFile.getInputStream (JarFile.java:458)
[...]
> So, if you have a fix for that, could you please post it or check in?
> Robilad told me he has the same kind of issue with Kaffe as we have with
> SableVM after the merge.

I applied your fix from
 http://lists.gnu.org/archive/html/classpath/2004-11/msg00026.html
and it worked.  I tested some simple AWT/Swing apps - they still work :)

But I noticed one regression.  The Sun's "SymbolTest" you can get from
http://www-uxsup.csx.cam.ac.uk/java/jdk-1.2.2/demo/applets/SymbolTest/SymbolTest.java
used to work i.e. 6 months ago and even year ago.  But now I only get
increased CPU usage for a few seconds and then it stops.  Not sure
whether it's SableVM-specific, given that other tests work.

HTH

			Grzegorz B. Prokopski

-- 
Grzegorz B. Prokopski      <gadek@debian.org>
Debian GNU/Linux           http://www.debian.org
SableVM - LGPL'ed Java VM  http://www.sablevm.org
Why SableVM ?!?            http://sablevm.org/wiki/Features





From MAILER-DAEMON Thu Nov 11 03:50:44 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSAfE-00030N-CU
	for mharc-classpath@gnu.org; Thu, 11 Nov 2004 03:50:44 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSAfB-0002yv-W1
	for classpath@gnu.org; Thu, 11 Nov 2004 03:50:42 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSAf9-0002x2-A9
	for classpath@gnu.org; Thu, 11 Nov 2004 03:50:39 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSAf8-0002wp-FQ
	for classpath@gnu.org; Thu, 11 Nov 2004 03:50:39 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSAWL-00078o-FO
	for classpath@gnu.org; Thu, 11 Nov 2004 03:41:33 -0500
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.6944.0
Date: Thu, 11 Nov 2004 09:41:29 +0100
Message-ID: <D92197D0A6547B44A1567814F851FA6802A46E@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: GNU Classpath 0.12, ..., 1.0
thread-index: AcTHaqcQSCvR/bo3QI2H3IQ7MIhGDAAXqipA
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Mark Wielaard" <mark@klomp.org>,
	<classpath@gnu.org>
Cc: 
Subject: RE: GNU Classpath 0.12, ..., 1.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Nov 2004 08:50:42 -0000

Mark Wielaard wrote:
> The (ambitious) goal is still to have a 1.0 release before (or around)
> Fosdem (Brussels, 26/27 February 2005).

Excuse me for being the skeptic again, but this seems outrageously
unreasonable to me. We haven't even decided on what should be in the 1.0
release and, frankly, I think we still have way too many quality issues
to even be considering a 1.0 release.

Regards,
Jeroen




From MAILER-DAEMON Thu Nov 11 10:21:47 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSGlf-000172-5T
	for mharc-classpath@gnu.org; Thu, 11 Nov 2004 10:21:47 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSGj7-0000LJ-Jx
	for classpath@gnu.org; Thu, 11 Nov 2004 10:19:09 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSGj7-0000Kh-45
	for classpath@gnu.org; Thu, 11 Nov 2004 10:19:09 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSGj7-0000KY-1g
	for classpath@gnu.org; Thu, 11 Nov 2004 10:19:09 -0500
Received: from [212.186.60.145] (helo=localhost.localdomain)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CSGaM-0006kl-Ds
	for classpath@gnu.org; Thu, 11 Nov 2004 10:10:06 -0500
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by localhost.localdomain (8.13.1/8.13.1/Debian-15.0.0.1.amd64) with
	ESMTP id iABFA3iT012124; Thu, 11 Nov 2004 16:10:03 +0100
Received: (from twisti@localhost)
	by localhost.localdomain (8.13.1/8.13.1/Submit) id iABF9wvP012123;
	Thu, 11 Nov 2004 16:09:58 +0100
X-Authentication-Warning: localhost.localdomain: twisti set sender to
	twisti@complang.tuwien.ac.at using -f
Date: Thu, 11 Nov 2004 16:09:58 +0100
From: Christian Thalinger <twisti@complang.tuwien.ac.at>
To: Mark Wielaard <mark@klomp.org>
Message-ID: <20041111150958.GJ11359@localhost.localdomain>
References: <20041108161842.GE6695@localhost.localdomain>
	<1099942835.4388.22.camel@localhost.localdomain>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1099942835.4388.22.camel@localhost.localdomain>
User-Agent: Mutt/1.5.6+20040907i
X-Mailman-Approved-At: Thu, 11 Nov 2004 10:21:46 -0500
Cc: classpath@gnu.org
Subject: Re: libtool problem with mipspro on irix
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Nov 2004 15:19:09 -0000

On Mon, Nov 08, 2004 at 08:40:36PM +0100, Mark Wielaard wrote:
> Hopefully someone else recognizes the problem.
> Searching for mipspro and libtool does give a large couple of hits, but
> none looked immediately relevant.

Ok, the actual problem was only related to the mipspro compiler. The
configure script didn't recognize that the compiler can use -c and -o at
the same time.

But shouldn't libtool also work even if the compiler can not use `-c
-o'?

TWISTI



From MAILER-DAEMON Thu Nov 11 11:42:44 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSI1z-0002l1-R7
	for mharc-classpath@gnu.org; Thu, 11 Nov 2004 11:42:43 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSI1v-0002k7-TP
	for classpath@gnu.org; Thu, 11 Nov 2004 11:42:41 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSI1u-0002jU-JB
	for classpath@gnu.org; Thu, 11 Nov 2004 11:42:38 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CSI1u-0002j9-Cr; Thu, 11 Nov 2004 11:42:38 -0500
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CSHt8-0004zk-BP; Thu, 11 Nov 2004 11:33:34 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CSHs9-0001rN-00; Thu, 11 Nov 2004 17:32:33 +0100
From: Mark Wielaard <mark@klomp.org>
To: Steven Augart <augart@watson.ibm.com>
In-Reply-To: <1099955574.4388.45.camel@localhost.localdomain>
References: <200411081116.iA8BGAsc029075@wormtongue.watson.ibm.com>
	<418FF72D.5060302@watson.ibm.com>
	<1099955574.4388.45.camel@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-bdWDX/gvgwqakW26bIEU"
Message-Id: <1100190819.20858.363.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Thu, 11 Nov 2004 17:33:39 +0100
Cc: jikesrvm-regression@www-124.southbury.usf.ibm.com, classpath@gnu.org,
	classpath-patches@gnu.org
Subject: JarFile fixes (Was: [Jikesrvm-regression] classpath CVS head
	regression FAILED 4 tests; 0 mauve failures)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Nov 2004 16:42:41 -0000


--=-bdWDX/gvgwqakW26bIEU
Content-Type: multipart/mixed; boundary="=-ncWZzENW6lSb4bGCQAO4"


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

Hi,

On Tue, 2004-11-09 at 00:12, Mark Wielaard wrote:
> On Mon, 2004-11-08 at 23:46, Steven Augart wrote:
> > >  development: Failed in SPECjbb2000
> > Another new problem, this time during class loading.  I'm CC'ing this=20
> > to the classpath list, since it probably points to a problem in=20
> > Classpath CVS head.
>
> I was just hunting this one down.
> Attached is my first attempt.
>=20
> It makes sure to not check the verified Map when the jar file is
> explicitly opened with verify set to false. It also just compares the
> value in the Map to Boolean.TRUE or Boolean.FALSE.
>=20
> I am still thinking about synchronization issues.
> It looks like we need to be more careful about synchronization when
> manipulating/reading the verified Map since a JarFile can probably be
> accessed from multiple threads at once.

And here is the full fix:

2004-11-11  Mark Wielaard  <mark@klomp.org>

        * java/util/jar/JarFile.java (verify): Make package private.
        (signaturesRead): Likewise.
        (verified): Likewise.
        (entryCerts): Likewise.
        (DEBUG): Likewise.
        (debug): Likewise.
        (entries): Construct new JarEnumeration with reference to this.
        (JarEnumeration): Make static.
        (JarEnumeration.jarfile): New field.
        (JarEnumeration.nextElement): Use and synchronize on jarfile.
        Compare verified value to Boolean.TRUE or Boolean.False only
        when verify is true.
        (getEntry): Make synchronized. Compare value of verified to
        Boolean.TRUE.
        (getInputStream): Construct EntryInputStream with reference to this=
.
        (getManifest): Make synchronized.
        (EntryInputStream): Make static.
        (EntryInputStream.jarfile): New field.
        (EntryInputStream.EntryInputStream): Check if manifest exists,
        before getting attributes.
        (eof): Synchronize on jarfile.

This fixes the issue when opening a JarFile with verify set to false,
makes JarFile thread-safe, and fixes a bug when the manifest file isn't
available at all.

Cheers,

Mark

--=-ncWZzENW6lSb4bGCQAO4
Content-Disposition: inline; filename=JarFile.patch
Content-Type: text/x-patch; name=JarFile.patch; charset=ANSI_X3.4-1968
Content-Transfer-Encoding: base64

SW5kZXg6IGphdmEvdXRpbC9qYXIvSmFyRmlsZS5qYXZhDQo9PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1MgZmlsZTog
L2N2c3Jvb3QvY2xhc3NwYXRoL2NsYXNzcGF0aC9qYXZhL3V0aWwvamFyL0phckZpbGUuamF2YSx2
DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMTMNCmRpZmYgLXUgLXIxLjEzIEphckZpbGUuamF2YQ0K
LS0tIGphdmEvdXRpbC9qYXIvSmFyRmlsZS5qYXZhCTkgTm92IDIwMDQgMDU6NTE6NDcgLTAwMDAJ
MS4xMw0KKysrIGphdmEvdXRpbC9qYXIvSmFyRmlsZS5qYXZhCTExIE5vdiAyMDA0IDE2OjI0OjQx
IC0wMDAwDQpAQCAtMTIyLDIzICsxMjIsMjggQEANCiAgIHByaXZhdGUgTWFuaWZlc3QgbWFuaWZl
c3Q7DQogDQogICAvKiogV2hldGhlciB0byB2ZXJpZnkgdGhlIG1hbmlmZXN0IGFuZCBhbGwgZW50
cmllcy4gKi8NCi0gIHByaXZhdGUgYm9vbGVhbiB2ZXJpZnk7DQorICBib29sZWFuIHZlcmlmeTsN
CiANCiAgIC8qKiBXaGV0aGVyIHRoZSBoYXMgYWxyZWFkeSBiZWVuIGxvYWRlZC4gKi8NCiAgIHBy
aXZhdGUgYm9vbGVhbiBtYW5pZmVzdFJlYWQgPSBmYWxzZTsNCiANCiAgIC8qKiBXaGV0aGVyIHRo
ZSBzaWduYXR1cmUgZmlsZXMgaGF2ZSBiZWVuIGxvYWRlZC4gKi8NCi0gIHByaXZhdGUgYm9vbGVh
biBzaWduYXR1cmVzUmVhZCA9IGZhbHNlOw0KKyAgYm9vbGVhbiBzaWduYXR1cmVzUmVhZCA9IGZh
bHNlOw0KIA0KLSAgLyoqIEEgbWFwIGJldHdlZW4gZW50cnkgbmFtZXMgYW5kIGJvb2xlYW5zLCBz
aWduYWxpbmcgd2hldGhlciBvcg0KLSAgICAgIG5vdCB0aGF0IGVudHJ5IGhhcyBiZWVuIHZlcmlm
aWVkLiAqLw0KLSAgcHJpdmF0ZSBIYXNoTWFwIHZlcmlmaWVkID0gbmV3IEhhc2hNYXAoKTsNCisg
IC8qKg0KKyAgICogQSBtYXAgYmV0d2VlbiBlbnRyeSBuYW1lcyBhbmQgYm9vbGVhbnMsIHNpZ25h
bGluZyB3aGV0aGVyIG9yDQorICAgKiBub3QgdGhhdCBlbnRyeSBoYXMgYmVlbiB2ZXJpZmllZC4N
CisgICAqIE9ubHkgYmUgYWNjZXNzZWQgd2l0aCBsb2NrIG9uIHRoaXMgSmFyRmlsZSovDQorICBI
YXNoTWFwIHZlcmlmaWVkID0gbmV3IEhhc2hNYXAoKTsNCiANCi0gIC8qKiBBIG1hcHBpbmcgZnJv
bSBlbnRyeSBuYW1lIHRvIGNlcnRpZmljYXRlcywgaWYgYW55LiAqLw0KLSAgcHJpdmF0ZSBIYXNo
TWFwIGVudHJ5Q2VydHM7DQorICAvKioNCisgICAqIEEgbWFwcGluZyBmcm9tIGVudHJ5IG5hbWUg
dG8gY2VydGlmaWNhdGVzLCBpZiBhbnkuDQorICAgKiBPbmx5IGFjY2Vzc2VkIHdpdGggbG9jayBv
biB0aGlzIEphckZpbGUuDQorICAgKi8NCisgIEhhc2hNYXAgZW50cnlDZXJ0czsNCiANCi0gIHBy
aXZhdGUgc3RhdGljIGJvb2xlYW4gREVCVUcgPSBmYWxzZTsNCi0gIHByaXZhdGUgc3RhdGljIHZv
aWQgZGVidWcoT2JqZWN0IG1zZykNCisgIHN0YXRpYyBib29sZWFuIERFQlVHID0gZmFsc2U7DQor
ICBzdGF0aWMgdm9pZCBkZWJ1ZyhPYmplY3QgbXNnKQ0KICAgew0KICAgICBTeXN0ZW0uZXJyLnBy
aW50KEphckZpbGUuY2xhc3MuZ2V0TmFtZSgpKTsNCiAgICAgU3lzdGVtLmVyci5wcmludCgiID4+
PiAiKTsNCkBAIC0zMDMsMjEgKzMwOCwyMyBAQA0KICAgICovDQogICBwdWJsaWMgRW51bWVyYXRp
b24gZW50cmllcygpIHRocm93cyBJbGxlZ2FsU3RhdGVFeGNlcHRpb24NCiAgIHsNCi0gICAgcmV0
dXJuIG5ldyBKYXJFbnVtZXJhdGlvbihzdXBlci5lbnRyaWVzKCkpOw0KKyAgICByZXR1cm4gbmV3
IEphckVudW1lcmF0aW9uKHN1cGVyLmVudHJpZXMoKSwgdGhpcyk7DQogICB9DQogDQogICAvKioN
CiAgICAqIFdyYXBzIGEgZ2l2ZW4gWmlwIEVudHJpZXMgRW51bWVyYXRpb24uIEZvciBldmVyeSB6
aXAgZW50cnkgYQ0KICAgICogSmFyRW50cnkgaXMgY3JlYXRlZCBhbmQgdGhlIGNvcnJlc3BvbmRp
bmcgQXR0cmlidXRlcyBhcmUgbG9va2VkIHVwLg0KICAgICovDQotICBwcml2YXRlIGNsYXNzIEph
ckVudW1lcmF0aW9uIGltcGxlbWVudHMgRW51bWVyYXRpb24NCisgIHByaXZhdGUgc3RhdGljIGNs
YXNzIEphckVudW1lcmF0aW9uIGltcGxlbWVudHMgRW51bWVyYXRpb24NCiAgIHsNCiANCiAgICAg
cHJpdmF0ZSBmaW5hbCBFbnVtZXJhdGlvbiBlbnRyaWVzOw0KKyAgICBwcml2YXRlIGZpbmFsIEph
ckZpbGUgamFyZmlsZTsNCiANCi0gICAgSmFyRW51bWVyYXRpb24oRW51bWVyYXRpb24gZSkNCisg
ICAgSmFyRW51bWVyYXRpb24oRW51bWVyYXRpb24gZSwgSmFyRmlsZSBmKQ0KICAgICB7DQogICAg
ICAgZW50cmllcyA9IGU7DQorICAgICAgamFyZmlsZSA9IGY7DQogICAgIH0NCiANCiAgICAgcHVi
bGljIGJvb2xlYW4gaGFzTW9yZUVsZW1lbnRzKCkNCkBAIC0zMzIsNyArMzM5LDcgQEANCiAgICAg
ICBNYW5pZmVzdCBtYW5pZmVzdDsNCiAgICAgICB0cnkNCiAJew0KLQkgIG1hbmlmZXN0ID0gZ2V0
TWFuaWZlc3QoKTsNCisJICBtYW5pZmVzdCA9IGphcmZpbGUuZ2V0TWFuaWZlc3QoKTsNCiAJfQ0K
ICAgICAgIGNhdGNoIChJT0V4Y2VwdGlvbiBpb2UpDQogCXsNCkBAIC0zNDQsMzIgKzM1MSwzNSBA
QA0KIAkgIGphci5hdHRyID0gbWFuaWZlc3QuZ2V0QXR0cmlidXRlcyhqYXIuZ2V0TmFtZSgpKTsN
CiAJfQ0KIA0KLSAgICAgIGlmICghc2lnbmF0dXJlc1JlYWQpDQotICAgICAgICB0cnkNCi0gICAg
ICAgICAgew0KLSAgICAgICAgICAgIHJlYWRTaWduYXR1cmVzKCk7DQotICAgICAgICAgIH0NCi0g
ICAgICAgIGNhdGNoIChJT0V4Y2VwdGlvbiBpb2UpDQotICAgICAgICAgIHsNCi0gICAgICAgICAg
ICBpZiAoREVCVUcpDQotICAgICAgICAgICAgICB7DQotICAgICAgICAgICAgICAgIGRlYnVnKGlv
ZSk7DQotICAgICAgICAgICAgICAgIGlvZS5wcmludFN0YWNrVHJhY2UoKTsNCi0gICAgICAgICAg
ICAgIH0NCi0gICAgICAgICAgICBzaWduYXR1cmVzUmVhZCA9IHRydWU7IC8vIGZ1ZGdlIGl0Lg0K
LSAgICAgICAgICB9DQotDQotICAgICAgLy8gSW5jbHVkZSB0aGUgY2VydGlmaWNhdGVzIG9ubHkg
aWYgd2UgaGF2ZSBhc3NlcnRlZCB0aGF0IHRoZQ0KLSAgICAgIC8vIHNpZ25hdHVyZXMgYXJlIHZh
bGlkLiBUaGlzIG1lYW5zIHRoZSBjZXJ0aWZpY2F0ZXMgd2lsbCBub3QgYmUNCi0gICAgICAvLyBh
dmFpbGFibGUgaWYgdGhlIGVudHJ5IGhhc24ndCBiZWVuIHJlYWQgeWV0Lg0KLSAgICAgIGlmIChl
bnRyeUNlcnRzICE9IG51bGwgJiYgdmVyaWZpZWQuY29udGFpbnNLZXkoemlwLmdldE5hbWUoKSkN
Ci0gICAgICAgICAgJiYgKChCb29sZWFuKSB2ZXJpZmllZC5nZXQoemlwLmdldE5hbWUoKSkpLmJv
b2xlYW5WYWx1ZSgpKQ0KLSAgICAgICAgew0KLSAgICAgICAgICBTZXQgY2VydHMgPSAoU2V0KSBl
bnRyeUNlcnRzLmdldChqYXIuZ2V0TmFtZSgpKTsNCi0gICAgICAgICAgaWYgKGNlcnRzICE9IG51
bGwpDQotICAgICAgICAgICAgamFyLmNlcnRzID0gKENlcnRpZmljYXRlW10pDQotICAgICAgICAg
ICAgICBjZXJ0cy50b0FycmF5KG5ldyBDZXJ0aWZpY2F0ZVtjZXJ0cy5zaXplKCldKTsNCi0gICAg
ICAgIH0NCisgICAgICBzeW5jaHJvbml6ZWQoamFyZmlsZSkNCisJew0KKwkgIGlmICghamFyZmls
ZS5zaWduYXR1cmVzUmVhZCkNCisJICAgIHRyeQ0KKwkgICAgICB7DQorCQlqYXJmaWxlLnJlYWRT
aWduYXR1cmVzKCk7DQorCSAgICAgIH0NCisJICAgIGNhdGNoIChJT0V4Y2VwdGlvbiBpb2UpDQor
CSAgICAgIHsNCisJCWlmIChKYXJGaWxlLkRFQlVHKQ0KKwkJICB7DQorCQkgICAgSmFyRmlsZS5k
ZWJ1Zyhpb2UpOw0KKwkJICAgIGlvZS5wcmludFN0YWNrVHJhY2UoKTsNCisJCSAgfQ0KKwkJamFy
ZmlsZS5zaWduYXR1cmVzUmVhZCA9IHRydWU7IC8vIGZ1ZGdlIGl0Lg0KKwkgICAgICB9DQorDQor
CSAgLy8gSW5jbHVkZSB0aGUgY2VydGlmaWNhdGVzIG9ubHkgaWYgd2UgaGF2ZSBhc3NlcnRlZCB0
aGF0IHRoZQ0KKwkgIC8vIHNpZ25hdHVyZXMgYXJlIHZhbGlkLiBUaGlzIG1lYW5zIHRoZSBjZXJ0
aWZpY2F0ZXMgd2lsbCBub3QgYmUNCisJICAvLyBhdmFpbGFibGUgaWYgdGhlIGVudHJ5IGhhc24n
dCBiZWVuIHJlYWQgeWV0Lg0KKwkgIGlmIChqYXJmaWxlLmVudHJ5Q2VydHMgIT0gbnVsbA0KKwkg
ICAgICAmJiBqYXJmaWxlLnZlcmlmaWVkLmdldCh6aXAuZ2V0TmFtZSgpKSA9PSBCb29sZWFuLlRS
VUUpDQorCSAgICB7DQorCSAgICAgIFNldCBjZXJ0cyA9IChTZXQpIGphcmZpbGUuZW50cnlDZXJ0
cy5nZXQoamFyLmdldE5hbWUoKSk7DQorCSAgICAgIGlmIChjZXJ0cyAhPSBudWxsKQ0KKwkJamFy
LmNlcnRzID0gKENlcnRpZmljYXRlW10pDQorCQkgIGNlcnRzLnRvQXJyYXkobmV3IENlcnRpZmlj
YXRlW2NlcnRzLnNpemUoKV0pOw0KKwkgICAgfQ0KKwl9DQogICAgICAgcmV0dXJuIGphcjsNCiAg
ICAgfQ0KICAgfQ0KQEAgLTM3OSw3ICszODksNyBAQA0KICAgICogSXQgYWN0dWFsbHkgcmV0dXJu
cyBhIEphckVudHJ5IG5vdCBhIHppcEVudHJ5DQogICAgKiBAcGFyYW0gbmFtZSBYWFgNCiAgICAq
Lw0KLSAgcHVibGljIFppcEVudHJ5IGdldEVudHJ5KFN0cmluZyBuYW1lKQ0KKyAgcHVibGljIHN5
bmNocm9uaXplZCBaaXBFbnRyeSBnZXRFbnRyeShTdHJpbmcgbmFtZSkNCiAgIHsNCiAgICAgWmlw
RW50cnkgZW50cnkgPSBzdXBlci5nZXRFbnRyeShuYW1lKTsNCiAgICAgaWYgKGVudHJ5ICE9IG51
bGwpDQpAQCAtNDAwLDMyICs0MTAsMzEgQEANCiAJICAgIGphckVudHJ5LmF0dHIgPSBtYW5pZmVz
dC5nZXRBdHRyaWJ1dGVzKG5hbWUpOw0KICAgICAgICAgICB9DQogDQotICAgICAgICBpZiAoIXNp
Z25hdHVyZXNSZWFkKQ0KLSAgICAgICAgICB0cnkNCi0gICAgICAgICAgICB7DQotICAgICAgICAg
ICAgICByZWFkU2lnbmF0dXJlcygpOw0KLSAgICAgICAgICAgIH0NCi0gICAgICAgICAgY2F0Y2gg
KElPRXhjZXB0aW9uIGlvZSkNCi0gICAgICAgICAgICB7DQotICAgICAgICAgICAgICBpZiAoREVC
VUcpDQotICAgICAgICAgICAgICAgIHsNCi0gICAgICAgICAgICAgICAgICBkZWJ1Zyhpb2UpOw0K
LSAgICAgICAgICAgICAgICAgIGlvZS5wcmludFN0YWNrVHJhY2UoKTsNCi0gICAgICAgICAgICAg
ICAgfQ0KLSAgICAgICAgICAgICAgc2lnbmF0dXJlc1JlYWQgPSB0cnVlOw0KLSAgICAgICAgICAg
IH0NCi0gICAgICAgIC8vIFNlZSB0aGUgY29tbWVudHMgaW4gdGhlIEphckVudW1lcmF0aW9uIGZv
ciB3aHkgd2UgZG8gdGhpcw0KLSAgICAgICAgLy8gY2hlY2suDQotICAgICAgICBpZiAoREVCVUcp
DQotICAgICAgICAgIGRlYnVnKCJlbnRyeUNlcnRzPSIgKyBlbnRyeUNlcnRzICsgIiB2ZXJpZmll
ZCAiICsgbmFtZQ0KLSAgICAgICAgICAgICAgICArICIgPyAiICsgdmVyaWZpZWQuZ2V0KG5hbWUp
KTsNCi0gICAgICAgIGlmIChlbnRyeUNlcnRzICE9IG51bGwgJiYgdmVyaWZpZWQuY29udGFpbnNL
ZXkobmFtZSkNCi0gICAgICAgICAgICAmJiAoKEJvb2xlYW4pIHZlcmlmaWVkLmdldChuYW1lKSku
Ym9vbGVhblZhbHVlKCkpDQotICAgICAgICAgIHsNCi0gICAgICAgICAgICBTZXQgY2VydHMgPSAo
U2V0KSBlbnRyeUNlcnRzLmdldChuYW1lKTsNCi0gICAgICAgICAgICBpZiAoY2VydHMgIT0gbnVs
bCkNCi0gICAgICAgICAgICAgIGphckVudHJ5LmNlcnRzID0gKENlcnRpZmljYXRlW10pDQotICAg
ICAgICAgICAgICAgIGNlcnRzLnRvQXJyYXkobmV3IENlcnRpZmljYXRlW2NlcnRzLnNpemUoKV0p
Ow0KKwlpZiAoIXNpZ25hdHVyZXNSZWFkKQ0KKwkgIHRyeQ0KKwkgICAgew0KKwkgICAgICByZWFk
U2lnbmF0dXJlcygpOw0KKwkgICAgfQ0KKwkgIGNhdGNoIChJT0V4Y2VwdGlvbiBpb2UpDQorCSAg
ICB7DQorCSAgICAgIGlmIChERUJVRykNCisJCXsNCisJCSAgZGVidWcoaW9lKTsNCisJCSAgaW9l
LnByaW50U3RhY2tUcmFjZSgpOw0KKwkJfQ0KKwkgICAgICBzaWduYXR1cmVzUmVhZCA9IHRydWU7
DQorCSAgICB9DQorCS8vIFNlZSB0aGUgY29tbWVudHMgaW4gdGhlIEphckVudW1lcmF0aW9uIGZv
ciB3aHkgd2UgZG8gdGhpcw0KKwkvLyBjaGVjay4NCisJaWYgKERFQlVHKQ0KKwkgIGRlYnVnKCJl
bnRyeUNlcnRzPSIgKyBlbnRyeUNlcnRzICsgIiB2ZXJpZmllZCAiICsgbmFtZQ0KKwkJKyAiID8g
IiArIHZlcmlmaWVkLmdldChuYW1lKSk7DQorCWlmIChlbnRyeUNlcnRzICE9IG51bGwgJiYgdmVy
aWZpZWQuZ2V0KG5hbWUpID09IEJvb2xlYW4uVFJVRSkNCisJICB7DQorCSAgICBTZXQgY2VydHMg
PSAoU2V0KSBlbnRyeUNlcnRzLmdldChuYW1lKTsNCisJICAgIGlmIChjZXJ0cyAhPSBudWxsKQ0K
KwkgICAgICBqYXJFbnRyeS5jZXJ0cyA9IChDZXJ0aWZpY2F0ZVtdKQ0KKwkJY2VydHMudG9BcnJh
eShuZXcgQ2VydGlmaWNhdGVbY2VydHMuc2l6ZSgpXSk7DQogCSAgfQ0KIAlyZXR1cm4gamFyRW50
cnk7DQogICAgICAgfQ0KQEAgLTQ0OSwxMyArNDU4LDEzIEBADQogICAgICAgew0KICAgICAgICAg
aWYgKERFQlVHKQ0KICAgICAgICAgICBkZWJ1ZygicmVhZGluZyBhbmQgdmVyaWZ5aW5nICIgKyBl
bnRyeSk7DQotICAgICAgICByZXR1cm4gbmV3IEVudHJ5SW5wdXRTdHJlYW0oZW50cnksIHN1cGVy
LmdldElucHV0U3RyZWFtKGVudHJ5KSk7DQorICAgICAgICByZXR1cm4gbmV3IEVudHJ5SW5wdXRT
dHJlYW0oZW50cnksIHN1cGVyLmdldElucHV0U3RyZWFtKGVudHJ5KSwgdGhpcyk7DQogICAgICAg
fQ0KICAgICBlbHNlDQogICAgICAgew0KICAgICAgICAgaWYgKERFQlVHKQ0KICAgICAgICAgICBk
ZWJ1ZygicmVhZGluZyBhbHJlYWR5IHZlcmlmaWVkIGVudHJ5ICIgKyBlbnRyeSk7DQotICAgICAg
ICBpZiAoISgoQm9vbGVhbikgdmVyaWZpZWQuZ2V0KGVudHJ5LmdldE5hbWUoKSkpLmJvb2xlYW5W
YWx1ZSgpKQ0KKyAgICAgICAgaWYgKHZlcmlmeSAmJiB2ZXJpZmllZC5nZXQoZW50cnkuZ2V0TmFt
ZSgpKSA9PSBCb29sZWFuLkZBTFNFKQ0KICAgICAgICAgICB0aHJvdyBuZXcgWmlwRXhjZXB0aW9u
KCJkaWdlc3QgZm9yICIgKyBlbnRyeSArICIgaXMgaW52YWxpZCIpOw0KICAgICAgICAgcmV0dXJu
IHN1cGVyLmdldElucHV0U3RyZWFtKGVudHJ5KTsNCiAgICAgICB9DQpAQCAtNDc5LDcgKzQ4OCw3
IEBADQogICAgKiBSZXR1cm5zIHRoZSBtYW5pZmVzdCBmb3IgdGhpcyBKYXJGaWxlIG9yIG51bGwg
d2hlbiB0aGUgSmFyRmlsZSBkb2VzIG5vdA0KICAgICogY29udGFpbiBhIG1hbmlmZXN0IGZpbGUu
DQogICAgKi8NCi0gIHB1YmxpYyBNYW5pZmVzdCBnZXRNYW5pZmVzdCgpIHRocm93cyBJT0V4Y2Vw
dGlvbg0KKyAgcHVibGljIHN5bmNocm9uaXplZCBNYW5pZmVzdCBnZXRNYW5pZmVzdCgpIHRocm93
cyBJT0V4Y2VwdGlvbg0KICAgew0KICAgICBpZiAoIW1hbmlmZXN0UmVhZCkNCiAgICAgICBtYW5p
ZmVzdCA9IHJlYWRNYW5pZmVzdCgpOw0KQEAgLTQ4Nyw2ICs0OTYsNyBAQA0KICAgICByZXR1cm4g
bWFuaWZlc3Q7DQogICB9DQogDQorICAvLyBPbmx5IGNhbGxlZCB3aXRoIGxvY2sgb24gdGhpcyBK
YXJGaWxlLg0KICAgcHJpdmF0ZSB2b2lkIHJlYWRTaWduYXR1cmVzKCkgdGhyb3dzIElPRXhjZXB0
aW9uDQogICB7DQogICAgIE1hcCBwa2NzN0RzYSA9IG5ldyBIYXNoTWFwKCk7DQpAQCAtODcyLDgg
Kzg4Miw5IEBADQogICAvKioNCiAgICAqIEEgdXRpbGl0eSBjbGFzcyB0aGF0IHZlcmlmaWVzIGph
ciBlbnRyaWVzIGFzIHRoZXkgYXJlIHJlYWQuDQogICAgKi8NCi0gIHByaXZhdGUgY2xhc3MgRW50
cnlJbnB1dFN0cmVhbSBleHRlbmRzIEZpbHRlcklucHV0U3RyZWFtDQorICBwcml2YXRlIHN0YXRp
YyBjbGFzcyBFbnRyeUlucHV0U3RyZWFtIGV4dGVuZHMgRmlsdGVySW5wdXRTdHJlYW0NCiAgIHsN
CisgICAgcHJpdmF0ZSBmaW5hbCBKYXJGaWxlIGphcmZpbGU7DQogICAgIHByaXZhdGUgZmluYWwg
bG9uZyBsZW5ndGg7DQogICAgIHByaXZhdGUgbG9uZyBwb3M7DQogICAgIHByaXZhdGUgZmluYWwg
WmlwRW50cnkgZW50cnk7DQpAQCAtODgxLDE3ICs4OTIsMjUgQEANCiAgICAgcHJpdmF0ZSBmaW5h
bCBNZXNzYWdlRGlnZXN0W10gbWQ7DQogICAgIHByaXZhdGUgYm9vbGVhbiBjaGVja2VkOw0KIA0K
LSAgICBFbnRyeUlucHV0U3RyZWFtKGZpbmFsIFppcEVudHJ5IGVudHJ5LCBmaW5hbCBJbnB1dFN0
cmVhbSBpbikNCisgICAgRW50cnlJbnB1dFN0cmVhbShmaW5hbCBaaXBFbnRyeSBlbnRyeSwNCisJ
CSAgICAgZmluYWwgSW5wdXRTdHJlYW0gaW4sDQorCQkgICAgIGZpbmFsIEphckZpbGUgamFyKQ0K
ICAgICAgIHRocm93cyBJT0V4Y2VwdGlvbg0KICAgICB7DQogICAgICAgc3VwZXIoaW4pOw0KICAg
ICAgIHRoaXMuZW50cnkgPSBlbnRyeTsNCisgICAgICB0aGlzLmphcmZpbGUgPSBqYXI7DQogDQog
ICAgICAgbGVuZ3RoID0gZW50cnkuZ2V0U2l6ZSgpOw0KICAgICAgIHBvcyA9IDA7DQogICAgICAg
Y2hlY2tlZCA9IGZhbHNlOw0KIA0KLSAgICAgIEF0dHJpYnV0ZXMgYXR0ciA9IG1hbmlmZXN0Lmdl
dEF0dHJpYnV0ZXMoZW50cnkuZ2V0TmFtZSgpKTsNCisgICAgICBBdHRyaWJ1dGVzIGF0dHI7DQor
ICAgICAgTWFuaWZlc3QgbWFuaWZlc3QgPSBqYXJmaWxlLmdldE1hbmlmZXN0KCk7DQorICAgICAg
aWYgKG1hbmlmZXN0ICE9IG51bGwpDQorCWF0dHIgPSBtYW5pZmVzdC5nZXRBdHRyaWJ1dGVzKGVu
dHJ5LmdldE5hbWUoKSk7DQorICAgICAgZWxzZQ0KKwlhdHRyID0gbnVsbDsNCiAgICAgICBpZiAo
REVCVUcpDQogICAgICAgICBkZWJ1ZygidmVyaWZ5aW5nIGVudHJ5ICIgKyBlbnRyeSArICIgYXR0
cj0iICsgYXR0cik7DQogICAgICAgaWYgKGF0dHIgPT0gbnVsbCkNCkBAIC0xMDExLDE3ICsxMDMw
LDI0IEBADQogICAgICAgICAgICAgICAgICAgKyAiIGNvbXA9IiArIG5ldyBqYXZhLm1hdGguQmln
SW50ZWdlcihoYXNoKS50b1N0cmluZygxNikpOw0KICAgICAgICAgICBpZiAoIUFycmF5cy5lcXVh
bHMoaGFzaCwgaGFzaGVzW2ldKSkNCiAgICAgICAgICAgICB7DQotICAgICAgICAgICAgICBpZiAo
REVCVUcpDQotICAgICAgICAgICAgICAgIGRlYnVnKGVudHJ5ICsgIiBjb3VsZCBOT1QgYmUgdmVy
aWZpZWQiKTsNCi0gICAgICAgICAgICAgIHZlcmlmaWVkLnB1dChlbnRyeS5nZXROYW1lKCksIEJv
b2xlYW4uRkFMU0UpOw0KLSAgICAgICAgICAgICAgcmV0dXJuOw0KLSAgICAgICAgICAgICAgLy8g
WFhYID8/PyB3aGF0IGRvIHdlIGRvIGhlcmU/DQotICAgICAgICAgICAgICAvLyB0aHJvdyBuZXcg
WmlwRXhjZXB0aW9uKCJtZXNzYWdlIGRpZ2VzdCBtaXNtYXRjaCIpOw0KKwkgICAgICBzeW5jaHJv
bml6ZWQoamFyZmlsZSkNCisJCXsNCisJCSAgaWYgKERFQlVHKQ0KKwkJICAgIGRlYnVnKGVudHJ5
ICsgIiBjb3VsZCBOT1QgYmUgdmVyaWZpZWQiKTsNCisJCSAgamFyZmlsZS52ZXJpZmllZC5wdXQo
ZW50cnkuZ2V0TmFtZSgpLCBCb29sZWFuLkZBTFNFKTsNCisJCX0NCisJICAgICAgcmV0dXJuOw0K
KwkgICAgICAvLyBYWFggPz8/IHdoYXQgZG8gd2UgZG8gaGVyZT8NCisJICAgICAgLy8gdGhyb3cg
bmV3IFppcEV4Y2VwdGlvbigibWVzc2FnZSBkaWdlc3QgbWlzbWF0Y2giKTsNCiAgICAgICAgICAg
ICB9DQogICAgICAgICB9DQotICAgICAgaWYgKERFQlVHKQ0KLSAgICAgICAgZGVidWcoZW50cnkg
KyAiIGhhcyBiZWVuIFZFUklGSUVEIik7DQotICAgICAgdmVyaWZpZWQucHV0KGVudHJ5LmdldE5h
bWUoKSwgQm9vbGVhbi5UUlVFKTsNCisNCisgICAgICBzeW5jaHJvbml6ZWQoamFyZmlsZSkNCisJ
ew0KKwkgIGlmIChERUJVRykNCisJICAgIGRlYnVnKGVudHJ5ICsgIiBoYXMgYmVlbiBWRVJJRklF
RCIpOw0KKwkgIGphcmZpbGUudmVyaWZpZWQucHV0KGVudHJ5LmdldE5hbWUoKSwgQm9vbGVhbi5U
UlVFKTsNCisJfQ0KICAgICB9DQogICB9DQogfQ0K

--=-ncWZzENW6lSb4bGCQAO4--

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

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

iD8DBQBBk5RjxVhZCJWr9QwRAgK5AJ9HIp5NdIsVJ+M9kuj5AQhd9qyaKwCcCRpE
ACS9Ih13KRLbR5KeRtWJ7nI=
=im7D
-----END PGP SIGNATURE-----

--=-bdWDX/gvgwqakW26bIEU--




From MAILER-DAEMON Thu Nov 11 14:27:09 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSKb6-00079g-SA
	for mharc-classpath@gnu.org; Thu, 11 Nov 2004 14:27:08 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSKb5-00079O-1Z
	for classpath@gnu.org; Thu, 11 Nov 2004 14:27:07 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSKb4-00079C-JK
	for classpath@gnu.org; Thu, 11 Nov 2004 14:27:06 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSKb4-000799-H2
	for classpath@gnu.org; Thu, 11 Nov 2004 14:27:06 -0500
Received: from [204.9.98.14] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSKS3-0007VG-Gj
	for classpath@gnu.org; Thu, 11 Nov 2004 14:17:47 -0500
Received: from [192.168.160.201] ([192.168.160.201]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.211); 
	Thu, 11 Nov 2004 14:21:16 -0500
Message-ID: <4193BAD1.50804@netreach.com>
Date: Thu, 11 Nov 2004 14:17:37 -0500
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040926)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>, "'kaffe@kaffe.org'" <kaffe@kaffe.org>
X-Enigmail-Version: 0.86.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 11 Nov 2004 19:21:19.0119 (UTC)
	FILETIME=[9F0F09F0:01C4C823]
Cc: 
Subject: ANNOUNCE: japitools 0.9.5 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Nov 2004 19:27:07 -0000

I'm pleased to announce the release of japitools 0.9.5. japitools, as 
many of you know, is a toolkit for testing implementations of Java APIs 
for binary compatibility.

Homepage: http://www.kaffe.org/~stuart/japi/
Download: http://www.kaffe.org/~stuart/japi/japitools-0.9.5.tar.gz

Producers of japi files are urged to produce new files with the latest 
version, as several minor bugs have been identified in version 0.9.4 
which will lead to erroneous information being reported by the nightly 
comparison pages.

Special thanks to Jeroen Frijters for producing an entire rewrite of the 
classfile reading code in a matter of days, exposing a bunch of 
longstanding errors in the process, and generally knowing altogether too 
much about the behavior of VMs and compilers ;) Also thanks to Michael 
Koch for spotting the possibility of using japio files to decide which 
errors should be ignored, making possible the most visible new feature 
of this release.

New features since 0.9.4:

     * A much-requested feature: the ability to ignore differences when 
reporting compatibility with an early API release, if those differences 
are required for compatibility with a later release. See the description 
of the -i flag below for more information. This new code has been 
running nightly for a while producing the results linked from the 
homepage, without any known problems. It reveals that the free 
implementations are much closer to full coverage of 1.0 and 1.1 than was 
previously apparent - in fact already perfect for 1.0 and in Classpath's 
case only one method away from 1.1.
       Thanks to Michael Koch for the key insight that enabled this 
feature to finally be written, four years after I first said it was needed.

     * A new bytecode reading implementation from Jeroen Frijters to 
replace Jode. This vastly reduces the amount of code because it only 
reads and understands the bits of metadata we actually need, where Jode 
was part of a larger system that needed more information. This code also 
fixes a "Miranda Methods" bug in the Jode implementation.

     * Also from Jeroen: methods in final classes are now treated as 
final even if they weren't explicitly marked as such.

     * Correct access modifiers on inner classes. Jeroen caught this one 
and the fix was a joint effort.

     * japicompat will warn if using a japi file from an older release 
that contains known bugs. That covers all versions except for this one, 
in fact. Use the -w flag to disable this warning.

     * Better support for launching japiotext and japiohtml on Windows 
systems (some issues may remain, however).

     * The serialize and serialcompat tools have been removed (they are 
now a module in the Mauve project).

-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Thu Nov 11 16:51:08 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSMqS-0005c9-1M
	for mharc-classpath@gnu.org; Thu, 11 Nov 2004 16:51:08 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSMqP-0005Z6-PK
	for classpath@gnu.org; Thu, 11 Nov 2004 16:51:05 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSMqP-0005YF-63
	for classpath@gnu.org; Thu, 11 Nov 2004 16:51:05 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSMqP-0005YB-2k
	for classpath@gnu.org; Thu, 11 Nov 2004 16:51:05 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSMhV-0006B2-HG
	for classpath@gnu.org; Thu, 11 Nov 2004 16:41:53 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	iABLfo7239098; Thu, 11 Nov 2004 16:41:51 -0500
Received: from sp1n293en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with
	ESMTP id iABLfok55754; Thu, 11 Nov 2004 16:41:50 -0500
Received: from watson.ibm.com (bilbo.watson.ibm.com [9.2.32.197])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with
	ESMTP id iABLfn255752; Thu, 11 Nov 2004 16:41:49 -0500
Message-ID: <4193DC9D.9000103@watson.ibm.com>
Date: Thu, 11 Nov 2004 16:41:49 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en-us, en, it
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <1100121333.20858.68.camel@localhost.localdomain>
In-Reply-To: <1100121333.20858.68.camel@localhost.localdomain>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: GNU Classpath 0.12, ..., 1.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Nov 2004 21:51:06 -0000

Mark Wielaard wrote:

> I want to try to make the 0.12 release with all the great new stuff on
> Friday (Nov 12). 
I would really prefer that we not do the 0.12 release with the stuff 
on Friday.  As I discovered last night (and have written separately to 
the list), changes made on Tuesday have broken Jikes RVM with GNU 
Classpath CVS Head.  I would very much like us to be able to work with 
Classpath 0.12, rather than having to explicitly tell people that it's 
unusable for our purposes.



-- 
Steven Augart

Jikes RVM, a free, open source, Virtual Machine:
http://oss.software.ibm.com/jikesrvm




From MAILER-DAEMON Thu Nov 11 17:10:09 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSN8q-0003iC-T7
	for mharc-classpath@gnu.org; Thu, 11 Nov 2004 17:10:09 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSN8o-0003hz-A8
	for classpath@gnu.org; Thu, 11 Nov 2004 17:10:06 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSN8m-0003hP-Ci
	for classpath@gnu.org; Thu, 11 Nov 2004 17:10:04 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSN8m-0003hM-1i
	for classpath@gnu.org; Thu, 11 Nov 2004 17:10:04 -0500
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSMzu-0000kb-36
	for classpath@gnu.org; Thu, 11 Nov 2004 17:00:54 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CSMz1-0002eB-00; Thu, 11 Nov 2004 22:59:59 +0100
From: Mark Wielaard <mark@klomp.org>
To: Steven Augart <augart@watson.ibm.com>
In-Reply-To: <4193DC9D.9000103@watson.ibm.com>
References: <1100121333.20858.68.camel@localhost.localdomain>
	<4193DC9D.9000103@watson.ibm.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-Qh/LWUCRktD4j4x9UVuy"
Message-Id: <1100210467.8141.8.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Thu, 11 Nov 2004 23:01:07 +0100
Cc: classpath@gnu.org
Subject: Re: GNU Classpath 0.12, ..., 1.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Nov 2004 22:10:07 -0000


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

Hi,

On Thu, 2004-11-11 at 22:41, Steven Augart wrote:
> Mark Wielaard wrote:
>=20
> > I want to try to make the 0.12 release with all the great new stuff on
> > Friday (Nov 12).=20
> I would really prefer that we not do the 0.12 release with the stuff=20
> on Friday.  As I discovered last night (and have written separately to=20
> the list), changes made on Tuesday have broken Jikes RVM with GNU=20
> Classpath CVS Head.  I would very much like us to be able to work with=20
> Classpath 0.12, rather than having to explicitly tell people that it's=20
> unusable for our purposes.

Yup. I am going way to slowly through the regressions. Hopefully we get
them all fixed. But I cannot guarantee. I should have been more clear on
the release dates. I will make sure to re-announce those more clearly
for the next release. While I was preparing the release last weekend a
lot of nice new toys came in. Which is why we are postponing till Friday
already. I don't have a clear view on your particular regression though.
But I will try to fix it before the release. I don't want to postpone
the release much more though since we will be switching to monthly
releases soon anyway. And I will be on vacation to Boston next week and
don't know how much time, if any, I will have then.

Cheers,

Mark

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

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

iD8DBQBBk+EjxVhZCJWr9QwRAjEAAJ44kuFO0nSoQWeDhv7ZIkoJg1l9fwCfQ5JM
ztIgds2o3kd2rVuDuWK4SQw=
=vozw
-----END PGP SIGNATURE-----

--=-Qh/LWUCRktD4j4x9UVuy--




From MAILER-DAEMON Thu Nov 11 17:28:36 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSNQi-00009W-NW
	for mharc-classpath@gnu.org; Thu, 11 Nov 2004 17:28:36 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSNQh-00006t-1N
	for classpath@gnu.org; Thu, 11 Nov 2004 17:28:35 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSNQg-00006E-GW
	for classpath@gnu.org; Thu, 11 Nov 2004 17:28:34 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSNQg-000068-Cz
	for classpath@gnu.org; Thu, 11 Nov 2004 17:28:34 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CSNHe-0003kx-56; Thu, 11 Nov 2004 17:19:14 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	iABMJB7137376; Thu, 11 Nov 2004 17:19:11 -0500
Received: from sp1n293en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with
	ESMTP id iABMJAk15218; Thu, 11 Nov 2004 17:19:10 -0500
Received: from watson.ibm.com (bilbo.watson.ibm.com [9.2.32.197])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with
	ESMTP id iABMJA234736; Thu, 11 Nov 2004 17:19:10 -0500
Message-ID: <4193E55E.8010306@watson.ibm.com>
Date: Thu, 11 Nov 2004 17:19:10 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en-us, en, it
MIME-Version: 1.0
To: Casey Marshall <csm@gnu.org>
References: <200411081116.iA8BGAsc029075@wormtongue.watson.ibm.com>	<418FF72D.5060302@watson.ibm.com>	<1099955574.4388.45.camel@localhost.localdomain>
	<87654fpodv.fsf@gnu.org>
In-Reply-To: <87654fpodv.fsf@gnu.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Mark Wielaard <mark@klomp.org>,
	jikesrvm-regression@www-124.southbury.usf.ibm.com, classpath@gnu.org
Subject: Re: [Jikesrvm-regression] classpath CVS head regression FAILED 4
 tests;       0 mauve failures
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Nov 2004 22:28:35 -0000

Casey Marshall wrote:
>>>>>>"Mark" == Mark Wielaard <mark@klomp.org> writes:
> Mark> On Mon, 2004-11-08 at 23:46, Steven Augart wrote:
>>>at java.util.jar.JarFile.verify(JarFile.java:669)
>>>at java.util.jar.JarFile.readSignatures(JarFile.java:561)
>>>at java.util.jar.JarFile.getEntry(JarFile.java:406)
>>>at java.util.jar.JarFile.getJarEntry(JarFile.java:475)
> The code checks if the signature file identifier is DSA or RSA, but
> unfortunately leaves the Signature object 'null' if it is
> neither. Which is odd; Steven, is this Jar file signed? Any chance I
> could get some info about it, if it is? Like what algorithm signed it?

It appears to be signed by DSA.  I can't re-run it right now with 
tracing turned on for the class loader, since Classpath CVS head isn't
working with the VM, but looking at the META-INF directories, they all 
say:

/tmp/SJ $ ls -R */META-INF
check.jar/META-INF:
MANIFEST.MF  SPECJBB2.DSA  SPECJBB2.SF

jbb.jar/META-INF:
MANIFEST.MF  SPECJBB2.DSA  SPECJBB2.SF

jbb_no_precompile.jar/META-INF:
MANIFEST.MF  SPECJBB2.DSA  SPECJBB2.SF

reporter.jar/META-INF:
MANIFEST.MF  SPECJBB2.DSA  SPECJBB2.SF
/tmp/SJ $

I've tarred up the META-INF directories and am sending them to you 
(Casey) separately.  I'll send copies to anyone interested.

--Steve Augart






From MAILER-DAEMON Thu Nov 11 19:02:42 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSOtl-00043g-Ce
	for mharc-classpath@gnu.org; Thu, 11 Nov 2004 19:02:42 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSOtj-00043T-De
	for classpath@gnu.org; Thu, 11 Nov 2004 19:02:39 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSOti-00043D-GH
	for classpath@gnu.org; Thu, 11 Nov 2004 19:02:38 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSOti-00042y-72
	for classpath@gnu.org; Thu, 11 Nov 2004 19:02:38 -0500
Received: from [62.13.128.134] (helo=punt-mx0.dmpriest.net.uk)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSOlA-0002nQ-8G
	for classpath@gnu.org; Thu, 11 Nov 2004 18:53:48 -0500
Received: from squirrel.dmpriest.net.uk (secure.authsmtp.com [62.13.128.25])
	by punt-mx0.dmpriest.net.uk (8.12.11/8.12.11/Kp) with ESMTP id
	iABNrjvj063581; Thu, 11 Nov 2004 23:53:45 GMT
Received: from [82.5.11.178] (cpc1-hem14-6-0-cust178.lutn.cable.ntl.com
	[82.5.11.178]) (authenticated bits=0)
	by squirrel.dmpriest.net.uk (8.13.1/8.13.1/Kp) with ESMTP id
	iABNriZr046129; Thu, 11 Nov 2004 23:53:44 GMT
	(envelope-from david.gilbert@object-refinery.com)
From: David Gilbert <david.gilbert@object-refinery.com>
To: classpath@gnu.org
Content-Type: text/plain
Message-Id: <1100217231.5072.11.camel@linux42.overstone>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Thu, 11 Nov 2004 23:53:52 +0000
Content-Transfer-Encoding: 7bit
X-Authentic-SMTP: 61633132333134.squirrel.dmpriest.net.uk:Kp
X-Powered-By: AuthSMTP - http://www.authsmtp.com - Authenticated SMTP Mail
	Relay
X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse
X-Virus-Status: No virus detected - but ensure you scan with your own
	anti-virus system!
Cc: mauve-discuss@sources.redhat.com
Subject: Mauve results...
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 00:02:39 -0000

I ran (most of) the Mauve tests tonight (using JamVM 1.2 and the latest
CVS version of Classpath) and posted the results here for anyone that is
interested:

http://www.object-refinery.com/classpath/mauve-report/latest/

The above reports exclude about 10 test files that won't run for me yet
- I'll look into those when I get a chance.

Regards,

Dave Gilbert.




From MAILER-DAEMON Thu Nov 11 19:10:11 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSP10-00061V-C4
	for mharc-classpath@gnu.org; Thu, 11 Nov 2004 19:10:10 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSP0y-000601-HO
	for classpath@gnu.org; Thu, 11 Nov 2004 19:10:08 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSP0w-0005yk-2S
	for classpath@gnu.org; Thu, 11 Nov 2004 19:10:06 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSP0v-0005yS-LJ
	for classpath@gnu.org; Thu, 11 Nov 2004 19:10:05 -0500
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSOsF-00043n-J0
	for classpath@gnu.org; Thu, 11 Nov 2004 19:01:07 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CSOrZ-0002y7-00; Fri, 12 Nov 2004 01:00:25 +0100
From: Mark Wielaard <mark@klomp.org>
To: David Gilbert <david.gilbert@object-refinery.com>
In-Reply-To: <1100217231.5072.11.camel@linux42.overstone>
References: <1100217231.5072.11.camel@linux42.overstone>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-SMVJ23guZoiaVDyPScT8"
Message-Id: <1100217694.8141.89.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 12 Nov 2004 01:01:34 +0100
Cc: classpath@gnu.org, mauve-discuss@sources.redhat.com
Subject: Re: Mauve results...
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 00:10:09 -0000


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

Hi David,

On Fri, 2004-11-12 at 00:53, David Gilbert wrote:
> I ran (most of) the Mauve tests tonight (using JamVM 1.2 and the latest
> CVS version of Classpath) and posted the results here for anyone that is
> interested:
>=20
> http://www.object-refinery.com/classpath/mauve-report/latest/
>=20
> The above reports exclude about 10 test files that won't run for me yet
> - I'll look into those when I get a chance.

Thanks!
Can you post that list of files?
Maybe someone immediately knows what is wrong with those.

Cheers,

Mark

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

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

iD8DBQBBk/1exVhZCJWr9QwRAufNAJ0cKe3RKXh68GsRSylZytcCWtjfCQCdGt+H
O18nI2mtDsjgUrNtGLNwGoA=
=xs7c
-----END PGP SIGNATURE-----

--=-SMVJ23guZoiaVDyPScT8--




From MAILER-DAEMON Thu Nov 11 19:46:06 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSPZm-000071-EL
	for mharc-classpath@gnu.org; Thu, 11 Nov 2004 19:46:06 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSPZk-00006w-I3
	for classpath@gnu.org; Thu, 11 Nov 2004 19:46:04 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSPZk-00006k-8n
	for classpath@gnu.org; Thu, 11 Nov 2004 19:46:04 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSPZk-00006h-1T
	for classpath@gnu.org; Thu, 11 Nov 2004 19:46:04 -0500
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSPQo-0001Dy-FO
	for classpath@gnu.org; Thu, 11 Nov 2004 19:36:50 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CSPQC-00035Q-00; Fri, 12 Nov 2004 01:36:12 +0100
From: Mark Wielaard <mark@klomp.org>
To: "Grzegorz B. Prokopski" <gadek@debian.org>
In-Reply-To: <1100145617.12038.414.camel@localhost.localdomain>
References: <1100121333.20858.68.camel@localhost.localdomain>
	<1100145617.12038.414.camel@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-sn2iiqHyTmUhCwo6taWo"
Message-Id: <1100219841.8141.91.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 12 Nov 2004 01:37:22 +0100
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: GNU Classpath 0.12, ..., 1.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 00:46:04 -0000


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

Hi,

On Thu, 2004-11-11 at 05:00, Grzegorz B. Prokopski wrote:

> Caused by: java.lang.NullPointerException
>    at java.util.jar.JarFile.getInputStream (JarFile.java:458)
>    at gnu.java.net.protocol.jar.Connection.getInputStream
> (Connection.java:163)
>    at java.net.URL.openStream (URL.java:683)
>    at java.lang.ClassLoader.getSystemResourceAsStream
> (ClassLoader.java:932)
>    at java.util.ResourceBundle.tryBundle (ResourceBundle.java:529)
>    at java.util.ResourceBundle.getBundle (ResourceBundle.java:414)
>    at java.util.ResourceBundle.getBundle (ResourceBundle.java:287)
>    at gnu.regexp.RE.static{} (RE.java:126)
>    at java.lang.VMClass.step8 (VMClass.java)
>    at java.lang.Class.initialize (Class.java:145)
>    ...10 more
>=20
> So, if you have a fix for that, could you please post it or check in?
> Robilad told me he has the same kind of issue with Kaffe as we have with
> SableVM after the merge.

I checked in a fix for JarFile this morning.

Cheers,

Mark

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

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

iD8DBQBBlAXBxVhZCJWr9QwRArMmAJ4zoXkptTqytKssJCK5RLSxTJ5ejwCfdn15
T2JiNdO2YDgVhEDhfoglRX8=
=Gyy7
-----END PGP SIGNATURE-----

--=-sn2iiqHyTmUhCwo6taWo--




From MAILER-DAEMON Thu Nov 11 19:48:48 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSPcN-0000XO-TF
	for mharc-classpath@gnu.org; Thu, 11 Nov 2004 19:48:47 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSPcM-0000Wy-JW
	for classpath@gnu.org; Thu, 11 Nov 2004 19:48:46 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSPcK-0000WB-Ul
	for classpath@gnu.org; Thu, 11 Nov 2004 19:48:45 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSPcK-0000W8-OV
	for classpath@gnu.org; Thu, 11 Nov 2004 19:48:44 -0500
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSPTm-0001hm-L7
	for classpath@gnu.org; Thu, 11 Nov 2004 19:39:54 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CSPTA-00035x-00; Fri, 12 Nov 2004 01:39:16 +0100
From: Mark Wielaard <mark@klomp.org>
To: "Grzegorz B. Prokopski" <gadek@debian.org>
In-Reply-To: <1100156818.12038.489.camel@localhost.localdomain>
References: <1100121333.20858.68.camel@localhost.localdomain>
	<1100145617.12038.414.camel@localhost.localdomain>
	<1100156818.12038.489.camel@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-Dc6V758M0ZB2Wkc2MGBQ"
Message-Id: <1100220026.8141.95.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 12 Nov 2004 01:40:26 +0100
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: GNU Classpath 0.12, ..., 1.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 00:48:47 -0000


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

Hi,

On Thu, 2004-11-11 at 08:06, Grzegorz B. Prokopski wrote:
> But I noticed one regression.  The Sun's "SymbolTest" you can get from
> http://www-uxsup.csx.cam.ac.uk/java/jdk-1.2.2/demo/applets/SymbolTest/Sym=
bolTest.java
> used to work i.e. 6 months ago and even year ago.  But now I only get
> increased CPU usage for a few seconds and then it stops.  Not sure
> whether it's SableVM-specific, given that other tests work.

Can you be a bit more specific when this broke. 6 months is a long time
in GNU Classpath time. Alternatively, could you provide a example of
this breakage that doesn't say "Licensee does not utilize the software
in a manner which is disparaging to Sun". I know we should all be
friends and not call each other names, but I don't think this is a free
software license.

Thanks,

Mark

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

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

iD8DBQBBlAZ6xVhZCJWr9QwRArhXAKCagTTinKTupC3c2Tmz+WJzqCglsgCfXubG
m/4BfUldw3PF+xFDIQBni/s=
=0aTe
-----END PGP SIGNATURE-----

--=-Dc6V758M0ZB2Wkc2MGBQ--




From MAILER-DAEMON Fri Nov 12 01:09:46 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSUd0-0005Kn-AV
	for mharc-classpath@gnu.org; Fri, 12 Nov 2004 01:09:46 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSUcy-0005Jg-32
	for classpath@gnu.org; Fri, 12 Nov 2004 01:09:44 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSUcx-0005JF-9l
	for classpath@gnu.org; Fri, 12 Nov 2004 01:09:43 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSUcx-0005JC-5H
	for classpath@gnu.org; Fri, 12 Nov 2004 01:09:43 -0500
Received: from [24.25.9.100] (helo=ms-smtp-01-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSUUC-0001Pf-U0
	for classpath@gnu.org; Fri, 12 Nov 2004 01:00:41 -0500
Received: from [192.168.0.3] (rdu74-160-248.nc.rr.com [24.74.160.248])
	by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	iAC60cKj004394; Fri, 12 Nov 2004 01:00:38 -0500 (EST)
From: "C. Brian Jones" <cbj@gnu.org>
To: Stuart Ballard <sballard@netreach.com>
In-Reply-To: <4193BAD1.50804@netreach.com>
References: <4193BAD1.50804@netreach.com>
Content-Type: text/plain
Message-Id: <1100239237.31424.4.camel@fencepost.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Fri, 12 Nov 2004 01:00:37 -0500
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: classpath <classpath@gnu.org>, "'kaffe@kaffe.org'" <kaffe@kaffe.org>
Subject: Re: ANNOUNCE: japitools 0.9.5 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 06:09:44 -0000

On Thu, 2004-11-11 at 14:17, Stuart Ballard wrote:
> 
>      * A new bytecode reading implementation from Jeroen Frijters to 
> replace Jode. This vastly reduces the amount of code because it only 
> reads and understands the bits of metadata we actually need, where Jode 
> was part of a larger system that needed more information. This code also 
> fixes a "Miranda Methods" bug in the Jode implementation.

I'm somewhat interested in this for use in javah/javap, to replace
gnu.bytecode which again does way more than is necessary.  Is it
suitable Jeroen and would you be willing to put it in Classpath tools or
let me do it?

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




From MAILER-DAEMON Fri Nov 12 03:21:08 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSWg8-0002f6-Ay
	for mharc-classpath@gnu.org; Fri, 12 Nov 2004 03:21:08 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSWg6-0002eu-4I
	for classpath@gnu.org; Fri, 12 Nov 2004 03:21:06 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSWg5-0002ei-Lm
	for classpath@gnu.org; Fri, 12 Nov 2004 03:21:05 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSWg5-0002ef-HX
	for classpath@gnu.org; Fri, 12 Nov 2004 03:21:05 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSWX8-0004yr-GP
	for classpath@gnu.org; Fri, 12 Nov 2004 03:11:50 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	iAC8Bl772324; Fri, 12 Nov 2004 03:11:47 -0500
Received: from sp1n293en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with
	ESMTP id iAC8Bkk52440; Fri, 12 Nov 2004 03:11:46 -0500
Received: from [9.65.208.124] (sig-9-65-208-124.mts.ibm.com [9.65.208.124])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with
	ESMTP id iAC8Bj252438; Fri, 12 Nov 2004 03:11:45 -0500
Message-ID: <4194703D.8000608@watson.ibm.com>
Date: Fri, 12 Nov 2004 03:11:41 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: en-us, en, it
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <1100121333.20858.68.camel@localhost.localdomain>	
	<4193DC9D.9000103@watson.ibm.com>
	<1100210467.8141.8.camel@localhost.localdomain>
In-Reply-To: <1100210467.8141.8.camel@localhost.localdomain>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: GNU Classpath 0.12, ..., 1.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 08:21:06 -0000

Mark Wielaard wrote:

> Yup. I am going way to slowly through the regressions. Hopefully we get
> them all fixed. But I cannot guarantee. I should have been more clear on
> the release dates. I will make sure to re-announce those more clearly
> for the next release. While I was preparing the release last weekend a
> lot of nice new toys came in. Which is why we are postponing till Friday
> already. I don't have a clear view on your particular regression though.
> But I will try to fix it before the release. I don't want to postpone
> the release much more though since we will be switching to monthly
> releases soon anyway. And I will be on vacation to Boston next week and
> don't know how much time, if any, I will have then.

This makes good sense.

Especially since we're going to the monthly Classpath release cycle,
I suppose it wouldn't be the end of the world if Jikes RVM were to
skip this Classpath intermediate version.  We did it before when we
skipped 0.09.

--Steve A


--




From MAILER-DAEMON Fri Nov 12 04:11:24 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSXSl-0006GB-W0
	for mharc-classpath@gnu.org; Fri, 12 Nov 2004 04:11:24 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSXSk-0006G4-5i
	for classpath@gnu.org; Fri, 12 Nov 2004 04:11:22 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSXSj-0006Fs-CJ
	for classpath@gnu.org; Fri, 12 Nov 2004 04:11:21 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSXSj-0006Fp-2y
	for classpath@gnu.org; Fri, 12 Nov 2004 04:11:21 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CSXJt-0004Qg-Dc; Fri, 12 Nov 2004 04:02:13 -0500
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.6944.0
Date: Fri, 12 Nov 2004 10:02:07 +0100
Message-ID: <D92197D0A6547B44A1567814F851FA6802A494@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: ANNOUNCE: japitools 0.9.5 released
thread-index: AcTIfSQrzot6POUgTPCFk5oyod+sXAAGKY5Q
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "C. Brian Jones" <cbj@gnu.org>,
	"Stuart Ballard" <sballard@netreach.com>
Cc: classpath <classpath@gnu.org>, kaffe@kaffe.org
Subject: RE: ANNOUNCE: japitools 0.9.5 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 09:11:22 -0000

C. Brian Jones wrote:
> I'm somewhat interested in this for use in javah/javap, to replace
> gnu.bytecode which again does way more than is necessary.  Is it
> suitable Jeroen and would you be willing to put it in Classpath
> tools or let me do it?

The current code has some ties to Japize, but it would be easy to
refactor. Alternatively you can just copy the code into Classpath tools
and modify it there, that might actually be a better idea, since for
javap you'll also need to add bytecode support.

Regards,
Jeroen



From MAILER-DAEMON Fri Nov 12 05:52:24 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSZ2S-00050G-Qk
	for mharc-classpath@gnu.org; Fri, 12 Nov 2004 05:52:23 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSZ2M-0004xW-GS
	for classpath@gnu.org; Fri, 12 Nov 2004 05:52:15 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSZ2J-0004wy-5M
	for classpath@gnu.org; Fri, 12 Nov 2004 05:52:13 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSZ2H-0004vy-4I
	for classpath@gnu.org; Fri, 12 Nov 2004 05:52:10 -0500
Received: from [212.6.122.16] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSYtY-0004Mm-Pr
	for classpath@gnu.org; Fri, 12 Nov 2004 05:43:09 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-93-173.ewetel.net
	[80.228.93.173])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id iACAg9NM003622;
	Fri, 12 Nov 2004 11:42:10 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CSZqf-0000xW-Hw; Fri, 12 Nov 2004 12:44:13 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Fri, 12 Nov 2004 12:43:20 +0100
User-Agent: KMail/1.6.2
References: <4193BAD1.50804@netreach.com>
In-Reply-To: <4193BAD1.50804@netreach.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411121243.20453.konqueror@gmx.de>
X-CheckCompat: OK
Cc: "'kaffe@kaffe.org'" <kaffe@kaffe.org>,
	Stuart Ballard <sballard@netreach.com>
Subject: Re: ANNOUNCE: japitools 0.9.5 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 10:52:16 -0000

Am Donnerstag, 11. November 2004 20:17 schrieb Stuart Ballard:

> Download: http://www.kaffe.org/~stuart/japi/japitools-0.9.5.tar.gz

Is it just me or is this tarball nearly empty ? It is only 125 bytes 
for me and only contains a link from "japi" to "japitools".


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Fri Nov 12 08:42:15 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSbgt-0000Cn-LM
	for mharc-classpath@gnu.org; Fri, 12 Nov 2004 08:42:15 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSbgr-0000B6-Ss
	for classpath@gnu.org; Fri, 12 Nov 2004 08:42:14 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSbgr-0000AS-7y
	for classpath@gnu.org; Fri, 12 Nov 2004 08:42:13 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSbgq-0000A7-Vo
	for classpath@gnu.org; Fri, 12 Nov 2004 08:42:13 -0500
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSbY7-00083D-PN
	for classpath@gnu.org; Fri, 12 Nov 2004 08:33:12 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CSbXD-0004sA-00; Fri, 12 Nov 2004 14:32:15 +0100
From: Mark Wielaard <mark@klomp.org>
To: Steven Augart <augart@watson.ibm.com>
In-Reply-To: <4192FA5A.3060409@watson.ibm.com>
References: <200411110103.iAB13HK6000608@arch20m.dellroad.org>
	<4192FA5A.3060409@watson.ibm.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-DjxsXA38VIOA5fb68ASX"
Message-Id: <1100266410.8141.222.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 12 Nov 2004 14:33:30 +0100
Cc: classpath@gnu.org, jeroen@frijters.net,
	jikesrvm-core@www-124.southbury.usf.ibm.com
Subject: Re: java.lang.System changes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 13:42:14 -0000


--=-DjxsXA38VIOA5fb68ASX
Content-Type: multipart/mixed; boundary="=-1EGcsqC6WTC2ihuAAQEP"


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

Hi,

On Thu, 2004-11-11 at 06:36, Steven Augart wrote:
> The actual problem I'm seeing is that (after having done some
> rearranging of the sequence in which we run static class initializers),
> when I start up my VM, I get a nasty stack trace like this:
>=20
> Exception in thread "Jikes_RVM_Boot_Thread": java.lang.ExceptionInInitial=
izerError: Caught exception while invoking the class initializer for java.n=
et.URL
>          at com.ibm.JikesRVM.VM.runClassInitializer(VM.java:470)
>          at com.ibm.JikesRVM.VM.finishBooting(VM.java:242)
>          at com.ibm.JikesRVM.VM.boot(VM.java:108)
> Caused by: java.lang.NullPointerException
>          at java.lang.System.getProperty(System.java:582)
>          at java.net.URL.<clinit>(URL.java:201)
>          at com.ibm.JikesRVM.VM.runClassInitializer(VM.java:466)
>          at com.ibm.JikesRVM.VM.finishBooting(VM.java:242)
>          at com.ibm.JikesRVM.VM.boot(VM.java:108)
> JikesRVM: exit 113

Hmmm. That comes from some very old code that has probably never been
used in practise. It allows people to disable the caching of URL
protocol handlers. But since protocol handlers are always (and only)
loaded through the system/application class loader it doesn't make that
much sense to not cache them. And I doubt anyone ever ran any
application with the gnu.java.net.nocache_protocol_handlers system
property set to true.

Would/Does the following patch help you out?

2004-11-12  Mark Wielaard  <mark@klomp.org>

        * java/net/URL.java (cache_handlers): Removed field.
        (static): Removed block.
        (getURLStreamHandler): Don't use cache_handlers anymore.

If so, and nobody is really attached to the
gnu.java.net.nocache_protocol_handlers system property then I would like
to commit this.

Cheers,

Mark

--=-1EGcsqC6WTC2ihuAAQEP
Content-Disposition: inline; filename=URL.patch
Content-Type: text/x-patch; name=URL.patch; charset=ANSI_X3.4-1968
Content-Transfer-Encoding: base64

SW5kZXg6IGphdmEvbmV0L1VSTC5qYXZhDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1MgZmlsZTogL2N2c3Jvb3Qv
Y2xhc3NwYXRoL2NsYXNzcGF0aC9qYXZhL25ldC9VUkwuamF2YSx2DQpyZXRyaWV2aW5nIHJldmlz
aW9uIDEuMzkNCmRpZmYgLXUgLXIxLjM5IFVSTC5qYXZhDQotLS0gamF2YS9uZXQvVVJMLmphdmEJ
MTUgT2N0IDIwMDQgMTA6MDQ6NTIgLTAwMDAJMS4zOQ0KKysrIGphdmEvbmV0L1VSTC5qYXZhCTEy
IE5vdiAyMDA0IDEzOjI3OjA3IC0wMDAwDQpAQCAtMTA0LDEzICsxMDQsMTAgQEANCiAgICogUGxl
YXNlIG5vdGUgdGhhdCBhIHByb3RvY29sIGhhbmRsZXIgbXVzdCBiZSBhIHN1YmNsYXNzIG9mDQog
ICAqIFVSTFN0cmVhbUhhbmRsZXIuDQogICAqIDxwPg0KLSAgKiBOb3JtYWxseSwgdGhpcyBjbGFz
cyBjYWNoZXMgcHJvdG9jb2wgaGFuZGxlcnMuICBPbmNlIGl0IGZpbmRzIGEgaGFuZGxlcg0KKyAg
KiBUaGlzIGNsYXNzIGNhY2hlcyBwcm90b2NvbCBoYW5kbGVycy4gIE9uY2UgaXQgZmluZHMgYSBo
YW5kbGVyDQogICAqIGZvciBhIHBhcnRpY3VsYXIgcHJvdG9jb2wsIGl0IG5ldmVyIHRyaWVzIHRv
IGxvb2sgdXAgYSBuZXcgaGFuZGxlcg0KLSAgKiBhZ2Fpbi4gIEhvd2V2ZXIsIGlmIHRoZSBzeXN0
ZW0gcHJvcGVydHkNCi0gICogZ251LmphdmEubmV0Lm5vY2FjaGVfcHJvdG9jb2xfaGFuZGxlcnMg
aXMgc2V0LCB0aGVuIHRoaXMNCi0gICogY2FjaGluZyBiZWhhdmlvciBpcyBkaXNhYmxlZC4gIFRo
aXMgcHJvcGVydHkgaXMgc3BlY2lmaWMgdG8gdGhpcw0KLSAgKiBpbXBsZW1lbnRhdGlvbi4gIFN1
bidzIEpESyBtYXkgb3IgbWF5IG5vdCBkbyBwcm90b2NvbCBjYWNoaW5nLCBidXQgaXQNCi0gICog
YWxtb3N0IGNlcnRhaW5seSBkb2VzIG5vdCBleGFtaW5lIHRoaXMgcHJvcGVydHkuDQorICAqIGFn
YWluLiAgUHJvdG9jb2wgaGFuZGxlcnMgYXJlIGFsd2F5cyAoYW5kIG9ubHkpIGxvYWRlZCB0aHJv
dWdoIHRoZQ0KKyAgKiBzeXN0ZW0gY2xhc3MgbG9hZGVyLg0KICAgKiA8cD4NCiAgICogUGxlYXNl
IGFsc28gbm90ZSB0aGF0IGFuIGFwcGxpY2F0aW9uIGNhbiBpbnN0YWxsIGl0cyBvd24gZmFjdG9y
eSBmb3INCiAgICogbG9hZGluZyBwcm90b2NvbCBoYW5kbGVycyAoc2VlIHNldFVSTFN0cmVhbUhh
bmRsZXJGYWN0b3J5KS4gIElmIHRoaXMgaXMNCkBAIC0xOTIsMjEgKzE4OSw2IEBADQogICBwcml2
YXRlIHN0YXRpYyBIYXNoTWFwIHBoX2NhY2hlID0gbmV3IEhhc2hNYXAoKTsNCiANCiAgIC8qKg0K
LSAgICogV2hldGhlciBvciBub3QgdG8gY2FjaGUgcHJvdG9jb2wgaGFuZGxlcnMuDQotICAgKi8N
Ci0gIHByaXZhdGUgc3RhdGljIGJvb2xlYW4gY2FjaGVfaGFuZGxlcnM7DQotDQotICBzdGF0aWMN
Ci0gICAgew0KLSAgICAgIFN0cmluZyBzID0gU3lzdGVtLmdldFByb3BlcnR5KCJnbnUuamF2YS5u
ZXQubm9jYWNoZV9wcm90b2NvbF9oYW5kbGVycyIpOw0KLQ0KLSAgICAgIGlmIChzID09IG51bGwp
DQotCWNhY2hlX2hhbmRsZXJzID0gdHJ1ZTsNCi0gICAgICBlbHNlDQotCWNhY2hlX2hhbmRsZXJz
ID0gZmFsc2U7DQotICAgIH0NCi0NCi0gIC8qKg0KICAgICogQ29uc3RydWN0cyBhIFVSTCBhbmQg
bG9hZHMgYSBwcm90b2NvbCBoYW5kbGVyIGZvciB0aGUgdmFsdWVzIHBhc3NlZCBhcw0KICAgICog
YXJndW1lbnRzLg0KICAgICoNCkBAIC04NDUsMTIgKzgyNyw4IEBADQogICB7DQogICAgIFVSTFN0
cmVhbUhhbmRsZXIgcGggPSBudWxsOw0KIA0KLSAgICAvLyBGaXJzdCwgc2VlIGlmIGEgcHJvdG9j
b2wgaGFuZGxlciBpcyBpbiBvdXIgY2FjaGUuDQotICAgIGlmIChjYWNoZV9oYW5kbGVycykNCi0g
ICAgICB7DQotCWlmICgocGggPSAoVVJMU3RyZWFtSGFuZGxlcikgcGhfY2FjaGUuZ2V0KHByb3Rv
Y29sKSkgIT0gbnVsbCkNCi0JICByZXR1cm4gcGg7DQotICAgICAgfQ0KKyAgICBpZiAoKHBoID0g
KFVSTFN0cmVhbUhhbmRsZXIpIHBoX2NhY2hlLmdldChwcm90b2NvbCkpICE9IG51bGwpDQorICAg
ICAgcmV0dXJuIHBoOw0KIA0KICAgICAvLyBJZiBhIG5vbi1kZWZhdWx0IGZhY3RvcnkgaGFzIGJl
ZW4gc2V0LCB1c2UgaXQgdG8gZmluZCB0aGUgcHJvdG9jb2wuDQogICAgIGlmIChmYWN0b3J5ICE9
IG51bGwpDQpAQCAtOTA3LDcgKzg4NSw3IEBADQogICAgICAgfQ0KIA0KICAgICAvLyBVcGRhdGUg
dGhlIGhhc2h0YWJsZSB3aXRoIHRoZSBuZXcgcHJvdG9jb2wgaGFuZGxlci4NCi0gICAgaWYgKHBo
ICE9IG51bGwgJiYgY2FjaGVfaGFuZGxlcnMpDQorICAgIGlmIChwaCAhPSBudWxsKQ0KICAgICAg
IHBoX2NhY2hlLnB1dChwcm90b2NvbCwgcGgpOw0KICAgICBlbHNlDQogICAgICAgcGggPSBudWxs
Ow0K

--=-1EGcsqC6WTC2ihuAAQEP--

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

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

iD8DBQBBlLuqxVhZCJWr9QwRAuVrAJsFeLd5+eu3zPHH7RXfQilVQzyjtACePIwd
UvjXVzSpoSIrH0knjiCdd6I=
=ndT8
-----END PGP SIGNATURE-----

--=-DjxsXA38VIOA5fb68ASX--




From MAILER-DAEMON Fri Nov 12 08:54:45 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSbsz-0003dz-Ai
	for mharc-classpath@gnu.org; Fri, 12 Nov 2004 08:54:45 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSbsx-0003dm-Dn
	for classpath@gnu.org; Fri, 12 Nov 2004 08:54:43 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSbsw-0003dT-QS
	for classpath@gnu.org; Fri, 12 Nov 2004 08:54:42 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSbsw-0003dJ-NO
	for classpath@gnu.org; Fri, 12 Nov 2004 08:54:42 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSbkE-0001m1-AH
	for classpath@gnu.org; Fri, 12 Nov 2004 08:45:42 -0500
Received: from sp1n294en1.watson.ibm.com (sp1n294en1.watson.ibm.com
	[129.34.20.40])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	iACDjb749914; Fri, 12 Nov 2004 08:45:37 -0500
Received: from sp1n294en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with
	ESMTP id iACDjaR40112; Fri, 12 Nov 2004 08:45:36 -0500
Received: from [9.65.219.255] ([9.65.219.255])
	by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with
	ESMTP id iACDjZ240110; Fri, 12 Nov 2004 08:45:35 -0500
Message-ID: <4194BE79.10507@watson.ibm.com>
Date: Fri, 12 Nov 2004 08:45:29 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: en-us, en, it
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <200411110103.iAB13HK6000608@arch20m.dellroad.org>	
	<4192FA5A.3060409@watson.ibm.com>
	<1100266410.8141.222.camel@localhost.localdomain>
In-Reply-To: <1100266410.8141.222.camel@localhost.localdomain>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org, jeroen@frijters.net,
	jikesrvm-core@www-124.southbury.usf.ibm.com
Subject: Re: java.lang.System changes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 13:54:43 -0000

Mark Wielaard wrote:

> Would/Does the following patch help you out?
> 
> 2004-11-12  Mark Wielaard  <mark@klomp.org>
> 
>         * java/net/URL.java (cache_handlers): Removed field.
>         (static): Removed block.
>         (getURLStreamHandler): Don't use cache_handlers anymore.

This looks like a solution to the problem, Mark.  I am now
rebuilding Classpath and will write back as soon as I know
whether it worked.

--Steve A



From MAILER-DAEMON Fri Nov 12 10:03:47 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CScxn-0002ra-4e
	for mharc-classpath@gnu.org; Fri, 12 Nov 2004 10:03:47 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CScxk-0002qu-Pw
	for classpath@gnu.org; Fri, 12 Nov 2004 10:03:45 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CScxi-0002pR-LG
	for classpath@gnu.org; Fri, 12 Nov 2004 10:03:42 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CScxi-0002pO-IR
	for classpath@gnu.org; Fri, 12 Nov 2004 10:03:42 -0500
Received: from [204.9.97.99] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CScp7-0004yb-G6
	for classpath@gnu.org; Fri, 12 Nov 2004 09:54:49 -0500
Received: from [192.168.160.201] ([192.168.160.201]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.211); 
	Fri, 12 Nov 2004 09:58:33 -0500
Message-ID: <4194CEB5.5060603@netreach.com>
Date: Fri, 12 Nov 2004 09:54:45 -0500
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040926)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael Koch <konqueror@gmx.de>
References: <4193BAD1.50804@netreach.com> <200411121243.20453.konqueror@gmx.de>
In-Reply-To: <200411121243.20453.konqueror@gmx.de>
X-Enigmail-Version: 0.86.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 12 Nov 2004 14:58:34.0604 (UTC)
	FILETIME=[1516B2C0:01C4C8C8]
Cc: classpath@gnu.org, "'kaffe@kaffe.org'" <kaffe@kaffe.org>
Subject: Re: ANNOUNCE: japitools 0.9.5 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 15:03:45 -0000

Michael Koch wrote:
> Is it just me or is this tarball nearly empty ? It is only 125 bytes 
> for me and only contains a link from "japi" to "japitools".

Oops. Fixed. Sorry. D'oh.

Stuart.

-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Fri Nov 12 10:21:48 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSdFD-0007FM-MW
	for mharc-classpath@gnu.org; Fri, 12 Nov 2004 10:21:47 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSdF9-0007Ed-S4
	for classpath@gnu.org; Fri, 12 Nov 2004 10:21:43 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSdF8-0007E2-SD
	for classpath@gnu.org; Fri, 12 Nov 2004 10:21:43 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSdF8-0007Ds-O0
	for classpath@gnu.org; Fri, 12 Nov 2004 10:21:42 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSd6U-0007x0-1G
	for classpath@gnu.org; Fri, 12 Nov 2004 10:12:46 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	iACFCd7177184; Fri, 12 Nov 2004 10:12:40 -0500
Received: from sp1n293en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with
	ESMTP id iACFCdk54222; Fri, 12 Nov 2004 10:12:39 -0500
Received: from [9.48.46.115] ([9.48.46.115])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with
	ESMTP id iACFCU258500; Fri, 12 Nov 2004 10:12:30 -0500
Message-ID: <4194D2D8.6060108@watson.ibm.com>
Date: Fri, 12 Nov 2004 10:12:24 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: en-us, en, it
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <200411110103.iAB13HK6000608@arch20m.dellroad.org>	
	<4192FA5A.3060409@watson.ibm.com>
	<1100266410.8141.222.camel@localhost.localdomain>
In-Reply-To: <1100266410.8141.222.camel@localhost.localdomain>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org, jeroen@frijters.net,
	jikesrvm-core@www-124.southbury.usf.ibm.com
Subject: Re: java.lang.System changes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 15:21:44 -0000

Mark Wielaard wrote:

> Would/Does the following patch help you out?
> 
> 2004-11-12  Mark Wielaard  <mark@klomp.org>
> 
>         * java/net/URL.java (cache_handlers): Removed field.
>         (static): Removed block.
>         (getURLStreamHandler): Don't use cache_handlers anymore.
Thanks for the attempt.  I'm sorry to say that it wasn't enough
to resolve the problem.  java.net.URLClassLoader.FileURLLoader's
initializer creates a java.io.File as part of its work.  But
java.io.File, in turn, has a class initializer that calls
System.getProperties, so the circular dependency remains.  (It calls
System.getProperties in order to get the value of file.separator.)

I received a suggestion in private mail from David Holmes (who's been
generous with his time in discussing this with me) that we could
break up the initialization of java.lang.System into two
explicitly-invoked phases, and that a VM could optionally request that the
initialization be broken up, based on a configuration setting.
I've asked him for permission to forward the full text of his suggestion
to the list.  I think that is the approach we will have to take.

--Steve A



From MAILER-DAEMON Fri Nov 12 10:46:23 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSdd1-0004f5-MO
	for mharc-classpath@gnu.org; Fri, 12 Nov 2004 10:46:23 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSdd0-0004ey-6x
	for classpath@gnu.org; Fri, 12 Nov 2004 10:46:22 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSdcz-0004ef-HD
	for classpath@gnu.org; Fri, 12 Nov 2004 10:46:21 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSdcz-0004eV-EV
	for classpath@gnu.org; Fri, 12 Nov 2004 10:46:21 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSdUO-0003bF-4x
	for classpath@gnu.org; Fri, 12 Nov 2004 10:37:29 -0500
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.6944.0
Date: Fri, 12 Nov 2004 16:37:24 +0100
Message-ID: <D92197D0A6547B44A1567814F851FA6802A4A8@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: java.lang.System changes
thread-index: AcTIyjjvnehUMUC3SOWshP2OkiEieQAAv19w
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Steven Augart" <augart@watson.ibm.com>, "Mark Wielaard" <mark@klomp.org>
Cc: classpath@gnu.org, jikesrvm-core@www-124.southbury.usf.ibm.com
Subject: RE: java.lang.System changes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 15:46:22 -0000

Steven Augart wrote:
> I received a suggestion in private mail from David Holmes (who's been
> generous with his time in discussing this with me) that we could
> break up the initialization of java.lang.System into two
> explicitly-invoked phases, and that a VM could optionally=20
> request that the initialization be broken up, based on a
> configuration setting.
> I've asked him for permission to forward the full text of his=20
> suggestion to the list.
> I think that is the approach we will have to take.

Isn't it about time that we consider my suggestion to radically reduce
the whole initialization ordering mess by moving everything into
separate classes in the gnu.classpath.internal package?

Regards,
Jeroen



From MAILER-DAEMON Fri Nov 12 11:27:16 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSeGZ-00063p-Ou
	for mharc-classpath@gnu.org; Fri, 12 Nov 2004 11:27:15 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSeGX-000639-Cv
	for classpath@gnu.org; Fri, 12 Nov 2004 11:27:13 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSeGW-00062x-Rv
	for classpath@gnu.org; Fri, 12 Nov 2004 11:27:13 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CSeGW-00062u-Oy; Fri, 12 Nov 2004 11:27:12 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CSe7o-0002JM-LJ; Fri, 12 Nov 2004 11:18:12 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	iACGI9734986; Fri, 12 Nov 2004 11:18:09 -0500
Received: from sp1n293en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with
	ESMTP id iACGI8k58542; Fri, 12 Nov 2004 11:18:08 -0500
Received: from [9.48.46.115] ([9.48.46.115])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with
	ESMTP id iACGI6258640; Fri, 12 Nov 2004 11:18:06 -0500
Message-ID: <4194E239.2020501@watson.ibm.com>
Date: Fri, 12 Nov 2004 11:18:01 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: en-us, en, it
MIME-Version: 1.0
To: Jeroen Frijters <jeroen@sumatra.nl>, classpath-patches@gnu.org
References: <D92197D0A6547B44A1567814F851FA6802A4A8@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA6802A4A8@LEMBU.sumatrasoftware.com>
Content-Type: multipart/mixed; boundary="------------000108040403010807000805"
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org,
	jikesrvm-core@www-124.southbury.usf.ibm.com
Subject: patch for 0.12 (was: Re: java.lang.System changes)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 16:27:13 -0000

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

Jeroen Frijters wrote:
> Steven Augart wrote:
> 
>>I received a suggestion in private mail from David Holmes (who's been
>>generous with his time in discussing this with me) that we could
>>break up the initialization of java.lang.System into two
>>explicitly-invoked phases, and that a VM could optionally 
>>request that the initialization be broken up, based on a
>>configuration setting.
>>I've asked him for permission to forward the full text of his 
>>suggestion to the list.
>>I think that is the approach we will have to take.
> 
> 
> Isn't it about time that we consider my suggestion to radically reduce
> the whole initialization ordering mess by moving everything into
> separate classes in the gnu.classpath.internal package?

I haven't read over your suggestion yet (I haven't been following the
classpath list as closely as I should have for the past month or so),
but it does sound like a good idea.  Obviously, with a release coming
out today, a temporary patch is probably a better idea, if it can be
squeezed in.

And, to that end, I have the following small patch that makes
the current Classpath CVS head work with Jikes RVM.  If someone
else approves it, I'll commit it.
-- 
Steven Augart

Jikes RVM, a free, open source, Virtual Machine:
http://oss.software.ibm.com/jikesrvm

--------------000108040403010807000805
Content-Type: text/plain;
 name="java.lang.System.initialization.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="java.lang.System.initialization.patch"

This patch should be committed with the following ChangeLog entry:

2004-11-12  Steven Augart  <augart@watson.ibm.com>

	* gnu/classpath/Configuration.java.in: Added
	JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION. 
	* configure.ac: Added
	--enable-java-lang-system-explicit-initialization. 
	* java/lang/System.java: Added support for
	JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION. 
	
	
Index: configure.ac
===================================================================
RCS file: /cvsroot/classpath/classpath/configure.ac,v
retrieving revision 1.55
diff -I*.class -u -r1.55 configure.ac
--- configure.ac	26 Oct 2004 20:26:03 -0000	1.55
+++ configure.ac	12 Nov 2004 16:10:43 -0000
@@ -287,6 +287,23 @@
               [INIT_LOAD_LIBRARY="true"])
 AC_SUBST(INIT_LOAD_LIBRARY)
 
+
+dnl -----------------------------------------------------------
+dnl Should the VM explicitly run class initialization subfunctions for
+dnl java.lang.System?   (default is false -- the subfunctions will be run 
+dnl automatically by the class initializer)
+dnl -----------------------------------------------------------
+AC_ARG_ENABLE([java-lang-system-explicit-initialization],
+              [AS_HELP_STRING(--enable-java-lang-system-explicit-initialization,will the VM explicitly invoke java.lang.System's static initialization methods [default=no])],
+              [case "${enableval}" in 
+                yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
+                no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
+                *) AC_MSG_ERROR(bad value ${enableval} for --enable-java-lang-system-explicit-initialization) ;;
+              esac],
+              [JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"])
+AC_SUBST(JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION)
+
+
 dnl -----------------------------------------------------------
 dnl avoiding automake complaints
 dnl -----------------------------------------------------------
Index: java/lang/System.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/lang/System.java,v
retrieving revision 1.43
diff -I*.class -u -r1.43 System.java
--- java/lang/System.java	8 Nov 2004 08:54:50 -0000	1.43
+++ java/lang/System.java	12 Nov 2004 16:10:43 -0000
@@ -64,8 +64,11 @@
    * The System Class Loader (a.k.a. Application Class Loader). The one
    * returned by ClassLoader.getSystemClassLoader. It lives here to prevent
    * a circular initialization dependency between System and ClassLoader.
+   *
+   * We can't make it a blank final, since initSystemClassLoader is a
+   * sub-function.
    */
-  static final ClassLoader systemClassLoader;
+  static ClassLoader systemClassLoader;
 
   /**
    * Stores the current system properties. This can be modified by
@@ -119,12 +122,32 @@
    */
   static
   {
+    if (! Configuration.JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION) {
+      initLoadLibrary();
+      initProperties();
+    }
+    // We *have to* explicitly initialize the streams here, since they're a
+    // blank final field.
+    in = VMSystem.makeStandardInputStream();
+    out = VMSystem.makeStandardOutputStream();
+    err = VMSystem.makeStandardErrorStream();
+    
+    if (! Configuration.JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION) {
+      initSystemClassLoader();
+      initSecurityManager();    // Includes getting the class loader.
+    }
+  }
+
+  static void initLoadLibrary () {
     // Note that this loadLibrary() takes precedence over the one in Object,
     // since Object.<clinit> is waiting for System.<clinit> to complete
     // first; but loading a library twice is harmless.
     if (Configuration.INIT_LOAD_LIBRARY)
       loadLibrary("javalang");
 
+  }
+
+  static void initProperties() {
     Properties defaultProperties = Runtime.defaultProperties;
     defaultProperties.put("gnu.classpath.home",
 		    Configuration.CLASSPATH_HOME);
@@ -286,13 +309,13 @@
     // Note that we use clone here and not new.  Some programs assume
     // that the system properties do not have a parent.
     properties = (Properties) Runtime.defaultProperties.clone();
+  }
 
-    in = VMSystem.makeStandardInputStream();
-    out = VMSystem.makeStandardOutputStream();
-    err = VMSystem.makeStandardErrorStream();
-
+  static void initSystemClassLoader() {
     systemClassLoader = VMClassLoader.getSystemClassLoader();
+  }
 
+  static void initSecurityManager () {
     String secman = properties.getProperty("java.security.manager");
     if (secman != null)
       {
Index: gnu/classpath/Configuration.java.in
===================================================================
RCS file: /cvsroot/classpath/classpath/gnu/classpath/Configuration.java.in,v
retrieving revision 1.12
diff -I*.class -u -r1.12 Configuration.java.in
--- gnu/classpath/Configuration.java.in	17 Nov 2003 18:56:51 -0000	1.12
+++ gnu/classpath/Configuration.java.in	12 Nov 2004 16:10:43 -0000
@@ -1,3 +1,4 @@
+/* -*-java-*- */
 /* gnu.classpath.Configuration
    Copyright (C) 1998, 2001, 2003 Free Software Foundation, Inc.
 
@@ -110,4 +111,16 @@
    * Name of default AWT peer library.
    */
   String default_awt_peer_toolkit = "gnu.java.awt.peer.gtk.GtkToolkit";
+
+  /**
+   * Whether to automatically run the init* methods in java.lang.System
+   * (the default) at class initialization time or whether to have the VM
+   * explicitly invoke them.
+   *
+   * The default is false, meaning the VM does not explicitly run the
+   * initializers. 
+   * 
+   */
+  boolean JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION = 
+	  @JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@;
 }

--------------000108040403010807000805--



From MAILER-DAEMON Fri Nov 12 11:55:32 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSehw-0004Ur-Bw
	for mharc-classpath@gnu.org; Fri, 12 Nov 2004 11:55:32 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSehs-0004To-69
	for classpath@gnu.org; Fri, 12 Nov 2004 11:55:28 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSehr-0004TO-Ct
	for classpath@gnu.org; Fri, 12 Nov 2004 11:55:27 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CSehn-0004S4-Rc; Fri, 12 Nov 2004 11:55:25 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CSeYi-00076f-JG; Fri, 12 Nov 2004 11:46:00 -0500
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.6944.0
Date: Fri, 12 Nov 2004 17:45:57 +0100
Message-ID: <D92197D0A6547B44A1567814F851FA6802A4A9@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: patch for 0.12 (was: Re: java.lang.System changes)
thread-index: AcTI01a4vtOvMLurQB2mhRIBs9zj9AAAH/LQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Steven Augart" <augart@watson.ibm.com>,
	<classpath-patches@gnu.org>
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org,
	jikesrvm-core@www-124.southbury.usf.ibm.com
Subject: RE: patch for 0.12 (was: Re: java.lang.System changes)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 16:55:28 -0000

Steven Augart wrote:
> Jeroen Frijters wrote:
> > Steven Augart wrote:
> >=20
> >>I received a suggestion in private mail from David Holmes=20
> (who's been
> >>generous with his time in discussing this with me) that we could
> >>break up the initialization of java.lang.System into two
> >>explicitly-invoked phases, and that a VM could optionally=20
> >>request that the initialization be broken up, based on a
> >>configuration setting.
> >>I've asked him for permission to forward the full text of his=20
> >>suggestion to the list.
> >>I think that is the approach we will have to take.
> >=20
> >=20
> > Isn't it about time that we consider my suggestion to=20
> radically reduce
> > the whole initialization ordering mess by moving everything into
> > separate classes in the gnu.classpath.internal package?
>=20
> I haven't read over your suggestion yet (I haven't been following the
> classpath list as closely as I should have for the past month or so),
> but it does sound like a good idea.  Obviously, with a release coming
> out today, a temporary patch is probably a better idea, if it can be
> squeezed in.
>=20
> And, to that end, I have the following small patch that makes
> the current Classpath CVS head work with Jikes RVM.  If someone
> else approves it, I'll commit it.

It works fine for me.

Regards,
Jeroen



From MAILER-DAEMON Fri Nov 12 12:09:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSev0-000262-9a
	for mharc-classpath@gnu.org; Fri, 12 Nov 2004 12:09:02 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSeux-00025A-P3
	for classpath@gnu.org; Fri, 12 Nov 2004 12:09:00 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSeuw-00024L-Ff
	for classpath@gnu.org; Fri, 12 Nov 2004 12:08:58 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CSeuw-00024B-As; Fri, 12 Nov 2004 12:08:58 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CSelw-000149-K5; Fri, 12 Nov 2004 11:59:40 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	iACGxb7214826; Fri, 12 Nov 2004 11:59:38 -0500
Received: from sp1n293en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with
	ESMTP id iACGxbk46478; Fri, 12 Nov 2004 11:59:37 -0500
Received: from [9.48.46.115] ([9.48.46.115])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with
	ESMTP id iACGxa246476; Fri, 12 Nov 2004 11:59:36 -0500
Message-ID: <4194EBF2.3020807@watson.ibm.com>
Date: Fri, 12 Nov 2004 11:59:30 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: en-us, en, it
MIME-Version: 1.0
To: Jeroen Frijters <jeroen@sumatra.nl>
References: <D92197D0A6547B44A1567814F851FA6802A4A9@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA6802A4A9@LEMBU.sumatrasoftware.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org,
	classpath-patches@gnu.org, jikesrvm-core@www-124.southbury.usf.ibm.com
Subject: Re: patch for 0.12 (was: Re: java.lang.System changes)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 17:09:00 -0000

Jeroen Frijters wrote:
> Steven Augart wrote:
>>And, to that end, I have the following small patch that makes
>>the current Classpath CVS head work with Jikes RVM.  If someone
>>else approves it, I'll commit it.
> 
> It works fine for me.

Thanks for looking at it, Jeroen.

I've committed this change to Classpath CVS.

--Steve Augart

-- 
Steven Augart

Jikes RVM, a free, open source, Virtual Machine:
http://oss.software.ibm.com/jikesrvm



From MAILER-DAEMON Fri Nov 12 12:29:14 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSfEY-0007CN-H6
	for mharc-classpath@gnu.org; Fri, 12 Nov 2004 12:29:14 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSfEX-0007CI-Qa
	for classpath@gnu.org; Fri, 12 Nov 2004 12:29:13 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSfEX-0007C6-Cv
	for classpath@gnu.org; Fri, 12 Nov 2004 12:29:13 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSfEX-0007C3-6X
	for classpath@gnu.org; Fri, 12 Nov 2004 12:29:13 -0500
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CSf5x-0004ai-4b
	for classpath@gnu.org; Fri, 12 Nov 2004 12:20:21 -0500
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iACHK9pO026942;
	Fri, 12 Nov 2004 12:20:15 -0500
Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com
	[172.16.14.4])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iACHK9r31735; 
	Fri, 12 Nov 2004 12:20:09 -0500
Received: from [172.16.14.67] (towel.toronto.redhat.com [172.16.14.67])
	by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id
	iACHK8oS009142; Fri, 12 Nov 2004 12:20:08 -0500
Message-ID: <4194F0C8.3040506@redhat.com>
Date: Fri, 12 Nov 2004 12:20:08 -0500
From: Bryce McKinlay <mckinlay@redhat.com>
User-Agent: Mozilla Thunderbird 0.9 (X11/20041103)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: David Gilbert <david.gilbert@object-refinery.com>
References: <1100217231.5072.11.camel@linux42.overstone>
In-Reply-To: <1100217231.5072.11.camel@linux42.overstone>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org, mauve-discuss@sources.redhat.com
Subject: Re: Mauve results...
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 17:29:14 -0000

Hey David,

Very nice. What did you use to format the results?

Regards

Bryce


David Gilbert wrote:

>I ran (most of) the Mauve tests tonight (using JamVM 1.2 and the latest
>CVS version of Classpath) and posted the results here for anyone that is
>interested:
>
>http://www.object-refinery.com/classpath/mauve-report/latest/
>
>The above reports exclude about 10 test files that won't run for me yet
>- I'll look into those when I get a chance.
>
>Regards,
>
>Dave Gilbert.
>  
>




From MAILER-DAEMON Fri Nov 12 12:41:46 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSfQg-0001mf-NH
	for mharc-classpath@gnu.org; Fri, 12 Nov 2004 12:41:46 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSfQc-0001mS-V7
	for classpath@gnu.org; Fri, 12 Nov 2004 12:41:43 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSfQc-0001mF-2V
	for classpath@gnu.org; Fri, 12 Nov 2004 12:41:42 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSfQb-0001mC-Tj
	for classpath@gnu.org; Fri, 12 Nov 2004 12:41:42 -0500
Received: from [62.13.128.134] (helo=punt-mx0.dmpriest.net.uk)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSfHn-0006bu-49
	for classpath@gnu.org; Fri, 12 Nov 2004 12:32:35 -0500
Received: from squirrel.dmpriest.net.uk (secure.authsmtp.com [62.13.128.25])
	by punt-mx0.dmpriest.net.uk (8.12.11/8.12.11/Kp) with ESMTP id
	iACHWXeM086284; Fri, 12 Nov 2004 17:32:33 GMT
Received: from [192.168.1.8] (host81-130-208-103.in-addr.btopenworld.com
	[81.130.208.103]) (authenticated bits=0)
	by squirrel.dmpriest.net.uk (8.13.1/8.13.1/Kp) with ESMTP id
	iACHWXgE056457; Fri, 12 Nov 2004 17:32:33 GMT
	(envelope-from david.gilbert@object-refinery.com)
From: David Gilbert <david.gilbert@object-refinery.com>
To: Bryce McKinlay <mckinlay@redhat.com>
In-Reply-To: <4194F0C8.3040506@redhat.com>
References: <1100217231.5072.11.camel@linux42.overstone>
	<4194F0C8.3040506@redhat.com>
Content-Type: text/plain
Message-Id: <1100280762.9185.10.camel@linux42.overstone>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 12 Nov 2004 17:32:43 +0000
Content-Transfer-Encoding: 7bit
X-Authentic-SMTP: 61633132333134.squirrel.dmpriest.net.uk:Kp
X-Powered-By: AuthSMTP - http://www.authsmtp.com - Authenticated SMTP Mail
	Relay
X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse
X-Virus-Status: No virus detected - but ensure you scan with your own
	anti-virus system!
Cc: classpath@gnu.org, mauve-discuss@sources.redhat.com
Subject: Re: Mauve results...
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 17:41:43 -0000

I wrote a custom subclass of TestHarness, the source code is here if you
or anyone wants to look at it:

http://www.object-refinery.com/classpath/mauve-report/mauve-report.zip

I'm short on time this month and next, but in January I will try to
write some documentation about how to generate the test reports, and
tidy up the rough edges in the code.

Regards,
Dave Gilbert


On Fri, 2004-11-12 at 17:20, Bryce McKinlay wrote:
> Hey David,
> 
> Very nice. What did you use to format the results?
> 
> Regards
> 
> Bryce
> 
> 
> David Gilbert wrote:
> 
> >I ran (most of) the Mauve tests tonight (using JamVM 1.2 and the latest
> >CVS version of Classpath) and posted the results here for anyone that is
> >interested:
> >
> >http://www.object-refinery.com/classpath/mauve-report/latest/
> >
> >The above reports exclude about 10 test files that won't run for me yet
> >- I'll look into those when I get a chance.
> >
> >Regards,
> >
> >Dave Gilbert.
> >  
> >
> 
> 




From MAILER-DAEMON Fri Nov 12 14:03:48 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSgi4-0004Jz-JS
	for mharc-classpath@gnu.org; Fri, 12 Nov 2004 14:03:48 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSgi1-0004It-SZ
	for classpath@gnu.org; Fri, 12 Nov 2004 14:03:46 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSgi0-0004IH-JN
	for classpath@gnu.org; Fri, 12 Nov 2004 14:03:44 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CSghx-0004H5-Hn; Fri, 12 Nov 2004 14:03:41 -0500
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CSgYo-0003Hh-2n; Fri, 12 Nov 2004 13:54:14 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CSgXr-0005hc-00; Fri, 12 Nov 2004 19:53:15 +0100
From: Mark Wielaard <mark@klomp.org>
To: Jeroen Frijters <jeroen@sumatra.nl>
In-Reply-To: <D92197D0A6547B44A1567814F851FA6802A4A9@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA6802A4A9@LEMBU.sumatrasoftware.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-griEPTcgAIaJrQXVFmmo"
Message-Id: <1100285673.8141.347.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Fri, 12 Nov 2004 19:54:33 +0100
Cc: Steven Augart <augart@watson.ibm.com>, classpath@gnu.org,
	classpath-patches@gnu.org, jikesrvm-core@www-124.southbury.usf.ibm.com
Subject: RE: patch for 0.12 (was: Re: java.lang.System changes)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Nov 2004 19:03:46 -0000


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

Hi,

On Fri, 2004-11-12 at 17:45, Jeroen Frijters wrote:
> Steven Augart wrote:
> > And, to that end, I have the following small patch that makes
> > the current Classpath CVS head work with Jikes RVM.  If someone
> > else approves it, I'll commit it.
>=20
> It works fine for me.

Thanks to you both for working on this issue.
This works for now, but I hope you won't mind if we rip it out again for
0.13. One Thing I don't like about this is that it creates a new compile
time constant which makes it harder to share an GNU Classpath glibj.zip
class byte code between runtimes installed on the same system. I would
like to see something like the following for breaking up the
initialization of java.lang.System into two phases in the future:

 boolean explicitly_initialize =3D VMSystem.explicitlyInitializeStatics();
 if (explicitly_initialize)
   {
     initLoadLibrary();
     initProperties();
   }

That way a runtime could introduce its own VMSystem, but still share the
system installed glibj.zip.

Both David and Jeroen made a couple of good suggestions for improving
the runtime/platform interface. We should work on that more in the
future. It will also help with the libgcj and kaffe integration since
the bits that haven't been shared completely yet are precisely these
kind of system/bootstrap classes.

Cheers,

Mark

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

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

iD8DBQBBlQbpxVhZCJWr9QwRAqAHAJ9x8s36w1iphKm+RYLXKR5qMWbO/wCeIDY/
QY7y2s4alWdVR9/BFEJ+4W0=
=Ad0o
-----END PGP SIGNATURE-----

--=-griEPTcgAIaJrQXVFmmo--




From MAILER-DAEMON Fri Nov 12 19:14:18 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSlYX-0002GI-VK
	for mharc-classpath@gnu.org; Fri, 12 Nov 2004 19:14:18 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSlYS-0002E9-Uq
	for classpath@gnu.org; Fri, 12 Nov 2004 19:14:13 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSlYR-0002D5-Ne
	for classpath@gnu.org; Fri, 12 Nov 2004 19:14:11 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CSlYR-0002Cq-CC; Fri, 12 Nov 2004 19:14:11 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CSlPq-0002as-Gf; Fri, 12 Nov 2004 19:05:18 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	iAD05E7214328; Fri, 12 Nov 2004 19:05:14 -0500
Received: from sp1n293en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with
	ESMTP id iAD05Ek36024; Fri, 12 Nov 2004 19:05:14 -0500
Received: from [9.65.225.40] (sig-9-65-225-40.mts.ibm.com [9.65.225.40])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with
	ESMTP id iAD05C234420; Fri, 12 Nov 2004 19:05:12 -0500
Message-ID: <41954FB3.2030009@watson.ibm.com>
Date: Fri, 12 Nov 2004 19:05:07 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: en-us, en, it
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <D92197D0A6547B44A1567814F851FA6802A4A9@LEMBU.sumatrasoftware.com>
	<1100285673.8141.347.camel@localhost.localdomain>
In-Reply-To: <1100285673.8141.347.camel@localhost.localdomain>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: jikesrvm-core@www-124.southbury.usf.ibm.com, classpath@gnu.org,
	classpath-patches@gnu.org, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: patch for 0.12 (was: Re: java.lang.System changes)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Nov 2004 00:14:13 -0000

Mark Wielaard wrote:
> Hi,
> 
> On Fri, 2004-11-12 at 17:45, Jeroen Frijters wrote:
> 
>>Steven Augart wrote:
>>
>>>And, to that end, I have the following small patch that makes
>>>the current Classpath CVS head work with Jikes RVM.  If someone
>>>else approves it, I'll commit it.
>>
>>It works fine for me.
> 
> Thanks to you both for working on this issue.
> This works for now, but I hope you won't mind if we rip it out again for
> 0.13. One Thing I don't like about this is that it creates a new compile
> time constant which makes it harder to share an GNU Classpath glibj.zip
> class byte code between runtimes installed on the same system. I would
> like to see something like the following for breaking up the
> initialization of java.lang.System into two phases in the future:
> 
>  boolean explicitly_initialize = VMSystem.explicitlyInitializeStatics();
>  if (explicitly_initialize)
>    {
>      initLoadLibrary();
>      initProperties();
>    }
> 
> That way a runtime could introduce its own VMSystem, but still share the
> system installed glibj.zip.

Your suggestion is far superior to the configuration constant.  Let's
rip it out as soon as 0.12 comes out.  I'll even prep the patch.

> Both David and Jeroen made a couple of good suggestions for improving
> the runtime/platform interface. We should work on that more in the
> future. It will also help with the libgcj and kaffe integration since
> the bits that haven't been shared completely yet are precisely these
> kind of system/bootstrap classes.

This sounds great to me.  I will be glad to have better control over
some of the fragility of the Jikes RVM boot process, and I'm sure the
other runtime integrators will feel the same way.





From MAILER-DAEMON Sat Nov 13 06:08:15 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSvlO-0006AY-CY
	for mharc-classpath@gnu.org; Sat, 13 Nov 2004 06:08:14 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSvlL-0006AO-Jo
	for classpath@gnu.org; Sat, 13 Nov 2004 06:08:11 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSvlK-0006AC-T9
	for classpath@gnu.org; Sat, 13 Nov 2004 06:08:11 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSvlH-0006A7-QJ
	for classpath@gnu.org; Sat, 13 Nov 2004 06:08:10 -0500
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSvcM-0006B9-Lu
	for classpath@gnu.org; Sat, 13 Nov 2004 05:58:55 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CSvbk-0007nI-00; Sat, 13 Nov 2004 11:58:16 +0100
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <1100121333.20858.68.camel@localhost.localdomain>
References: <1100121333.20858.68.camel@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-jLi6Wk+0n1J0SzLH3uj3"
Message-Id: <1100343533.4757.21.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 13 Nov 2004 11:58:53 +0100
Cc: 
Subject: Re: GNU Classpath 0.12, ..., 1.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Nov 2004 11:08:12 -0000


--=-jLi6Wk+0n1J0SzLH3uj3
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi all,

On Wed, 2004-11-10 at 22:15, Mark Wielaard wrote:
> We do now have a few small regressions however. There is something wrong
> with zip/jar archives on the classpath (this might or might not be a GNU
> Classpath issue, we changed the VM interface subtly so maybe it is a
> runtime issue). Opening a JarFile with 'verify' set to false  breaks
> (and is not thread-safe) [I have a fix for that].
> RepaintManager.paintDirtyRegions() seems broken [saw a fix for that in
> libgcj gui branch]. And at least with jamvm Eclipse 3 starts up, but
> crashes immediately after that [it did work correctly 2 weeks ago].
>=20
> I want to try to make the 0.12 release with all the great new stuff on
> Friday (Nov 12). But then we need to focus on fixing the regressions. If
> you have larger updates, please discuss on the mailinglist (or
> irc.gnu.org #classpath) first before committing.

It seems all the known regressions have now be fixed (those above, plus
the problem with JikesRVM). I have one last Swing.ToolTipManager fixlet,
but that can wait (and must see below, for savannah status).
The Eclipse 3 (but not 2) startup problem seems to only happen on SMP
machine (it disappears when I don't use a SMP kernel, this is on a Intel
hyperthreading system) with jamvm [*]. It works fine with gcj/gij (it
doesn't work anymore with kaffe though since they don't implement
java.lang.ClassLoader.setSigners which we now call).

What is holding up the release is writing the announcement and NEWS
entries. And the fact that savannah seems to be down... Hopefully both
will be fixed later this weekend.

Cheers,

Mark

[*] Hint for Robert. When inspecting with -verbose I can see that some
classes are [loaded] multiple times. I can slow down crashing a bit by
making various VMClass static methods synchronized, but that is not a
full solution. I think this is a bug in the runtime that needs to guard
against defining the same class from multiple threads and not completely
fixable in our core libraries setup.

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

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

iD8DBQBBlejsxVhZCJWr9QwRAiEDAJ90p1Ndgp1sL9e02slRVKh2p7NTkgCeOkma
JwE7Hny6fg2IFVZZ0ETOuWs=
=p2Ut
-----END PGP SIGNATURE-----

--=-jLi6Wk+0n1J0SzLH3uj3--




From MAILER-DAEMON Sat Nov 13 09:32:24 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CSyww-0003Cq-Ja
	for mharc-classpath@gnu.org; Sat, 13 Nov 2004 09:32:22 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CSywt-0003Ce-Vc
	for classpath@gnu.org; Sat, 13 Nov 2004 09:32:20 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CSywt-0003C5-6O
	for classpath@gnu.org; Sat, 13 Nov 2004 09:32:19 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CSyws-0003Bl-Qb
	for classpath@gnu.org; Sat, 13 Nov 2004 09:32:18 -0500
Received: from [64.233.184.197] (helo=wproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSyo1-0005T4-0e
	for classpath@gnu.org; Sat, 13 Nov 2004 09:23:09 -0500
Received: by wproxy.gmail.com with SMTP id 67so452106wri
	for <classpath@gnu.org>; Sat, 13 Nov 2004 06:23:08 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references;
	b=YAAkuJcvZ5FmAj7uVnXvFP4iKGVoMQzL3oz/ioHGkmulhqoh3aorOK2vvVXiTyTS4bLh0MdemfLVHVIxFbWpjUjfP1yoSKZ7EsVAwCJUgJvF+i1vmuVc9SjjjNmYkQCvuk8ktsQUdyGYpZRurmWOyej1ZG2L2dNNCNDa7Ce0i/4=
Received: by 10.54.54.63 with SMTP id c63mr433954wra;
	Sat, 13 Nov 2004 06:23:08 -0800 (PST)
Received: by 10.54.47.6 with HTTP; Sat, 13 Nov 2004 06:23:08 -0800 (PST)
Message-ID: <d58509a804111306233d3a240c@mail.gmail.com>
Date: Sat, 13 Nov 2004 14:23:08 +0000
From: Robert Lougher <rob.lougher@gmail.com>
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: <1100343533.4757.21.camel@localhost.localdomain>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
References: <1100121333.20858.68.camel@localhost.localdomain>
	<1100343533.4757.21.camel@localhost.localdomain>
Cc: classpath@gnu.org
Subject: Re: GNU Classpath 0.12, ..., 1.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Robert Lougher <rob.lougher@gmail.com>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Nov 2004 14:32:20 -0000

Hi all,

On Sat, 13 Nov 2004 11:58:53 +0100, Mark Wielaard <mark@klomp.org> wrote:
> The Eclipse 3 (but not 2) startup problem seems to only happen on SMP
> machine (it disappears when I don't use a SMP kernel, this is on a Intel
> hyperthreading system) with jamvm [*]. It works fine with gcj/gij (it
> doesn't work anymore with kaffe though since they don't implement
> java.lang.ClassLoader.setSigners which we now call).

I'm not terribly surprised -- I've never tested JamVM on a real or
virtual SMP machine before.  When writing the thin-locking
implementation I didn't include any SMP memory barriers, so it's
something I've been expecting to hear!  I'll look at including them
for the next release.  Mark, would you be willing to do the testing?
 
> Cheers,
> 
> Mark
> 
> [*] Hint for Robert. When inspecting with -verbose I can see that some
> classes are [loaded] multiple times. I can slow down crashing a bit by
> making various VMClass static methods synchronized, but that is not a
> full solution. I think this is a bug in the runtime that needs to guard
> against defining the same class from multiple threads and not completely
> fixable in our core libraries setup.
>

I don't think this is the cause.  This can happen even on a
uni-processor machine.  Two threads can see a class hasn't been loaded
and start to define it.  However, the updating of the loaded class
hash table is locked.  One thread will win the race and update the
table, the other will find it already there, and discard the one it's
just loaded.  This keeps locking to a minimum, and should lead to
overall faster behaviour.  It's a bug as to where the -verbose message
is printed -- it should only be done by the thread that wins the race.

Rob.



From MAILER-DAEMON Sat Nov 13 12:15:15 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CT1UZ-0005vm-7O
	for mharc-classpath@gnu.org; Sat, 13 Nov 2004 12:15:15 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CT1UX-0005us-EL
	for classpath@gnu.org; Sat, 13 Nov 2004 12:15:13 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CT1UW-0005uR-Jw
	for classpath@gnu.org; Sat, 13 Nov 2004 12:15:13 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CT1UW-0005uO-Gx
	for classpath@gnu.org; Sat, 13 Nov 2004 12:15:12 -0500
Received: from [24.201.245.36] (helo=relais.videotron.ca)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CT1La-0008Bq-ST
	for classpath@gnu.org; Sat, 13 Nov 2004 12:05:59 -0500
Received: from [192.168.1.119] ([24.203.124.97]) by VL-MO-MR010.ip.videotron.ca
	(iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8 2003))
	with ESMTP id <0I7400ILKNHXQM@VL-MO-MR010.ip.videotron.ca> for
	classpath@gnu.org; Sat, 13 Nov 2004 12:05:58 -0500 (EST)
Date: Sat, 13 Nov 2004 12:07:37 -0500
From: Chris Pickett <chris.pickett@mail.mcgill.ca>
In-reply-to: <d58509a804111306233d3a240c@mail.gmail.com>
To: Robert Lougher <rob.lougher@gmail.com>
Message-id: <41963F59.7060904@mail.mcgill.ca>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.6 (X11/20040509)
References: <1100121333.20858.68.camel@localhost.localdomain>
	<1100343533.4757.21.camel@localhost.localdomain>
	<d58509a804111306233d3a240c@mail.gmail.com>
Cc: sablevm-developer <sablevm-developer@lists.sourceforge.net>,
	Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: SMP problems (was Re: GNU Classpath 0.12, ..., 1.0)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Nov 2004 17:15:13 -0000

Robert Lougher wrote:
> Hi all,
> 
> On Sat, 13 Nov 2004 11:58:53 +0100, Mark Wielaard <mark@klomp.org> wrote:
> 
>>The Eclipse 3 (but not 2) startup problem seems to only happen on SMP
>>machine (it disappears when I don't use a SMP kernel, this is on a Intel
>>hyperthreading system) with jamvm [*]. It works fine with gcj/gij (it
>>doesn't work anymore with kaffe though since they don't implement
>>java.lang.ClassLoader.setSigners which we now call).
> 
> 
> I'm not terribly surprised -- I've never tested JamVM on a real or
> virtual SMP machine before.  When writing the thin-locking
> implementation I didn't include any SMP memory barriers, so it's
> something I've been expecting to hear!  I'll look at including them
> for the next release.  Mark, would you be willing to do the testing?
>  
> 
>>Cheers,
>>
>>Mark
>>
>>[*] Hint for Robert. When inspecting with -verbose I can see that some
>>classes are [loaded] multiple times. I can slow down crashing a bit by
>>making various VMClass static methods synchronized, but that is not a
>>full solution. I think this is a bug in the runtime that needs to guard
>>against defining the same class from multiple threads and not completely
>>fixable in our core libraries setup.
>>
> 
> 
> I don't think this is the cause.  This can happen even on a
> uni-processor machine.  Two threads can see a class hasn't been loaded
> and start to define it.  However, the updating of the loaded class
> hash table is locked.  One thread will win the race and update the
> table, the other will find it already there, and discard the one it's
> just loaded.  This keeps locking to a minimum, and should lead to
> overall faster behaviour.  It's a bug as to where the -verbose message
> is printed -- it should only be done by the thread that wins the race.

For what it's worth, we've had SMP problems in SableVM for a while now 
also.  They too seem related to thread startup and thread death.  It 
never occurred to me that this might be a Classpath problem since until 
now I thought we were the only ones, but then again it could just be 
that both JamVM and SableVM have equally bad internal locking :(.  I 
tried putting in memory barriers as prescribed by the JSR133 cookbook 
[1], but it didn't make any difference.  In fact, I tried putting a 
StoreLoad barrier in between every single bytecode instruction, and it 
still didn't help.  I haven't tested Eclipse, but will try to (or some 
other SableVM person with a working Eclipse installation could try).

[1] http://gee.cs.oswego.edu/dl/jmm/cookbook.html

SableVM also doesn't have any handling of Java volatiles, which do 
indeed exist in the Classpath threading code.  However, one would think 
that with a barrier in between every single bytecode that this wouldn't 
matter and that something else must be wrong.  We did manage to squash a 
couple of threading bugs when somebody tried to build on NetBSD (I 
think...), and got compile-time pthread initialization warnings.

Again my experience says that this isn't strictly limited to SMP 
machines, but that on UP's the time between context switches is so long 
that it's much harder to catch these heisenbugs.

I think it would be interesting to hear from VM developers who _don't_ 
have problems on SMP machines but had them in the past and somehow 
managed to eliminate them.

Chris



From MAILER-DAEMON Sat Nov 13 12:17:47 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CT1X0-0006rO-R4
	for mharc-classpath@gnu.org; Sat, 13 Nov 2004 12:17:47 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CT1Wx-0006po-W1
	for classpath@gnu.org; Sat, 13 Nov 2004 12:17:44 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CT1Ww-0006p1-Ha
	for classpath@gnu.org; Sat, 13 Nov 2004 12:17:42 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CT1Ww-0006or-Aj
	for classpath@gnu.org; Sat, 13 Nov 2004 12:17:42 -0500
Received: from [24.201.245.36] (helo=relais.videotron.ca)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CT1OG-0000I2-Df
	for classpath@gnu.org; Sat, 13 Nov 2004 12:08:44 -0500
Received: from [192.168.1.119] ([24.203.124.97]) by VL-MO-MR010.ip.videotron.ca
	(iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8 2003))
	with ESMTP id <0I7400CTSNLUNP@VL-MO-MR010.ip.videotron.ca> for
	classpath@gnu.org; Sat, 13 Nov 2004 12:08:18 -0500 (EST)
Date: Sat, 13 Nov 2004 12:09:57 -0500
From: Chris Pickett <chris.pickett@mail.mcgill.ca>
In-reply-to: <41963F59.7060904@mail.mcgill.ca>
Message-id: <41963FE5.4080003@mail.mcgill.ca>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.6 (X11/20040509)
References: <1100121333.20858.68.camel@localhost.localdomain>
	<1100343533.4757.21.camel@localhost.localdomain>
	<d58509a804111306233d3a240c@mail.gmail.com>
	<41963F59.7060904@mail.mcgill.ca>
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: Re: SMP problems (was Re: GNU Classpath 0.12, ..., 1.0)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Nov 2004 17:17:45 -0000

sorry, please CC responses to that last message to

   sablevm-developer@sablevm.org

instead of

   sablevm-developer@lists.sourceforge.net

chris

Chris Pickett wrote:
> Robert Lougher wrote:
> 
>>Hi all,
>>
>>On Sat, 13 Nov 2004 11:58:53 +0100, Mark Wielaard <mark@klomp.org> wrote:
>>
>>
>>>The Eclipse 3 (but not 2) startup problem seems to only happen on SMP
>>>machine (it disappears when I don't use a SMP kernel, this is on a Intel
>>>hyperthreading system) with jamvm [*]. It works fine with gcj/gij (it
>>>doesn't work anymore with kaffe though since they don't implement
>>>java.lang.ClassLoader.setSigners which we now call).
>>
>>
>>I'm not terribly surprised -- I've never tested JamVM on a real or
>>virtual SMP machine before.  When writing the thin-locking
>>implementation I didn't include any SMP memory barriers, so it's
>>something I've been expecting to hear!  I'll look at including them
>>for the next release.  Mark, would you be willing to do the testing?
>> 
>>
>>
>>>Cheers,
>>>
>>>Mark
>>>
>>>[*] Hint for Robert. When inspecting with -verbose I can see that some
>>>classes are [loaded] multiple times. I can slow down crashing a bit by
>>>making various VMClass static methods synchronized, but that is not a
>>>full solution. I think this is a bug in the runtime that needs to guard
>>>against defining the same class from multiple threads and not completely
>>>fixable in our core libraries setup.
>>>
>>
>>
>>I don't think this is the cause.  This can happen even on a
>>uni-processor machine.  Two threads can see a class hasn't been loaded
>>and start to define it.  However, the updating of the loaded class
>>hash table is locked.  One thread will win the race and update the
>>table, the other will find it already there, and discard the one it's
>>just loaded.  This keeps locking to a minimum, and should lead to
>>overall faster behaviour.  It's a bug as to where the -verbose message
>>is printed -- it should only be done by the thread that wins the race.
> 
> 
> For what it's worth, we've had SMP problems in SableVM for a while now 
> also.  They too seem related to thread startup and thread death.  It 
> never occurred to me that this might be a Classpath problem since until 
> now I thought we were the only ones, but then again it could just be 
> that both JamVM and SableVM have equally bad internal locking :(.  I 
> tried putting in memory barriers as prescribed by the JSR133 cookbook 
> [1], but it didn't make any difference.  In fact, I tried putting a 
> StoreLoad barrier in between every single bytecode instruction, and it 
> still didn't help.  I haven't tested Eclipse, but will try to (or some 
> other SableVM person with a working Eclipse installation could try).
> 
> [1] http://gee.cs.oswego.edu/dl/jmm/cookbook.html
> 
> SableVM also doesn't have any handling of Java volatiles, which do 
> indeed exist in the Classpath threading code.  However, one would think 
> that with a barrier in between every single bytecode that this wouldn't 
> matter and that something else must be wrong.  We did manage to squash a 
> couple of threading bugs when somebody tried to build on NetBSD (I 
> think...), and got compile-time pthread initialization warnings.
> 
> Again my experience says that this isn't strictly limited to SMP 
> machines, but that on UP's the time between context switches is so long 
> that it's much harder to catch these heisenbugs.
> 
> I think it would be interesting to hear from VM developers who _don't_ 
> have problems on SMP machines but had them in the past and somehow 
> managed to eliminate them.
> 
> Chris
> 




From MAILER-DAEMON Sat Nov 13 12:20:43 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CT1Zr-00079P-Jz
	for mharc-classpath@gnu.org; Sat, 13 Nov 2004 12:20:43 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CT1Zq-00079J-F9
	for classpath@gnu.org; Sat, 13 Nov 2004 12:20:42 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CT1Zq-000797-3H
	for classpath@gnu.org; Sat, 13 Nov 2004 12:20:42 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CT1Zq-000794-1e
	for classpath@gnu.org; Sat, 13 Nov 2004 12:20:42 -0500
Received: from [24.201.245.36] (helo=relais.videotron.ca)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CT1Qx-0000iI-Kx
	for classpath@gnu.org; Sat, 13 Nov 2004 12:11:31 -0500
Received: from [192.168.1.119] ([24.203.124.97]) by VL-MO-MR010.ip.videotron.ca
	(iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8 2003))
	with ESMTP id <0I7400C7MNPZNP@VL-MO-MR010.ip.videotron.ca> for
	classpath@gnu.org; Sat, 13 Nov 2004 12:10:47 -0500 (EST)
Date: Sat, 13 Nov 2004 12:12:26 -0500
From: Chris Pickett <chris.pickett@mail.mcgill.ca>
In-reply-to: <41963FE5.4080003@mail.mcgill.ca>
Message-id: <4196407A.50202@mail.mcgill.ca>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.6 (X11/20040509)
References: <1100121333.20858.68.camel@localhost.localdomain>
	<1100343533.4757.21.camel@localhost.localdomain>
	<d58509a804111306233d3a240c@mail.gmail.com>
	<41963F59.7060904@mail.mcgill.ca> <41963FE5.4080003@mail.mcgill.ca>
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: Re: SMP problems (was Re: GNU Classpath 0.12, ..., 1.0)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Nov 2004 17:20:42 -0000

or

   sablevm-devel@sablevm.org

even.  my apologies, i'm really tired, i already retyped the whole email 
once b/c i made thunderbird die.

chris

Chris Pickett wrote:
> sorry, please CC responses to that last message to
> 
>    sablevm-developer@sablevm.org
> 
> instead of
> 
>    sablevm-developer@lists.sourceforge.net
> 
> chris
> 
> Chris Pickett wrote:
> 
>>Robert Lougher wrote:



From MAILER-DAEMON Sat Nov 13 16:12:11 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CT5Bo-0000To-RU
	for mharc-classpath@gnu.org; Sat, 13 Nov 2004 16:12:08 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CT5Bn-0000TW-AJ
	for classpath@gnu.org; Sat, 13 Nov 2004 16:12:07 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CT5Bm-0000TE-Kn
	for classpath@gnu.org; Sat, 13 Nov 2004 16:12:07 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CT5Bl-0000Su-Qm; Sat, 13 Nov 2004 16:12:05 -0500
Received: from [129.34.20.18] (helo=igw3.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CT534-0001YT-Az; Sat, 13 Nov 2004 16:03:06 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw3.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	iADHcME355912; Sat, 13 Nov 2004 12:38:29 -0500
Received: from sp1n293en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with
	ESMTP id iADHcLk55390; Sat, 13 Nov 2004 12:38:21 -0500
Received: from [9.65.245.108] (sig-9-65-245-108.mts.ibm.com [9.65.245.108])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with
	ESMTP id iADHcJ255388; Sat, 13 Nov 2004 12:38:20 -0500
Message-ID: <41964685.9090403@watson.ibm.com>
Date: Sat, 13 Nov 2004 12:38:13 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: en-us, en, it
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <D92197D0A6547B44A1567814F851FA6802A4A9@LEMBU.sumatrasoftware.com>
	<1100285673.8141.347.camel@localhost.localdomain>
In-Reply-To: <1100285673.8141.347.camel@localhost.localdomain>
Content-Type: multipart/mixed; boundary="------------020902010900000803060905"
Cc: jikesrvm-core@www-124.southbury.usf.ibm.com, classpath@gnu.org,
	classpath-patches@gnu.org, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: patch for 0.12 (was: Re: java.lang.System changes)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Nov 2004 21:12:07 -0000

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

Mark Wielaard wrote:
> Thanks to you both for working on this issue.
> This works for now, but I hope you won't mind if we rip it out again for
> 0.13. One Thing I don't like about this is that it creates a new compile
> time constant which makes it harder to share an GNU Classpath glibj.zip
> class byte code between runtimes installed on the same system. I would
> like to see something like the following for breaking up the
> initialization of java.lang.System into two phases in the future:
> 
>  boolean explicitly_initialize = VMSystem.explicitlyInitializeStatics();
>  if (explicitly_initialize)
>    {
>      initLoadLibrary();
>      initProperties();
>    }
> 
> That way a runtime could introduce its own VMSystem, but still share the
> system installed glibj.zip.

I have made a patch to accomplish this.  Works with Jikes RVM.
It includes the new method in VMSystem, so other users would have to add that
before they could run with this version.

--Steve A

--------------020902010900000803060905
Content-Type: text/plain;
 name="java-lang-System-init2.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="java-lang-System-init2.patch"

--- classpath.base/configure.ac	2004-11-12 11:05:50.000000000 -0500
+++ classpath/configure.ac	2004-11-13 11:45:52.000000000 -0500
@@ -289,22 +289,6 @@
 
 
 dnl -----------------------------------------------------------
-dnl Should the VM explicitly run class initialization subfunctions for
-dnl java.lang.System?   (default is false -- the subfunctions will be run 
-dnl automatically by the class initializer)
-dnl -----------------------------------------------------------
-AC_ARG_ENABLE([java-lang-system-explicit-initialization],
-              [AS_HELP_STRING(--enable-java-lang-system-explicit-initialization,will the VM explicitly invoke java.lang.System's static initialization methods [default=no])],
-              [case "${enableval}" in 
-                yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
-                no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
-                *) AC_MSG_ERROR(bad value ${enableval} for --enable-java-lang-system-explicit-initialization) ;;
-              esac],
-              [JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"])
-AC_SUBST(JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION)
-
-
-dnl -----------------------------------------------------------
 dnl avoiding automake complaints
 dnl -----------------------------------------------------------
 REMOVE=""
--- classpath.base/ChangeLog	2004-11-12 11:55:12.000000000 -0500
+++ classpath/ChangeLog	2004-11-13 12:36:22.000000000 -0500
@@ -1,3 +1,15 @@
+2004-11-13  Steven Augart  <augart@watson.ibm.com>
+
+	* vm/reference/java/lang/VMSystem.java (explicitlyInitializeStatics): 
+	New method.
+	* java/lang/System.java: Test
+	VMSystem.explicitlyInitializeStatics() instead of
+	Configuration.JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION. 
+	* gnu/classpath/Configuration.java.in: Remove
+	JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION. 
+	* configure.ac: Remove 
+	--enable-java-lang-system-explicit-initialization. 
+	
 2004-11-12  Steven Augart  <augart@watson.ibm.com>
 
 	* gnu/classpath/Configuration.java.in: Added
@@ -7,7 +19,6 @@
 	* java/lang/System.java: Added support for
 	JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION. 
 	
-	
 2004-11-12  Sven de Marothy  <sven@physto.se>
 
         * java/awt/Polygon.java (contains): Reimplemented.
--- classpath.base/java/lang/System.java	2004-11-12 11:02:42.000000000 -0500
+++ classpath/java/lang/System.java	2004-11-13 11:51:18.000000000 -0500
@@ -122,7 +122,7 @@
    */
   static
   {
-    if (! Configuration.JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION) {
+    if (! VMSystem.explicitlyInitializeStatics()) {
       initLoadLibrary();
       initProperties();
     }
@@ -132,7 +132,7 @@
     out = VMSystem.makeStandardOutputStream();
     err = VMSystem.makeStandardErrorStream();
     
-    if (! Configuration.JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION) {
+    if (! VMSystem.explicitlyInitializeStatics()) {
       initSystemClassLoader();
       initSecurityManager();    // Includes getting the class loader.
     }
--- classpath.base/vm/reference/java/lang/VMSystem.java	2004-10-02 11:19:16.000000000 -0400
+++ classpath/vm/reference/java/lang/VMSystem.java	2004-11-13 12:29:07.000000000 -0500
@@ -181,4 +181,19 @@
    *         environment variable is not defined.
    */
   static native String getenv(String name);
+
+  /**
+   * Whether to automatically run the init* methods in java.lang.System
+   * (the default) at class initialization time or whether to have the VM
+   * explicitly invoke them.
+   *
+   * With the default implementation, returning false, the VM does not
+   * explicitly run the initializers; instead, they're automatically
+   * run when java.lang.System is initialized.  This reflects historic
+   * behavior.
+   */
+  static boolean explicitlyInitializeStatics() 
+  {
+    return false;
+  }
 }
--- classpath.base/gnu/classpath/Configuration.java.in	2004-11-12 10:40:58.000000000 -0500
+++ classpath/gnu/classpath/Configuration.java.in	2004-11-13 11:49:17.000000000 -0500
@@ -111,16 +111,4 @@
    * Name of default AWT peer library.
    */
   String default_awt_peer_toolkit = "gnu.java.awt.peer.gtk.GtkToolkit";
-
-  /**
-   * Whether to automatically run the init* methods in java.lang.System
-   * (the default) at class initialization time or whether to have the VM
-   * explicitly invoke them.
-   *
-   * The default is false, meaning the VM does not explicitly run the
-   * initializers. 
-   * 
-   */
-  boolean JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION = 
-	  @JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@;
 }

--------------020902010900000803060905--



From MAILER-DAEMON Sat Nov 13 18:23:36 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CT7F2-0001Wx-OG
	for mharc-classpath@gnu.org; Sat, 13 Nov 2004 18:23:36 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CT7F1-0001WP-DI
	for classpath@gnu.org; Sat, 13 Nov 2004 18:23:35 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CT7F0-0001WD-VY
	for classpath@gnu.org; Sat, 13 Nov 2004 18:23:35 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CT7F0-0001WA-Rq
	for classpath@gnu.org; Sat, 13 Nov 2004 18:23:34 -0500
Received: from [217.12.12.141] (helo=smtp804.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CT764-0004ct-Ob
	for classpath@gnu.org; Sat, 13 Nov 2004 18:14:21 -0500
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(classpath@gnu.org@217.44.226.227 with poptime)
	by smtp804.mail.ukl.yahoo.com with SMTP; 13 Nov 2004 23:14:19 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.34)
	id 1CT763-0004TC-32
	for classpath@gnu.org; Sat, 13 Nov 2004 23:14:19 +0000
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <m3fz3d1qd6.fsf@localhost.localdomain>
References: <41960FBF.3040008@antonovic.com>
	<m3fz3d1qd6.fsf@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-XM1eE99cPunyveD5bC7a"
Message-Id: <1100387658.17793.30.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sat, 13 Nov 2004 23:14:18 +0000
Subject: Re: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Nov 2004 23:23:35 -0000


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

On Sat, 2004-11-13 at 19:49, Tom Tromey wrote:
> >>>>> "Bojan" =3D=3D Bojan Antonovic <bojan@antonovic.com> writes:
>=20
> Bojan> Java 5.0 has some new language extensions. Many (?) of them, like
> Bojan> generics, are compiled in the way that the byte code binary is
> Bojan> compatible to older versions. While extending GCJ to support the n=
ew
> Bojan> language extensions can take a while, it should be easier that GIJ=
 can
> Bojan> run them. Does anybody know when those new binaries will be suppor=
ted?
> Bojan> Can it be done for GCC 4.0 ?
>=20
> Here are the minimal changes required to support 1.5 bytecode.
>=20
> * Make sure we recognize the new class file version number.
>=20
> * Change the bytecode verifiers to accept "ldc <class>" when the
>   bytecode in question came from a 1.5 file.  (For the libgcj
>   verifier I already have a patch for this, it is in gcjx.  It could
>   easily be merged.)
>=20
> * Change the interpreter and the bytecode front end to the compiler
>   to recognize this opcode.
>=20
> This set of changes is pretty easy.
>=20
>=20
> Note that 1.5 adds many new classes.  Code using these classes still
> won't work on libgcj, at least until they are written.  There is some
> work in this area in the `generics' branch of the Classpath CVS
> repository.
>=20
> In particular, attributes won't work properly at runtime, enums won't
> work at all, the new enhanced "for" loop will only iterate over arrays
> (since libgcj doesn't have Iterable), and auto-boxing will not work
> (this requires new methods in the primitive wrapper classes).
>=20
> Static import is purely source-side, and varargs is also implemented
> that way, so these will work fine.  Generics ought to work fine as
> well.
>=20
> Tom

If this is the case, then is there a good reason for not starting to
include 1.5 changes, that will compile with pre-1.5 compilers, into the
HEAD branch?  There is a fair bit of code created by Tom in the generics
branch, that would work fine in HEAD, AFAICS.  This would mean:

* better testing (as it gets used by all Classpath users, and included
in distributions)
* less problems with keeping generics in sync with the HEAD branch,
especially when the point of merging finally does arrive
* greater possibility of support for 1.5 bytecode by Free VMs

It seems a shame to not support 1.5 bytecode, largely because it just
calls methods that are absent from GNU Classpath (and, in the case of
some of the most frequent ones, implemented in the generics branch).

This does, however, conflict with the idea of getting to a 1.0 branch
pretty soon.

Comments?

Cheers,
--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachment=
s.
See http://www.fsf.org/philosophy/no-word-attachments.html

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

"We've all been part of the biggest beta test the world has ever known --
Windows"
-- Victor Wheatman, Gartner


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

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

iD8DBQBBlpVKu+fW6pI0dq4RAgP0AJ98PAV1F6mEkvI9H3JIt/loBw0wiwCgpAWS
YTh2SIVz9+AV1g7347uWYa0=
=eoEB
-----END PGP SIGNATURE-----

--=-XM1eE99cPunyveD5bC7a--




From MAILER-DAEMON Sat Nov 13 19:51:18 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CT8bt-0002DY-WC
	for mharc-classpath@gnu.org; Sat, 13 Nov 2004 19:51:18 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CT8bs-0002DQ-1y
	for classpath@gnu.org; Sat, 13 Nov 2004 19:51:16 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CT8br-0002DE-Ho
	for classpath@gnu.org; Sat, 13 Nov 2004 19:51:15 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CT8br-0002DB-FD
	for classpath@gnu.org; Sat, 13 Nov 2004 19:51:15 -0500
Received: from [130.242.128.36] (helo=mail3.physto.se)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CT8Sp-0000Ff-VO
	for classpath@gnu.org; Sat, 13 Nov 2004 19:41:56 -0500
Received: from localhost (localhost [127.0.0.1])
	by mail3.physto.se (Postfix) with ESMTP id 6B56A2EE86
	for <classpath@gnu.org>; Sun, 14 Nov 2004 01:41:55 +0100 (CET)
Received: from mail3.physto.se ([127.0.0.1])
	by localhost (syslx09.physto.se [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 09689-10 for <classpath@gnu.org>;
	Sun, 14 Nov 2004 01:41:51 +0100 (CET)
Received: from [130.242.128.121] (qcplx01.physto.se [130.242.128.121])
	by mail3.physto.se (Postfix) with ESMTP id 426802EE79
	for <classpath@gnu.org>; Sun, 14 Nov 2004 01:41:51 +0100 (CET)
From: Sven de Marothy <sven@physto.se>
To: classpath@gnu.org
Content-Type: text/plain
Message-Id: <1100392838.6152.61.camel@qcplx01.physto.se>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Sun, 14 Nov 2004 01:40:38 +0100
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at physto.se
Subject: Printing.
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Nov 2004 00:51:16 -0000

Hello, all.
Given that we're pretty much up to 1.1-api compatibility at the moment,
and we'll be there in the forseeable future, perhaps it's time to
discuss some of the few remaining gaps to Java 1.2.

One of these is printing. So here's a short intro to printing in Java
for those not up-to-speed:

There's java.awt.print, introduced in Java 1.2. It's pretty much a
simple wrapper around the underlying OS printing interface. Basically
all the work is done by a native implementation of the class PrinterJob.

This includes dialog boxes for printing and paper selection. So native
dialogs are allowed. (And used, on OS X for example) Native dialogs is
of course desireable out of a desktop-integration standpoint.

The printing itself is pretty simple, out of the API standpoint. It's
done by a PrinterGraphics object which inherits Graphics2D and it
basically works like to-screen drawing, calling a print() method in the
objects, which works just like paint() except that page layout
information is passed so the method can transform the drawing to the
page.

Then there's javax.print, introduced in Java 1.4. Javax.print does stuff
like job management, printer selection and control, and such. It does
not have an image model of its own though, but rather expects data to be
fed to it as PostScript, JPEGs or raw text.

Now, the latter is newer, but less of a problem. The capabilities
javax.print needs are pretty much covered by CUPS, the common unix
printing system. There is already a LGPL implementation of javax.print
on cups known as Jipsi out there, which could be adopted.

So, what concerns me mostly here is the former, java.awt.print.
Now, since the gui of choice here is Gnome, I'll focus on that.
Gnome printing is in a rather unsatisfactory situation. 

First off there's PostScript. PostScript can be fed directly to CUPS (or
javax.print) and the Java2D imaging model is similar to it, so a
rudimentary output-via-PostScript driver could be written fairly easily.
(I've written one myself I could recycle here) The drawbacks here is
that PostScript only supports a subset of Java2D 'natively' so to speak.
Most notably, compositing is not supported. A composited image needs to
be rendered as a bitmap, which isn't a pretty option.
The other drawback is that we'd need to implement the printing dialogs
from scratch.

Secondly, there's gnome-print. Gnome-print provides the dialog boxes
and widgets used for printing. It also provides a PostScript-like
imaging model, so it's not much harder to implement than the above. 
This model does support alpha-channels, but apart from that suffers from
the same drawbacks as above. On the plus side, gnome-print has the
well-known Gnome printing dialog boxes. Gnome-print is also integrated
with Cups, making job control simpler.
Gnome-print also has nice PS and PDF backends.

Thirdly, there's Cairo, which is already used for on-screen Java2D
drawing. Cairo has a Java2D/SVG/PDF 1.4-like drawing model, which means
that it does support compositing. It also has a PS backend and PDF in
the works. Unfortunately as of yet, the PS backend isn't that good. It
solves the mentioned compositing problem by just drawing a high-res
bitmap. On the plus side, the existing Graphics2D peer could
easily be used with the PS backend for printing. 
Also, the Cairo folks do seem to aspire to remedy this PS situation in
the future, rendering only the composited parts of the page as a bitmap.

A lot is happening in this area though. Havoc Pennington seems to have
the opinion that gnome-print should be scrapped for Cairo. I don't think
he really means all of gnome-print though, but rather just the imaging
model. (since cairo has no intent of including a bunch of job-control
code and widgets and such)

But as of yet, nobody seems to have started the work on creating a new
gnome-print on top of cairo.

So the options, as I see them, are:
- Render to PS directly or via Cairo and send to javax.print/CUPS,
implement our own dialogs and job-control code.
(Requires a relatively large amount of work, and in particular, it'll
require javax.print to be implemented)

- Use Gnome-print in its existing state as a temporary solution.
(Least amount of work, but not satisfactory since it doesn't support
everything we need, and the future of the graphics model is uncertain.)

- Use some hybrid with gnome-print for widgets but cairo for rendering
(Could mean less work than the first, but might be quite kludgy)

- Help out with moving gnome-print to cairo
(Somewhat comparable to the first option in work, but it's in C, and an
unrelated project. However it would be helping the long-term interests
of GNOME, and thus ourselves)

- Sit around and wait for the situation to resolve itself.
(Requires no work at all, but won't help us reach 1.2 compatibility
either)

Any thoughts?

/Sven




From MAILER-DAEMON Sat Nov 13 20:19:37 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CT93I-00078C-WD
	for mharc-classpath@gnu.org; Sat, 13 Nov 2004 20:19:37 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CT93G-000781-Px
	for classpath@gnu.org; Sat, 13 Nov 2004 20:19:34 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CT93G-00077p-9s
	for classpath@gnu.org; Sat, 13 Nov 2004 20:19:34 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CT93G-00077m-1E
	for classpath@gnu.org; Sat, 13 Nov 2004 20:19:34 -0500
Received: from [217.12.12.196] (helo=smtp806.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CT8ua-00048b-N4
	for classpath@gnu.org; Sat, 13 Nov 2004 20:10:37 -0500
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(classpath@gnu.org@217.44.226.227 with poptime)
	by smtp806.mail.ukl.yahoo.com with SMTP; 14 Nov 2004 01:10:35 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.34)
	id 1CT8uZ-0004Y3-3U
	for classpath@gnu.org; Sun, 14 Nov 2004 01:10:35 +0000
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <1100392838.6152.61.camel@qcplx01.physto.se>
References: <1100392838.6152.61.camel@qcplx01.physto.se>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-ZZU7zwPP+0i+2L03Rccn"
Message-Id: <1100394634.17793.35.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 14 Nov 2004 01:10:35 +0000
Subject: Re: Printing.
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Nov 2004 01:19:34 -0000


--=-ZZU7zwPP+0i+2L03Rccn
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2004-11-14 at 00:40, Sven de Marothy wrote:
> Hello, all.
> Given that we're pretty much up to 1.1-api compatibility at the moment,
> and we'll be there in the forseeable future, perhaps it's time to
> discuss some of the few remaining gaps to Java 1.2.
>=20
> One of these is printing. So here's a short intro to printing in Java
> for those not up-to-speed:
>=20
> There's java.awt.print, introduced in Java 1.2. It's pretty much a
> simple wrapper around the underlying OS printing interface. Basically
> all the work is done by a native implementation of the class PrinterJob.
>=20
> This includes dialog boxes for printing and paper selection. So native
> dialogs are allowed. (And used, on OS X for example) Native dialogs is
> of course desireable out of a desktop-integration standpoint.
>=20
> The printing itself is pretty simple, out of the API standpoint. It's
> done by a PrinterGraphics object which inherits Graphics2D and it
> basically works like to-screen drawing, calling a print() method in the
> objects, which works just like paint() except that page layout
> information is passed so the method can transform the drawing to the
> page.
>=20
> Then there's javax.print, introduced in Java 1.4. Javax.print does stuff
> like job management, printer selection and control, and such. It does
> not have an image model of its own though, but rather expects data to be
> fed to it as PostScript, JPEGs or raw text.
>=20
> Now, the latter is newer, but less of a problem. The capabilities
> javax.print needs are pretty much covered by CUPS, the common unix
> printing system. There is already a LGPL implementation of javax.print
> on cups known as Jipsi out there, which could be adopted.
>=20
> So, what concerns me mostly here is the former, java.awt.print.
> Now, since the gui of choice here is Gnome, I'll focus on that.
> Gnome printing is in a rather unsatisfactory situation.=20
>=20
> First off there's PostScript. PostScript can be fed directly to CUPS (or
> javax.print) and the Java2D imaging model is similar to it, so a
> rudimentary output-via-PostScript driver could be written fairly easily.
> (I've written one myself I could recycle here) The drawbacks here is
> that PostScript only supports a subset of Java2D 'natively' so to speak.
> Most notably, compositing is not supported. A composited image needs to
> be rendered as a bitmap, which isn't a pretty option.
> The other drawback is that we'd need to implement the printing dialogs
> from scratch.
>=20
> Secondly, there's gnome-print. Gnome-print provides the dialog boxes
> and widgets used for printing. It also provides a PostScript-like
> imaging model, so it's not much harder to implement than the above.=20
> This model does support alpha-channels, but apart from that suffers from
> the same drawbacks as above. On the plus side, gnome-print has the
> well-known Gnome printing dialog boxes. Gnome-print is also integrated
> with Cups, making job control simpler.
> Gnome-print also has nice PS and PDF backends.
>=20
> Thirdly, there's Cairo, which is already used for on-screen Java2D
> drawing. Cairo has a Java2D/SVG/PDF 1.4-like drawing model, which means
> that it does support compositing. It also has a PS backend and PDF in
> the works. Unfortunately as of yet, the PS backend isn't that good. It
> solves the mentioned compositing problem by just drawing a high-res
> bitmap. On the plus side, the existing Graphics2D peer could
> easily be used with the PS backend for printing.=20
> Also, the Cairo folks do seem to aspire to remedy this PS situation in
> the future, rendering only the composited parts of the page as a bitmap.
>=20
> A lot is happening in this area though. Havoc Pennington seems to have
> the opinion that gnome-print should be scrapped for Cairo. I don't think
> he really means all of gnome-print though, but rather just the imaging
> model. (since cairo has no intent of including a bunch of job-control
> code and widgets and such)
>=20
> But as of yet, nobody seems to have started the work on creating a new
> gnome-print on top of cairo.
>=20
> So the options, as I see them, are:
> - Render to PS directly or via Cairo and send to javax.print/CUPS,
> implement our own dialogs and job-control code.
> (Requires a relatively large amount of work, and in particular, it'll
> require javax.print to be implemented)
>=20
> - Use Gnome-print in its existing state as a temporary solution.
> (Least amount of work, but not satisfactory since it doesn't support
> everything we need, and the future of the graphics model is uncertain.)
>=20
> - Use some hybrid with gnome-print for widgets but cairo for rendering
> (Could mean less work than the first, but might be quite kludgy)
>=20
> - Help out with moving gnome-print to cairo
> (Somewhat comparable to the first option in work, but it's in C, and an
> unrelated project. However it would be helping the long-term interests
> of GNOME, and thus ourselves)
>=20
> - Sit around and wait for the situation to resolve itself.
> (Requires no work at all, but won't help us reach 1.2 compatibility
> either)
>=20
> Any thoughts?
>=20
> /Sven
>=20
>=20
>=20
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath

IMO, a Cairo-supporting GNOME-print seems the best option, especially in
the long term.  Creating the widgets ourself would seem to be a lot of
work, which effectively leads to a situation where GNU Classpath
printing is different (to some degree anyway) from other applications.=20
Similarly, joining GNOME print with Cairo ourselves would just seem to
be duplicating work.  As it stands, it seems we either wait for
GNOME-print to sort itself out, or help it get there.

Cheers,
--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachment=
s.
See http://www.fsf.org/philosophy/no-word-attachments.html

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

"We've all been part of the biggest beta test the world has ever known --
Windows"
-- Victor Wheatman, Gartner


--=-ZZU7zwPP+0i+2L03Rccn
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

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

iD8DBQBBlrCKu+fW6pI0dq4RAtMHAJ4ln2c4BrUvCT6yHnC/QW4webZ2EwCcDWTJ
Ee0eX2GlVO/akc5tocZKIzQ=
=B1r+
-----END PGP SIGNATURE-----

--=-ZZU7zwPP+0i+2L03Rccn--




From MAILER-DAEMON Sun Nov 14 06:34:19 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTIeA-0000cS-UK
	for mharc-classpath@gnu.org; Sun, 14 Nov 2004 06:34:19 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTCdL-0000rT-Ch
	for classpath@gnu.org; Sun, 14 Nov 2004 00:09:03 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTCdK-0000rH-UW
	for classpath@gnu.org; Sun, 14 Nov 2004 00:09:03 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTCdK-0000rE-Qz
	for classpath@gnu.org; Sun, 14 Nov 2004 00:09:02 -0500
Received: from [64.233.170.192] (helo=rproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTCUU-0001n6-PL
	for classpath@gnu.org; Sat, 13 Nov 2004 23:59:54 -0500
Received: by rproxy.gmail.com with SMTP id a41so627727rng
	for <classpath@gnu.org>; Sat, 13 Nov 2004 20:59:53 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding;
	b=dvYRKlcW6II4FZWGlln7DTVsY2GjOuCqYfnPFrf3xjJL8XzCzlf+rd0Wi4+gT9+1U674k5AK7CGGPyKElB947ia81K93ySAANIs3KlEHnaXBoIPP1bUjiUevMFXB7dV0fRyzX17FbAfBQA6+0TBBwXg0cF6fFbo6AYykhIp2sg0=
Received: by 10.38.76.16 with SMTP id y16mr731914rna;
	Sat, 13 Nov 2004 20:59:52 -0800 (PST)
Received: by 10.39.1.64 with HTTP; Sat, 13 Nov 2004 20:59:52 -0800 (PST)
Message-ID: <4cddaced041113205956559525@mail.gmail.com>
Date: Sun, 14 Nov 2004 10:29:52 +0530
From: Rajesh Jayaprakash <rajesh.jayaprakash@gmail.com>
To: classpath@gnu.org
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Sun, 14 Nov 2004 06:34:17 -0500
Subject: Question about VMRuntime
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: jrajesh@touchtelindia.net
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Nov 2004 05:09:03 -0000

Hi guys,

I am implementing a VM of my own
(http://www.geocities.com/shikan_taza/vajra.html) and have a question
regarding the VMRuntime class:

This class is available in glibj.zip; does this mean that I do not
have to implement this class? But I couldn't locate any .so file
containing the native methods required for this class, so even if I
use the VMRuntime.class, at least the native methods (e.g.
insertSystemProperties) should be implemented by me, right?

I have installed Classpath-0.09 on Suse 9.1 (2.6.5-7.111 kernel).

Thanks for your help.

Regards,

-- 
Rajesh Jayaprakash
http://shikantaza.blogspot.com



From MAILER-DAEMON Sun Nov 14 06:47:41 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTIr7-0003gn-SH
	for mharc-classpath@gnu.org; Sun, 14 Nov 2004 06:47:41 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTIr6-0003gV-Jp
	for classpath@gnu.org; Sun, 14 Nov 2004 06:47:40 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTIr5-0003ft-FE
	for classpath@gnu.org; Sun, 14 Nov 2004 06:47:39 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTIr5-0003fq-AP
	for classpath@gnu.org; Sun, 14 Nov 2004 06:47:39 -0500
Received: from [212.250.162.8] (helo=mta09-winn.mailhost.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTIhw-0005vX-GB
	for classpath@gnu.org; Sun, 14 Nov 2004 06:38:12 -0500
Received: from aamta01-winn.mailhost.ntl.com ([212.250.162.8])
	by mta09-winn.mailhost.ntl.com with ESMTP id
	<20041114113806.RYRG1968.mta09-winn.mailhost.ntl.com@aamta01-winn.mailhost.ntl.com>
	for <classpath@gnu.org>; Sun, 14 Nov 2004 11:38:06 +0000
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by aamta01-winn.mailhost.ntl.com with ESMTP id
	<20041114113806.BVUV17601.aamta01-winn.mailhost.ntl.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Sun, 14 Nov 2004 11:38:06 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	iAEBbCnq011025; Sun, 14 Nov 2004 11:37:23 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id iAEBbCFm011021;
	Sun, 14 Nov 2004 11:37:12 GMT
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16791.17255.943041.183059@cuddles.cambridge.redhat.com>
Date: Sun, 14 Nov 2004 11:37:11 +0000
From: Andrew Haley <aph@redhat.com>
To: Andrew John Hughes <gnu_andrew@member.fsf.org>
In-Reply-To: <1100387658.17793.30.camel@rivendell>
References: <41960FBF.3040008@antonovic.com>
	<m3fz3d1qd6.fsf@localhost.localdomain>
	<1100387658.17793.30.camel@rivendell>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Nov 2004 11:47:40 -0000

Andrew John Hughes writes:
 > On Sat, 2004-11-13 at 19:49, Tom Tromey wrote:
 > > >>>>> "Bojan" == Bojan Antonovic <bojan@antonovic.com> writes:
 > > 
 > > Bojan> Java 5.0 has some new language extensions. Many (?) of them, like
 > > Bojan> generics, are compiled in the way that the byte code binary is
 > > Bojan> compatible to older versions. While extending GCJ to support the new
 > > Bojan> language extensions can take a while, it should be easier that GIJ can
 > > Bojan> run them. Does anybody know when those new binaries will be supported?
 > > Bojan> Can it be done for GCC 4.0 ?
 > > 
 > > Here are the minimal changes required to support 1.5 bytecode.
 > > 
 > > * Make sure we recognize the new class file version number.
 > > 
 > > * Change the bytecode verifiers to accept "ldc <class>" when the
 > >   bytecode in question came from a 1.5 file.  (For the libgcj
 > >   verifier I already have a patch for this, it is in gcjx.  It could
 > >   easily be merged.)
 > > 
 > > * Change the interpreter and the bytecode front end to the compiler
 > >   to recognize this opcode.
 > > 
 > > This set of changes is pretty easy.
 > > 
 > > 
 > If this is the case, then is there a good reason for not starting to
 > include 1.5 changes, that will compile with pre-1.5 compilers, into the
 > HEAD branch?

I'd like this for gcj,

 > It seems a shame to not support 1.5 bytecode, largely because it just
 > calls methods that are absent from GNU Classpath (and, in the case of
 > some of the most frequent ones, implemented in the generics branch).
 > 
 > This does, however, conflict with the idea of getting to a 1.0 branch
 > pretty soon.
 > 
 > Comments?

Make 1.5 bytecode a reqiurement for the 1.0 branch.

Andrew.



From MAILER-DAEMON Sun Nov 14 14:37:30 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTQBm-0000N0-OT
	for mharc-classpath@gnu.org; Sun, 14 Nov 2004 14:37:30 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTQBl-0000Mv-Qy
	for classpath@gnu.org; Sun, 14 Nov 2004 14:37:29 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTQBl-0000Mj-Bn
	for classpath@gnu.org; Sun, 14 Nov 2004 14:37:29 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTQBl-0000Mg-6u
	for classpath@gnu.org; Sun, 14 Nov 2004 14:37:29 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTQ2y-0003Sl-FT
	for classpath@gnu.org; Sun, 14 Nov 2004 14:28:24 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	iAEJSBc279290; Sun, 14 Nov 2004 14:28:12 -0500
Received: from sp1n293en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with
	ESMTP id iAEJSBk55790; Sun, 14 Nov 2004 14:28:11 -0500
Received: from [9.65.244.142] (sig-9-65-244-142.mts.ibm.com [9.65.244.142])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with
	ESMTP id iAEJS9254428; Sun, 14 Nov 2004 14:28:10 -0500
Message-ID: <4197B1C0.2000207@watson.ibm.com>
Date: Sun, 14 Nov 2004 14:28:00 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: en-us, en, it
MIME-Version: 1.0
To: jrajesh@touchtelindia.net
References: <4cddaced041113205956559525@mail.gmail.com>
In-Reply-To: <4cddaced041113205956559525@mail.gmail.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Question about VMRuntime
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Nov 2004 19:37:30 -0000

Rajesh Jayaprakash wrote:
> have a question
> regarding the VMRuntime class:
> 
> This class is available in glibj.zip; does this mean that I do not
> have to implement this class?   But I couldn't locate any .so file
> containing the native methods required for this class, so even if I
> use the VMRuntime.class, at least the native methods (e.g.
> insertSystemProperties) should be implemented by me, right?

Yes, your conclusion is correct.  The vm/reference implementations
are often not full implementations, although we use a few of them
in Jikes RVM.  In the case of VMRuntime, GNU Classpath doesn't
provide any reference implementation for the native portion; in the
case of VMSystem, it does for a few of them (such as getenv) but not
for others (such as arraycopy).

In Jikes RVM, we implement VMRuntime.java fully on our own, without
using any native methods (well, not directly, anyway).  However,
you could certainly use GNU Classpath's reference Java implementation
and just implement the native methods on your own if you wanted to.

I strongly suspect, though, that you'll find it's easier to implement
functions such as insertSystemProperties at least partially in Java.
If you use the vm/reference version of VMRuntime.java, then you'll
have to implement it in C with JNI and then call back into Java.

I would like to encourage you, though, to consider joining one of the
existing free VM projects, several of which could make good use of
additional volunteers.  As I'm sure you've learned, there are a lot
of very boring things involved in VM implementation,
and it's nice to have a lot of that stuff already done.  I'm thinking
of three of the existing projects in particular.  SableVM's emphasis
on correctness of implementation fits in well with some of the
goals you've described on your project page, ; jamvm's minimalism and
simplicity fit in with others (it compiles to only 110 KB on Intel, and only
80 KB on PowerPC); Jikes RVM's emphasis on extensibility and
plug-replacement components have made it a popular tool for folks who want
to experiment with implementation techniques in one area or another
but don't want to have to write the rest of the VM infrastructure in
order to do it.

--Steve Augart

-- 
Steven Augart

Jikes RVM, a free, open source, Virtual Machine:
http://oss.software.ibm.com/jikesrvm



From MAILER-DAEMON Sun Nov 14 14:45:33 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTQJZ-0002ot-4s
	for mharc-classpath@gnu.org; Sun, 14 Nov 2004 14:45:33 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTQJX-0002om-3l
	for classpath@gnu.org; Sun, 14 Nov 2004 14:45:31 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTQJW-0002oa-Ks
	for classpath@gnu.org; Sun, 14 Nov 2004 14:45:30 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTQJV-0002oX-Kv
	for classpath@gnu.org; Sun, 14 Nov 2004 14:45:30 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTQAj-0004b2-4g
	for classpath@gnu.org; Sun, 14 Nov 2004 14:36:25 -0500
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.6944.0
Date: Sun, 14 Nov 2004 20:36:21 +0100
Message-ID: <D92197D0A6547B44A1567814F851FA6802A4B0@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: gij as JRE 5
thread-index: AcTKPsZfpmBlOTqgQYGpsDjxNvoKzQAQfsPQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Andrew Haley" <aph@redhat.com>,
	"Andrew John Hughes" <gnu_andrew@member.fsf.org>
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Nov 2004 19:45:31 -0000

Andrew Haley wrote:
> Make 1.5 bytecode a reqiurement for the 1.0 branch.

I don't understand what you mean by this. Supporting 1.5 bytecode in the
VM is trivial, but we don't have any 1.5 source compilers yet, do we?

I know Tom's working on gcjx, but AFAIK it isn't in a working state yet
and personally I'd like to have a 1.5 compatible version of Jikes too
before we move to using 1.5 language features.

Regards,
Jeroen



From MAILER-DAEMON Sun Nov 14 15:15:12 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTQmG-0002NM-Bu
	for mharc-classpath@gnu.org; Sun, 14 Nov 2004 15:15:12 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTOwM-0001Ht-LL
	for classpath@gnu.org; Sun, 14 Nov 2004 13:17:30 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTOwL-0001HN-Ky
	for classpath@gnu.org; Sun, 14 Nov 2004 13:17:30 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTOwL-0001HD-Hs
	for classpath@gnu.org; Sun, 14 Nov 2004 13:17:29 -0500
Received: from [213.214.194.102] (helo=smtp2.home.se)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTOnX-0007ho-E2
	for classpath@gnu.org; Sun, 14 Nov 2004 13:08:23 -0500
Received: from Mattias.Rehnberg@home.se [217.210.22.105] by smtp.home.se
	with NetMail ModWeb Module; Sun, 14 Nov 2004 19:03:10 +0100
From: "Mattias Rehnberg" <Mattias.Rehnberg@home.se>
To: classpath@gnu.org
Date: Sun, 14 Nov 2004 19:03:10 +0100
X-Mailer: NetMail ModWeb Module
X-Sender: Mattias.Rehnberg@home.se
MIME-Version: 1.0
Message-ID: <1100455390.c7a12940Mattias.Rehnberg@home.se>
Content-Type: multipart/mixed;
	boundary="------=_ModWebBOUNDARY_c7a12940_1100455390"
X-Mailman-Approved-At: Sun, 14 Nov 2004 15:15:11 -0500
Subject: Texual IPv6 address
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Nov 2004 18:17:31 -0000

This is a multi-part message in MIME format.

--------=_ModWebBOUNDARY_c7a12940_1100455390
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

The java.net.Inet6Address class seems to produce invalid textual representa=
tions in some cases. In the example below, the output is IPv6:1010:::::20=
20::1 instead of IPv6:1010:0:0:0:0:2020:0:1 (or 1010::2020:0:1) that one =
would expect. I've included a patch that deactivates the suppression of z=
ero segments.

byte[] adr =3D { 0x10, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x00, 0x20,=
 0x20, 0x0, 0x0, 0x0, 0x1 };

System.out.println("IPv6:" + InetAddress.getByAddress(adr).getHostAddress()=
);

/Mattias





--------=_ModWebBOUNDARY_c7a12940_1100455390
Content-Type: application/octet-stream;
	name="Inet6Address.diff"
Content-Transfer-Encoding: BASE64
Content-Disposition: attachment;
	filename="Inet6Address.diff"

SW5kZXg6IGphdmEvbmV0L0luZXQ2QWRkcmVzcy5qYXZhCj09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9j
dnNyb290L2NsYXNzcGF0aC9jbGFzc3BhdGgvamF2YS9uZXQvSW5ldDZBZGRyZXNzLmphdmEsdgpy
ZXRyaWV2aW5nIHJldmlzaW9uIDEuOApkaWZmIC11IC1yMS44IEluZXQ2QWRkcmVzcy5qYXZhCi0t
LSBqYXZhL25ldC9JbmV0NkFkZHJlc3MuamF2YQkxNSBPY3QgMjAwNCAwOTo1NjowMCAtMDAwMAkx
LjgKKysrIGphdmEvbmV0L0luZXQ2QWRkcmVzcy5qYXZhCTE0IE5vdiAyMDA0IDE3OjUxOjQwIC0w
MDAwCkBAIC0yMDcsMTggKzIwNywxMSBAQAogICAgIGZvciAoaW50IGkgPSAwOyBpIDwgMTY7IGkg
Kz0gMikKICAgICAgIHsKIAlpbnQgeCA9ICgoaXBhZGRyZXNzW2ldICYgMHhGRikgPDwgOCkgfCAo
aXBhZGRyZXNzW2kgKyAxXSAmIDB4RkYpOwotCWJvb2xlYW4gZW1wdHkgPSBzYnVmLmxlbmd0aCgp
ID09IDA7CiAKLQlpZiAoZW1wdHkpCi0JICB7Ci0JICAgIGlmIChpID4gMCkKLQkgICAgICBzYnVm
LmFwcGVuZCgiOjoiKTsKLQkgIH0KLQllbHNlCisJaWYgKGkgPiAwKQogCSAgc2J1Zi5hcHBlbmQo
JzonKTsKIAotCWlmICh4ICE9IDAgfHwgaSA+PSAxNCkKLQkgIHNidWYuYXBwZW5kKEludGVnZXIu
dG9IZXhTdHJpbmcoeCkpOworCXNidWYuYXBwZW5kKEludGVnZXIudG9IZXhTdHJpbmcoeCkpOwog
ICAgICAgfQogCiAgICAgcmV0dXJuIHNidWYudG9TdHJpbmcoKTsK

--------=_ModWebBOUNDARY_c7a12940_1100455390--




From MAILER-DAEMON Sun Nov 14 15:42:33 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTRCj-00014T-5S
	for mharc-classpath@gnu.org; Sun, 14 Nov 2004 15:42:33 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTRCg-00014J-Uy
	for classpath@gnu.org; Sun, 14 Nov 2004 15:42:31 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTRCg-000147-Gw
	for classpath@gnu.org; Sun, 14 Nov 2004 15:42:30 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTRCg-000144-D5
	for classpath@gnu.org; Sun, 14 Nov 2004 15:42:30 -0500
Received: from [212.6.122.32] (helo=mail5.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTR3r-0004Ik-Ah
	for classpath@gnu.org; Sun, 14 Nov 2004 15:33:23 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-079.ewetel.net
	[80.228.94.79])
	by mail5.ewetel.de (8.12.1/8.12.9) with ESMTP id iAEKXKaL014764;
	Sun, 14 Nov 2004 21:33:21 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CTS24-00047M-3D; Sun, 14 Nov 2004 22:35:36 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Sun, 14 Nov 2004 22:34:25 +0100
User-Agent: KMail/1.6.2
References: <1100455390.c7a12940Mattias.Rehnberg@home.se>
In-Reply-To: <1100455390.c7a12940Mattias.Rehnberg@home.se>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200411142234.25462.konqueror@gmx.de>
X-CheckCompat: OK
Cc: Mattias Rehnberg <Mattias.Rehnberg@home.se>
Subject: Re: Texual IPv6 address
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Nov 2004 20:42:31 -0000

Am Sonntag, 14. November 2004 19:03 schrieb Mattias Rehnberg:
> Hello,
>
> The java.net.Inet6Address class seems to produce invalid textual
> representations in some cases. In the example below, the output is
> IPv6:1010:::::2020::1 instead of IPv6:1010:0:0:0:0:2020:0:1 (or
> 1010::2020:0:1) that one would expect. I've included a patch that
> deactivates the suppression of zero segments.
>
> byte[] adr = { 0x10, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x00,
> 0x20, 0x20, 0x0, 0x0, 0x0, 0x1 };
>
> System.out.println("IPv6:" +
> InetAddress.getByAddress(adr).getHostAddress());

Yeah, we really need some mauve testcases for such stuff. I will write 
some next week and fix the bugs I find. I don't think we should delay 
release of 0.12 any further for this.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Sun Nov 14 15:52:22 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTRMD-0003dD-LF
	for mharc-classpath@gnu.org; Sun, 14 Nov 2004 15:52:22 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTRLz-0003aO-U6
	for classpath@gnu.org; Sun, 14 Nov 2004 15:52:14 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTRLv-0003Yw-UJ
	for classpath@gnu.org; Sun, 14 Nov 2004 15:52:05 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CTRLr-0003Ul-CB; Sun, 14 Nov 2004 15:51:59 -0500
Received: from [129.34.20.6] (helo=igw2.watson.ibm.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CTRCP-0005gj-GZ; Sun, 14 Nov 2004 15:42:13 -0500
Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com
	[129.34.20.41])
	by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id
	iAEKg6c214926; Sun, 14 Nov 2004 15:42:06 -0500
Received: from sp1n293en1.watson.ibm.com (localhost [127.0.0.1])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with
	ESMTP id iAEKg5k55640; Sun, 14 Nov 2004 15:42:05 -0500
Received: from [9.65.244.142] (sig-9-65-244-142.mts.ibm.com [9.65.244.142])
	by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with
	ESMTP id iAEKg4258400; Sun, 14 Nov 2004 15:42:04 -0500
Message-ID: <4197C30F.5090708@watson.ibm.com>
Date: Sun, 14 Nov 2004 15:41:51 -0500
From: Steven Augart <augart@watson.ibm.com>
Organization: IBM Watson Research Ctr., Jikes RVM Project
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: en-us, en, it
MIME-Version: 1.0
To: Mattias Rehnberg <Mattias.Rehnberg@home.se>
References: <1100455390.c7a12940Mattias.Rehnberg@home.se>
In-Reply-To: <1100455390.c7a12940Mattias.Rehnberg@home.se>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org, classpath-patches@gnu.org
Subject: Re: Texual IPv6 address
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Nov 2004 20:52:16 -0000

Mattias Rehnberg wrote:
> Hello,
> 
> The java.net.Inet6Address class seems to produce invalid textual 
 > representations in some cases. In the example below, the output
 > is IPv6:1010:::::2020::1 instead of IPv6:1010:0:0:0:0:2020:0:1
 > (or 1010::2020:0:1) that one would expect. I've included a patch
 >  that deactivates the suppression of zero segments.

Thank you for sending such a clear bug report and patch.  I always
like a patch that shortens the code :).

I checked against RFC2373 <http://www.faqs.org/rfcs/rfc2373.html>, and the
current behavior is clearly bogus.

To quote RFC2373:
    1. The preferred form is x:x:x:x:x:x:x:x, where the 'x's are the
       hexadecimal values of the eight 16-bit pieces of the address.
       Examples:

          FEDC:BA98:7654:3210:FEDC:BA98:7654:3210

          1080:0:0:0:8:800:200C:417A

       Note that it is not necessary to write the leading zeros in an
       individual field, but there must be at least one numeral in every
       field (except for the case described in 2.).

I've tested the patch and it works as advertised.  Committed with
the following ChangeLog entry:

2004-11-14  Mattias Rehnberg  <Mattias.Rehnberg@home.se>

	* java/net/Inet6Address.java (getHostAddress): Fix textual
	representation of IPv6 address with embedded zeroes
	to conform to RFC 2373.

--Steve Augart


-- 
Steven Augart

Jikes RVM, a free, open source, Virtual Machine:
http://oss.software.ibm.com/jikesrvm



From MAILER-DAEMON Sun Nov 14 17:05:09 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTSUf-0000SN-Na
	for mharc-classpath@gnu.org; Sun, 14 Nov 2004 17:05:09 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTSUe-0000S1-A8
	for classpath@gnu.org; Sun, 14 Nov 2004 17:05:08 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTSUb-0000RP-SB
	for classpath@gnu.org; Sun, 14 Nov 2004 17:05:06 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTSUb-0000R3-8J
	for classpath@gnu.org; Sun, 14 Nov 2004 17:05:05 -0500
Received: from [217.12.12.196] (helo=smtp806.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CTSLu-0000wI-KN
	for classpath@gnu.org; Sun, 14 Nov 2004 16:56:06 -0500
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(classpath@gnu.org@217.44.226.227 with poptime)
	by smtp806.mail.ukl.yahoo.com with SMTP; 14 Nov 2004 21:56:04 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.34)
	id 1CTSLs-0005GS-9Y
	for classpath@gnu.org; Sun, 14 Nov 2004 21:56:04 +0000
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <D92197D0A6547B44A1567814F851FA6802A4B0@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA6802A4B0@LEMBU.sumatrasoftware.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-SFreXs5YbjeyP0utv3qT"
Message-Id: <1100469364.17793.64.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 14 Nov 2004 21:56:04 +0000
Subject: RE: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Nov 2004 22:05:08 -0000


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

On Sun, 2004-11-14 at 19:36, Jeroen Frijters wrote:
> Andrew Haley wrote:
> > Make 1.5 bytecode a reqiurement for the 1.0 branch.
>=20
> I don't understand what you mean by this. Supporting 1.5 bytecode in the
> VM is trivial, but we don't have any 1.5 source compilers yet, do we?
>=20
> I know Tom's working on gcjx, but AFAIK it isn't in a working state yet
> and personally I'd like to have a 1.5 compatible version of Jikes too
> before we move to using 1.5 language features.
>=20
> Regards,
> Jeroen

It's not so much 1.5 language features as the API of 1.5.  There are, as
I see it, two categories of changes in 1.5:

* Changes which involve generics, enums and the other stuff in 1.5 (e.g.
the java.util collections).  This is stuff that a pre-1.5 compiler will
choke on, and is something that should stay in the generics branch for
now.

* Changes which are just additional classes or interfaces without the
use of 1.5 language features.  From looking at the docs, there are quite
a few of these, to say the least.  Even in java.lang, you have the
addition of StringBuilder and methods to the Math class.  These would be
more suited to addition to the HEAD branch, as there they will get wider
testing and development.

The 1.5 language features largely disappear at byte-code level, as
demonstrated by Tom's mail on adding compatibility.  At a guess, I would
say that the users of Java bytecode would outnumber those who compile
it.  Also, Java tends not to be compiled to bytecode on a per-user
basis, in the way that C code would, because the non-native form makes
this unadvantageous.  I think it would give the Free interpreters, and
the Free library that is GNU Classpath,  a better position if they can
handle bytecode from 1.5, even if Free compilers are not yet capable of
creating it.  Certainly, we will need the support in the long run, and
the more well used and widely tested it is before this, the better IMO.
--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachment=
s.
See http://www.fsf.org/philosophy/no-word-attachments.html

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

"We've all been part of the biggest beta test the world has ever known --
Windows"
-- Victor Wheatman, Gartner


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

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

iD8DBQBBl9R0u+fW6pI0dq4RAoDeAJ9HtVARJtPpKXh+foqmBG52X2sv4ACfTjSi
Y5dGZKicRb9BI1RZ3PRVz3M=
=8BW6
-----END PGP SIGNATURE-----

--=-SFreXs5YbjeyP0utv3qT--




From MAILER-DAEMON Sun Nov 14 19:19:32 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTUai-0005gw-Mj
	for mharc-classpath@gnu.org; Sun, 14 Nov 2004 19:19:32 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTUaf-0005eO-Od
	for classpath@gnu.org; Sun, 14 Nov 2004 19:19:29 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTUae-0005dA-Ec
	for classpath@gnu.org; Sun, 14 Nov 2004 19:19:29 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTUae-0005d0-3o
	for classpath@gnu.org; Sun, 14 Nov 2004 19:19:28 -0500
Received: from [82.161.94.186] (helo=gnu.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTURr-0005xE-J6
	for classpath@gnu.org; Sun, 14 Nov 2004 19:10:24 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26])
	by gnu.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CTURF-0004hm-00
	for <classpath@gnu.org>; Mon, 15 Nov 2004 01:09:45 +0100
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-UDXswLlkjb3VuiGHVPZs"
Message-Id: <1100477438.4757.162.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Mon, 15 Nov 2004 01:10:38 +0100
Subject: GNU Classpath 0.12 released
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 00:19:30 -0000


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

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

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

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

File: classpath-0.12.tar.gz
MD5sum: ce1f7fbe6f2e3b738bae3b46f01a9670

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

X.509 certificate path checking, signed JAR file support, full
java.awt.color implementation, java.beans 1.4 updates, improved
build process, better AWT focus management, much faster and better
fonts support, AWT Choice fixes, HTTP POST fixes, better collection
documentation, Calendar bug fixes, lookahead support for regular
expressions, jtree starts working and improved Eclipse 3 support.

Included, but not activated by default in this release is a Graphics2D
implementation based on the Cairo Graphics framework
(http://www.cairographics.org). Enabling this makes programs like
JFreeChart work on GNU Classpath based runtimes.  Note that this release
needs a cairo CVS build.

[It is recommended that people wanting to experiment with the
Graphics2D implementation follow the instructions for building gcj
with jhbuild which automatically builds the latest CVS version of GCJ
and Cairo at http://people.redhat.com/fitzsim/gcj-and-jhbuild.html]

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

GNU Classpath uses the Mauve test suite for Compatibility, Completeness
and Correctness checking.  This release passes 21245 of 21593 mauve
tests.
Free Software programs and libraries tested against this release are
Eclipse 3.0, JFreeChart (see above), gcjwebplugin and many other
programs,
libraries and applets.

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

1). Who should use this software?

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

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

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

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

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

You will also need a runtime environment. The following runtime
environments should work out of the box with GNU Classpath

    * JamVM         (http://jamvm.sourceforge.net/)
    * Jikes RVM     (http://www.ibm.com/developerworks/oss/jikesrvm/)
    * Kissme        (http://kissme.sourceforge.net/)

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

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

2). What platforms are supported?

GNU/Linux and FreeBSD on x86 and powerpc are regularly tested by the
developers.  Since 0.12 there is also support for cygwin.
We plan to eventually support many others.

5). Where do I go for more information?

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

A good overview of the current status can be found on the GNU Classpath
at FOSDEM'04 page which describes the last GNU Classpath hacker meeting.
It includes reports and presentations on the current status and future
plans: http://www.gnu.org/software/classpath/events/fosdem04.html

The following presentation given during the Desktop Developers
Conference shows how to integrate GNU Claspath and GCJ more with the
Free Desktop environments: http://people.redhat.com/fitzsim/ddc2004/

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

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

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

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

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

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

6). What is new in this release?

New in release 0.12 (Nov 14, 2004)
(See the ChangeLog file for a full list of changes.)

* GNU Classpath's JAR implementation now has preliminary support for
  signed entries, for so called "signed JAR" file support. Signed JAR
  files are one of the key security features of managed runtimes, and
  allows code to run privileged given unforgeable proofs of identity.
* A much improved version of X.509 certificates has been added,
  including a robust certificate path checking algorithm. Also
  included is an implementation of the RSA signature scheme.
* Full java.awt.color implementation, with all standard ICC profiles,
  except for PhotoYCC color space.
* java.beans 1.4 updates and bug fixes.
* java.awt.image support updated to 1.4.
* Improved build process. Uses less memory with gcj and C code is
  buildable with -Werror on most platform. Please configure with
  --enable-Werror and report any remaining issues.
* Big-endian (PowerPC) fixes for native awt GTK+ peers.
* Checkstyle support, see scripts/checkstyle-config.xml.
* Better AWT focus management fro GTK+ peers.
* Much faster and better fonts support
  (for both gdk Graphics and cairo Graphics2D)
* AWT Choice fixes for hidden components.
* HTTP Connection Handler fixes for POST support.
* Much fuller collection documentation.
* Lots of Calendar bug fixes.
* More javax.imageio support.
* Better AWT Help MenuBar support.
* Lookahead support for regular expressions.
* Serialization object stream fixes for multiple ClassLoader scenarios.
* Swing TabbedPane, ColorChooser and ComboBox improvements.
* Start of JTree functionality.
* Improved Eclipse 3 support for GNU Classpath based runtimes.

Runtime interface Changes:

* New --enable-java-lang-system-explicit-initialization configuration
  option. (Warning, will be replaced in next release, please consult
  the mailinglist.)
* The reference implementation of VMClassLoader has default
  implementations for getResource(s) and provides support for a new
  default getSystemClassLoader implementation.

The following people helped with this release:

Andreas Tobler (gtk/c compilation and PPC fixes), Andrew Haley
(Object stream serialization fixes), Andrew John Hughes (java.util
documentation updates), Bryce McKinlay (Calendar bugfixes), Casey
Marshall (X.509 certificate path checking and signed jar file
support), Dalibor Topic (AWT Component postevent fix), David Daney
(URL bug fixes), David Gilbert (geom documentation updates and mauve
checking), David Jee (AWT HelpMenuBar fixes), Graydon Hoare
(Graphics2D and Swing work), Ilya Perminov (RMI fixes), Jeroen
Frijters (Application Classloader updates and IKVM integration), Jerry
Quinn (AWT image work), Kim Ho (Swing TabbedPane and ColorChooser
fixes), Mark Wielaard (libgcj merging and packaging), Mattias Rehnberg
(Inet6Address and serialization fixes), Michael Koch (Build
system/compiler updates, libgcj merging, code cleanups, swing, net,
imageio and other fixes and improvements), Noa Resare (Calendar, net,
AWT choice and GeneralPath fixes, kaffe integration), Olga Rodimina
(Swing ComboBox fixes), Patrik Reali (Website), Paul Jenner (AWT Image
raster and Swing JTree fixes), Per Bothner (Collections efficiency),
Robert Schuster (java.beans 1.4 updates and bug fixes), Shashank Bapat
(Regex lookahead support), Steven Augart (JikesRVM integration), Sven
de Marothy (AWT color package implementation, Polygon, GeneralPath,
Double parsing and nio fixes), Thomas Fitzsimmons (AWT gtk+ peer
work), Tom Tromey (Code cleanups all over), Torsten Rupp (Native
java.net cleanups and fixes)


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

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

iD8DBQBBl/P+xVhZCJWr9QwRAmHoAJ9b/H7uC+wU3mbIVGW0qp9ZfjYp4gCfVaU9
StyqWSk6GP49cagvaEbQ4eU=
=v7e7
-----END PGP SIGNATURE-----

--=-UDXswLlkjb3VuiGHVPZs--




From MAILER-DAEMON Sun Nov 14 22:08:38 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTXEL-0002Dy-SB
	for mharc-classpath@gnu.org; Sun, 14 Nov 2004 22:08:37 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTXEK-0002DZ-Ej
	for classpath@gnu.org; Sun, 14 Nov 2004 22:08:36 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTXEI-0002Cl-Qi
	for classpath@gnu.org; Sun, 14 Nov 2004 22:08:35 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTXEI-0002CQ-Mc
	for classpath@gnu.org; Sun, 14 Nov 2004 22:08:34 -0500
Received: from [64.233.184.192] (helo=wproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTX5F-00066i-Hp
	for classpath@gnu.org; Sun, 14 Nov 2004 21:59:13 -0500
Received: by wproxy.gmail.com with SMTP id 67so507906wri
	for <classpath@gnu.org>; Sun, 14 Nov 2004 18:59:12 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references;
	b=A61ZyYtJitU5EBjpMbYBtT0iaUyIFruhLmV2CeakVIaiWeRK3CcRaTxccFnHJ4rsWsrvBx8Gd06Q/04oMdPQjCks2Vfy6Tjq6RBCsOObxnzlaIgFI18lUErsmzZOSgJO5AS6L4E6I5Q63J2OZMprMFGibx2HFpfRl5GyZeMfCeU=
Received: by 10.54.54.74 with SMTP id c74mr686285wra;
	Sun, 14 Nov 2004 18:59:12 -0800 (PST)
Received: by 10.54.47.6 with HTTP; Sun, 14 Nov 2004 18:59:12 -0800 (PST)
Message-ID: <d58509a804111418596ab64787@mail.gmail.com>
Date: Mon, 15 Nov 2004 02:59:12 +0000
From: Robert Lougher <rob.lougher@gmail.com>
To: classpath@gnu.org
In-Reply-To: <41963F59.7060904@mail.mcgill.ca>
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_305_19280117.1100487552591"
References: <1100121333.20858.68.camel@localhost.localdomain>
	<1100343533.4757.21.camel@localhost.localdomain>
	<d58509a804111306233d3a240c@mail.gmail.com>
	<41963F59.7060904@mail.mcgill.ca>
Cc: Mark Wielaard <mark@klomp.org>, sablevm-devel@sablevm.org
Subject: Re: SMP problems (was Re: GNU Classpath 0.12, ..., 1.0)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Robert Lougher <rob.lougher@gmail.com>
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 03:08:36 -0000

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

Hi,

Further to my previous email, here's a patch to JamVM 1.2.0 to include
memory barriers on Intel.  Mark, as you've seen the problem with
Eclipse 3, could you give it a test?  If there's anybody else who's
seen problems I'd be grateful if you could also give it a go.

Thanks,

Rob.

P.S.  I believe the compare_and_swap implementation on Intel was
correct, as any locked instruction forms a memory barrier.  However,
there are a couple of other places where ordering is important -- I've
added memory barriers here.  In particular, bytecode rewriting in the
interpreter.  I suspect this is the most likely cause of the problem,
as Mark said making static methods synchronised slows it down (i.e.
only 1 thread can be in the method).  The memory barrier itself is a
locked no-op; the sfence, lfence and mfence instructions exist on the
P4 but will not work on all processors.

On Sat, 13 Nov 2004 12:07:37 -0500, Chris Pickett
<chris.pickett@mail.mcgill.ca> wrote:
> Robert Lougher wrote:
> > Hi all,
> >
> > On Sat, 13 Nov 2004 11:58:53 +0100, Mark Wielaard <mark@klomp.org> wrote:
> >
> >>The Eclipse 3 (but not 2) startup problem seems to only happen on SMP
> >>machine (it disappears when I don't use a SMP kernel, this is on a Intel
> >>hyperthreading system) with jamvm [*]. It works fine with gcj/gij (it
> >>doesn't work anymore with kaffe though since they don't implement
> >>java.lang.ClassLoader.setSigners which we now call).
> >
> >
> > I'm not terribly surprised -- I've never tested JamVM on a real or
> > virtual SMP machine before.  When writing the thin-locking
> > implementation I didn't include any SMP memory barriers, so it's
> > something I've been expecting to hear!  I'll look at including them
> > for the next release.  Mark, would you be willing to do the testing?
> >
> >
> >>Cheers,
> >>
> >>Mark
> >>
> >>[*] Hint for Robert. When inspecting with -verbose I can see that some
> >>classes are [loaded] multiple times. I can slow down crashing a bit by
> >>making various VMClass static methods synchronized, but that is not a
> >>full solution. I think this is a bug in the runtime that needs to guard
> >>against defining the same class from multiple threads and not completely
> >>fixable in our core libraries setup.
> >>
> >
> >
> > I don't think this is the cause.  This can happen even on a
> > uni-processor machine.  Two threads can see a class hasn't been loaded
> > and start to define it.  However, the updating of the loaded class
> > hash table is locked.  One thread will win the race and update the
> > table, the other will find it already there, and discard the one it's
> > just loaded.  This keeps locking to a minimum, and should lead to
> > overall faster behaviour.  It's a bug as to where the -verbose message
> > is printed -- it should only be done by the thread that wins the race.
> 
> For what it's worth, we've had SMP problems in SableVM for a while now
> also.  They too seem related to thread startup and thread death.  It
> never occurred to me that this might be a Classpath problem since until
> now I thought we were the only ones, but then again it could just be
> that both JamVM and SableVM have equally bad internal locking :(.  I
> tried putting in memory barriers as prescribed by the JSR133 cookbook
> [1], but it didn't make any difference.  In fact, I tried putting a
> StoreLoad barrier in between every single bytecode instruction, and it
> still didn't help.  I haven't tested Eclipse, but will try to (or some
> other SableVM person with a working Eclipse installation could try).
> 
> [1] http://gee.cs.oswego.edu/dl/jmm/cookbook.html
> 
> SableVM also doesn't have any handling of Java volatiles, which do
> indeed exist in the Classpath threading code.  However, one would think
> that with a barrier in between every single bytecode that this wouldn't
> matter and that something else must be wrong.  We did manage to squash a
> couple of threading bugs when somebody tried to build on NetBSD (I
> think...), and got compile-time pthread initialization warnings.
> 
> Again my experience says that this isn't strictly limited to SMP
> machines, but that on UP's the time between context switches is so long
> that it's much harder to catch these heisenbugs.
> 
> I think it would be interesting to hear from VM developers who _don't_
> have problems on SMP machines but had them in the past and somehow
> managed to eliminate them.
> 
> Chris
>

------=_Part_305_19280117.1100487552591
Content-Type: application/octet-stream; name="mb-patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="mb-patch"

ZGlmZiAtTmF1ciBqYW12bS0xLjIuMC9zcmMvYXJtL2xvY2tfbWQuaCBqYW12bS0xLjIuMC1tYi9z
cmMvYXJtL2xvY2tfbWQuaAotLS0gamFtdm0tMS4yLjAvc3JjL2FybS9sb2NrX21kLmgJMjAwNC0w
OC0xOCAyMDo1NDowMi4wMDAwMDAwMDAgKzAxMDAKKysrIGphbXZtLTEuMi4wLW1iL3NyYy9hcm0v
bG9ja19tZC5oCTIwMDQtMTEtMTUgMDM6MzU6MjcuMDAwMDAwMDAwICswMDAwCkBAIC02MSwzICs2
MSw2IEBACiAgICAgOiAiciIgKGFkZHIpLCAiciIgKG5ld192YWwpICAgICAgICAgICAgICAgICAg
XAogICAgIDogImNjIiwgIm1lbW9yeSIpOyAgICAgICAgICAgICAgICAgICAgICAgICAgIFwKIH0g
d2hpbGUoMCkKKworI2RlZmluZSBNQkFSUklFUigpIF9fYXNtX18gX192b2xhdGlsZV9fICgiIiA6
OjogIm1lbW9yeSIpCisKZGlmZiAtTmF1ciBqYW12bS0xLjIuMC9zcmMvaTM4Ni9sb2NrX21kLmgg
amFtdm0tMS4yLjAtbWIvc3JjL2kzODYvbG9ja19tZC5oCi0tLSBqYW12bS0xLjIuMC9zcmMvaTM4
Ni9sb2NrX21kLmgJMjAwNC0wOC0xOCAyMDo1NDowMi4wMDAwMDAwMDAgKzAxMDAKKysrIGphbXZt
LTEuMi4wLW1iL3NyYy9pMzg2L2xvY2tfbWQuaAkyMDA0LTExLTE1IDAyOjMxOjEyLjAwMDAwMDAw
MCArMDAwMApAQCAtMzQsMyArMzQsNyBAQAogCiAjZGVmaW5lIEFUT01JQ19SRUFEKGFkZHIpICph
ZGRyCiAjZGVmaW5lIEFUT01JQ19XUklURShhZGRyLCB2YWx1ZSkgKmFkZHIgPSB2YWx1ZQorCisj
ZGVmaW5lIE1CQVJSSUVSKCkgX19hc21fXyBfX3ZvbGF0aWxlX18gKCJsb2NrOyBhZGRsICQwLDAo
JSVlc3ApIiA6OjogIm1lbW9yeSIpCisKKwpkaWZmIC1OYXVyIGphbXZtLTEuMi4wL3NyYy9pbnRl
cnAuYyBqYW12bS0xLjIuMC1tYi9zcmMvaW50ZXJwLmMKLS0tIGphbXZtLTEuMi4wL3NyYy9pbnRl
cnAuYwkyMDA0LTA5LTAzIDA4OjU3OjM2LjAwMDAwMDAwMCArMDEwMAorKysgamFtdm0tMS4yLjAt
bWIvc3JjL2ludGVycC5jCTIwMDQtMTEtMTUgMDM6MzU6NTMuMDAwMDAwMDAwICswMDAwCkBAIC02
OSwxNSArNjksMTkgQEAKICNkZWZpbmUgT1BDT0RFX1JFV1JJVEVfT1BFUkFORDEocGMsIG9wY29k
ZSwgb3BlcmFuZDEpICAgICAgICAgICAgICAgICBcCiB7ICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAogICAgIHBjWzBd
ID0gT1BDX0xPQ0s7ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgIFwKKyAgICBNQkFSUklFUigpOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICBcCiAgICAgcGNbMV0gPSBvcGVyYW5kMTsgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAorICAgIE1CQVJSSUVSKCk7ICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwKICAg
ICBwY1swXSA9IG9wY29kZTsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICBcCiB9CiAKICNkZWZpbmUgT1BDT0RFX1JFV1JJVEVfT1BFUkFORDIocGMsIG9w
Y29kZSwgb3BlcmFuZDEsIG9wZXJhbmQyKSAgICAgICBcCiB7ICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAogICAgIHBj
WzBdID0gT1BDX0xPQ0s7ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgIFwKKyAgICBNQkFSUklFUigpOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICBcCiAgICAgcGNbMV0gPSBvcGVyYW5kMTsgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAogICAgIHBjWzJdID0gb3Bl
cmFuZDI7ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwK
KyAgICBNQkFSUklFUigpOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICBcCiAgICAgcGNbMF0gPSBvcGNvZGU7ICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAogfQogCmRpZmYgLU5hdXIgamFtdm0tMS4y
LjAvc3JjL2xvY2suYyBqYW12bS0xLjIuMC1tYi9zcmMvbG9jay5jCi0tLSBqYW12bS0xLjIuMC9z
cmMvbG9jay5jCTIwMDQtMDgtMzAgMTE6NDg6MTIuMDAwMDAwMDAwICswMTAwCisrKyBqYW12bS0x
LjIuMC1tYi9zcmMvbG9jay5jCTIwMDQtMTEtMTUgMDI6MDg6NDcuMDAwMDAwMDAwICswMDAwCkBA
IC0yOSw3ICsyOSw3IEBACiAjaW5jbHVkZSAiaGFzaC5oIgogI2luY2x1ZGUgImFsbG9jLmgiCiAK
LSNpbmNsdWRlICJsb2NrX21kLmgiCisjaW5jbHVkZSAibG9jay5oIgogCiAvKiBUcmFjZSBsb2Nr
IG9wZXJhdGlvbnMgYW5kIGluZmxhdGlvbi9kZWZsYXRpb24gKi8KICNpZmRlZiBUUkFDRUxPQ0sK
ZGlmZiAtTmF1ciBqYW12bS0xLjIuMC9zcmMvbG9jay5oIGphbXZtLTEuMi4wLW1iL3NyYy9sb2Nr
LmgKLS0tIGphbXZtLTEuMi4wL3NyYy9sb2NrLmgJMjAwNC0wOC0xOCAyMDo1NDowMi4wMDAwMDAw
MDAgKzAxMDAKKysrIGphbXZtLTEuMi4wLW1iL3NyYy9sb2NrLmgJMjAwNC0xMS0xNSAwMjowODoz
NC4wMDAwMDAwMDAgKzAwMDAKQEAgLTE5LDYgKzE5LDcgQEAKICAqLwogCiAjaW5jbHVkZSAidGhy
ZWFkLmgiCisjaW5jbHVkZSAibG9ja19tZC5oIgogCiBleHRlcm4gdm9pZCBtb25pdG9ySW5pdChN
b25pdG9yICptb24pOwogZXh0ZXJuIHZvaWQgbW9uaXRvckxvY2soTW9uaXRvciAqbW9uLCBUaHJl
YWQgKnNlbGYpOwpkaWZmIC1OYXVyIGphbXZtLTEuMi4wL3NyYy9wb3dlcnBjL2xvY2tfbWQuaCBq
YW12bS0xLjIuMC1tYi9zcmMvcG93ZXJwYy9sb2NrX21kLmgKLS0tIGphbXZtLTEuMi4wL3NyYy9w
b3dlcnBjL2xvY2tfbWQuaAkyMDA0LTA4LTE4IDIwOjU0OjAyLjAwMDAwMDAwMCArMDEwMAorKysg
amFtdm0tMS4yLjAtbWIvc3JjL3Bvd2VycGMvbG9ja19tZC5oCTIwMDQtMTEtMTUgMDM6MzI6NTMu
MDAwMDAwMDAwICswMDAwCkBAIC0zOCwzICszOCw1IEBACiAKICNkZWZpbmUgQVRPTUlDX1JFQUQo
YWRkcikgKmFkZHIKICNkZWZpbmUgQVRPTUlDX1dSSVRFKGFkZHIsIHZhbHVlKSAqYWRkciA9IHZh
bHVlCisKKyNkZWZpbmUgTUJBUlJJRVIoKSBfX2FzbV9fIF9fdm9sYXRpbGVfXyAoIiIgOjo6ICJt
ZW1vcnkiKQpkaWZmIC1OYXVyIGphbXZtLTEuMi4wL3NyYy9yZXNvbHZlLmMgamFtdm0tMS4yLjAt
bWIvc3JjL3Jlc29sdmUuYwotLS0gamFtdm0tMS4yLjAvc3JjL3Jlc29sdmUuYwkyMDA0LTA4LTE4
IDIwOjU0OjAyLjAwMDAwMDAwMCArMDEwMAorKysgamFtdm0tMS4yLjAtbWIvc3JjL3Jlc29sdmUu
YwkyMDA0LTExLTE1IDAyOjQyOjE2LjAwMDAwMDAwMCArMDAwMApAQCAtMjEsNiArMjEsNyBAQAog
I2luY2x1ZGUgPHN0ZGlvLmg+CiAjaW5jbHVkZSA8c3RyaW5nLmg+CiAjaW5jbHVkZSAiamFtLmgi
CisjaW5jbHVkZSAibG9jay5oIgogCiBNZXRob2RCbG9jayAqZmluZE1ldGhvZChDbGFzcyAqY2xh
c3MsIGNoYXIgKm1ldGhvZG5hbWUsIGNoYXIgKnR5cGUpIHsKICAgIENsYXNzQmxvY2sgKmNiID0g
Q0xBU1NfQ0IoY2xhc3MpOwpAQCAtMTE4LDcgKzExOSw5IEBACiAgICAgICAgICAgICAgICAgcmV0
dXJuIE5VTEw7CiAKICAgICAgICAgICAgIENQX1RZUEUoY3AsIGNwX2luZGV4KSA9IENPTlNUQU5U
X0xvY2tlZDsKKyAgICAgICAgICAgIE1CQVJSSUVSKCk7CiAgICAgICAgICAgICBDUF9JTkZPKGNw
LCBjcF9pbmRleCkgPSAodTQpcmVzb2x2ZWRfY2xhc3M7CisgICAgICAgICAgICBNQkFSUklFUigp
OwogICAgICAgICAgICAgQ1BfVFlQRShjcCwgY3BfaW5kZXgpID0gQ09OU1RBTlRfUmVzb2x2ZWQ7
CiAKIAkgICAgYnJlYWs7CkBAIC0xNzksNyArMTgyLDkgQEAKICAgICAgICAgICAgICAgICBpbml0
Q2xhc3MobWItPmNsYXNzKTsKIAogICAgICAgICAgICAgICAgIENQX1RZUEUoY3AsIGNwX2luZGV4
KSA9IENPTlNUQU5UX0xvY2tlZDsKKyAgICAgICAgICAgICAgICBNQkFSUklFUigpOwogICAgICAg
ICAgICAgICAgIENQX0lORk8oY3AsIGNwX2luZGV4KSA9ICh1NCltYjsKKyAgICAgICAgICAgICAg
ICBNQkFSUklFUigpOwogICAgICAgICAgICAgICAgIENQX1RZUEUoY3AsIGNwX2luZGV4KSA9IENP
TlNUQU5UX1Jlc29sdmVkOwogICAgICAgICAgICAgfSBlbHNlCiAgICAgICAgICAgICAgICAgc2ln
bmFsRXhjZXB0aW9uKCJqYXZhL2xhbmcvTm9TdWNoTWV0aG9kRXJyb3IiLCBtZXRob2RuYW1lKTsK
QEAgLTIzNyw3ICsyNDIsOSBAQAogCiAgICAgICAgICAgICBpZihtYikgewogICAgICAgICAgICAg
ICAgIENQX1RZUEUoY3AsIGNwX2luZGV4KSA9IENPTlNUQU5UX0xvY2tlZDsKKyAgICAgICAgICAg
ICAgICBNQkFSUklFUigpOwogICAgICAgICAgICAgICAgIENQX0lORk8oY3AsIGNwX2luZGV4KSA9
ICh1NCltYjsKKyAgICAgICAgICAgICAgICBNQkFSUklFUigpOwogICAgICAgICAgICAgICAgIENQ
X1RZUEUoY3AsIGNwX2luZGV4KSA9IENPTlNUQU5UX1Jlc29sdmVkOwogICAgICAgICAgICAgfSBl
bHNlCiAgICAgICAgICAgICAgICAgc2lnbmFsRXhjZXB0aW9uKCJqYXZhL2xhbmcvTm9TdWNoTWV0
aG9kRXJyb3IiLCBtZXRob2RuYW1lKTsKQEAgLTI4NCw3ICsyOTEsOSBAQAogICAgICAgICAgICAg
ICAgIGluaXRDbGFzcyhmYi0+Y2xhc3MpOwogCiAgICAgICAgICAgICAgICAgQ1BfVFlQRShjcCwg
Y3BfaW5kZXgpID0gQ09OU1RBTlRfTG9ja2VkOworICAgICAgICAgICAgICAgIE1CQVJSSUVSKCk7
CiAgICAgICAgICAgICAgICAgQ1BfSU5GTyhjcCwgY3BfaW5kZXgpID0gKHU0KWZiOworICAgICAg
ICAgICAgICAgIE1CQVJSSUVSKCk7CiAgICAgICAgICAgICAgICAgQ1BfVFlQRShjcCwgY3BfaW5k
ZXgpID0gQ09OU1RBTlRfUmVzb2x2ZWQ7CiAgICAgICAgICAgICB9IGVsc2UKICAgICAgICAgICAg
ICAgICBzaWduYWxFeGNlcHRpb24oImphdmEvbGFuZy9Ob1N1Y2hGaWVsZEVycm9yIiwgZmllbGRu
YW1lKTsKQEAgLTMxNCw3ICszMjMsOSBAQAogCiAgICAgICAgICAgICBpZihzdHJpbmcpIHsKICAg
ICAgICAgICAgICAgICBDUF9UWVBFKGNwLCBjcF9pbmRleCkgPSBDT05TVEFOVF9Mb2NrZWQ7Cisg
ICAgICAgICAgICAgICAgTUJBUlJJRVIoKTsKICAgICAgICAgICAgICAgICBDUF9JTkZPKGNwLCBj
cF9pbmRleCkgPSAodTQpZmluZEludGVybmVkU3RyaW5nKHN0cmluZyk7CisgICAgICAgICAgICAg
ICAgTUJBUlJJRVIoKTsKICAgICAgICAgICAgICAgICBDUF9UWVBFKGNwLCBjcF9pbmRleCkgPSBD
T05TVEFOVF9SZXNvbHZlZDsKICAgICAgICAgICAgIH0KIAo=
------=_Part_305_19280117.1100487552591--



From MAILER-DAEMON Sun Nov 14 23:09:38 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTYBO-0001W1-1v
	for mharc-classpath@gnu.org; Sun, 14 Nov 2004 23:09:38 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTYBM-0001Vm-6c
	for classpath@gnu.org; Sun, 14 Nov 2004 23:09:36 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTYBK-0001V7-VL
	for classpath@gnu.org; Sun, 14 Nov 2004 23:09:35 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTYBK-0001Uw-R1
	for classpath@gnu.org; Sun, 14 Nov 2004 23:09:34 -0500
Received: from [66.11.181.4] (helo=griffin.griffaction.ca)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34)
	id 1CTY2W-0006A8-OQ
	for classpath@gnu.org; Sun, 14 Nov 2004 23:00:28 -0500
Received: from glue.info.uqam.ca ([132.208.135.95])
	by griffin.griffaction.ca with esmtp (Exim 4.34 #1 (Debian))
	id 1CTY2V-0008LN-7S; Sun, 14 Nov 2004 23:00:27 -0500
Received: from localhost ([127.0.0.1])
	by glue.info.uqam.ca with esmtp (Exim 4.34)
	id 1CTVod-0002dQ-9t; Sun, 14 Nov 2004 20:37:59 -0500
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: GNU Classpath <classpath@gnu.org>
Content-Type: text/plain
Organization: Debian http://www.debian.org - The Free Operating System
Message-Id: <1100491174.3955.162.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 14 Nov 2004 22:59:35 -0500
Content-Transfer-Encoding: 7bit
Cc: SableVM-devel ML <sablevm-devel@sablevm.org>
Subject: ANN: Out-of-the-box SableVM support for GNU Classpath [was: Re:
	GNU Classpath 0.12 released]
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 04:09:36 -0000

On Sun, 2004-11-14 at 19:10, Mark Wielaard wrote: 
> We are pleased to announce a new developer snapshot release of GNU
> Classpath.

Congratulations on the release.  I also have some good news.

It is now possible to run SableVM Java Virtual Machine directly with
GNU Classpath.  For example I installed SableVM and GNU Classpath 0.12
into /tmp/testing, and did:

$ /tmp/testing/bin/java-sablevm -Xgnuclasspath:/tmp/testing HelloWorld
HelloWorld!


The setup is trivial, not even a Subversion client is necessary:

1. Install SableVM (only).  Fetch latest SableVM snapshot from

	http://sablevm.org/download/snapshot/ (latest is the first on top)

unpack, execute standard 

	'./configure --prefix=/what/ever && make install'

2. Fetch and install GNU Classpath with standard

	'./configure --prefix=/foo/bar && make install'

3. Fetch gnucp-overrides.jar from the same directory at 

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

from which you got your SableVM sources and put it into

/what/ever/share/sablevm/gnucp-overrides.jar

(it might be ie. /usr/local/share/sablevm/gnucp-overrides.jar in your case).

4. RUN IT!

	$ /what/ever/bin/java-sablevm -Xgnuclasspath:/foo/bar HelloWorld

Happy hacking!

				Grzegorz B. Prokopski


		IMPORTANT NOTES - PLEASE READ

* This is an *experimental* feature.  Both in the sense that it has just
been deployed and in the sense that this method of running SableVM with
latest GNU Classpath is intended for GNU Classpath _developers_ mainly.

* Those who want to use well tested and supported releases of SableVM Java
Virtual Machine should continue to use "sablevm-classpath".

* In particular our "staging" (development) branch of sablevm-classpath is 
being merged with GNU Classpath CVS and releases on regular basis.  Most
of the time it's a only few *days* "behind".

* The overrides.jar file will be autobuilt daily from the latest version
of sablevm-classpath.

* The gnucp-overrides.jar file might not contain all changes present in
sablevm-classpath but for various reasons absent in GNU Classpath.  It is
however intented that this file contained a minimal set of classes that
allow for exhaustive usage of GNU Classpath CVS versions with SableVM
Java Virtual Machine.  If a necessary file is missing it will be added.
-- 
Grzegorz B. Prokopski      <gadek@debian.org>
Debian GNU/Linux           http://www.debian.org
SableVM - LGPL'ed Java VM  http://www.sablevm.org
Why SableVM ?!?            http://sablevm.org/wiki/Features





From MAILER-DAEMON Mon Nov 15 00:09:29 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTZ7J-0006Zv-8X
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 00:09:29 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTZ7H-0006Zc-MN
	for classpath@gnu.org; Mon, 15 Nov 2004 00:09:27 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTZ7H-0006ZM-91
	for classpath@gnu.org; Mon, 15 Nov 2004 00:09:27 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTZ7H-0006ZJ-5h
	for classpath@gnu.org; Mon, 15 Nov 2004 00:09:27 -0500
Received: from [64.233.170.197] (helo=rproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTYxu-0005ct-Qf
	for classpath@gnu.org; Sun, 14 Nov 2004 23:59:46 -0500
Received: by rproxy.gmail.com with SMTP id a41so691814rng
	for <classpath@gnu.org>; Sun, 14 Nov 2004 20:59:46 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references;
	b=cVk5q1b5mSZujY7Ne32dd70LPHELaDPaaiKn4OnpbjnNkAgesTEucu64kA2LwH6R492w7cwrqgLyazBnH22SpjQRXpWirO1caKv3h49ST3Clj7Uxex6zZsI/zp3YQsbnptaglLayjmpiO3nuD3RNsQd+V7kpLf8yr66N0siD0Fg=
Received: by 10.38.181.38 with SMTP id d38mr89922rnf;
	Sun, 14 Nov 2004 20:59:46 -0800 (PST)
Received: by 10.39.1.64 with HTTP; Sun, 14 Nov 2004 20:59:46 -0800 (PST)
Message-ID: <4cddaced041114205915d9a6a4@mail.gmail.com>
Date: Mon, 15 Nov 2004 10:29:46 +0530
From: Rajesh Jayaprakash <rajesh.jayaprakash@gmail.com>
To: augart@watson.ibm.com, chris.gray@kiffer.be
In-Reply-To: <200411142117.16481.chris.gray@kiffer.be>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
References: <4cddaced041113205956559525@mail.gmail.com>
	<200411142117.16481.chris.gray@kiffer.be>
Cc: classpath@gnu.org
Subject: Re: Question about VMRuntime
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: jrajesh@touchtelindia.net
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 05:09:27 -0000

Steven, Chris,

Thank you very much for your replies.

Regarding joining one of the free VM projects, I have just a wee bit
more to do in Vajra to make it functional (albeit with a lot of bugs
;-) and incomplete implementations [*]). Once I am done with this, I
will give  your advice serious consideration.

[*] To be fair, Vajra started out as nothing more than an attempt at
deconstructing the class file format, so I am pretty much satisfied
with how far I have taken it.

Thanks and regards,

-- 
Rajesh Jayaprakash
http://shikantaza.blogspot.com



From MAILER-DAEMON Mon Nov 15 05:28:06 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTe5e-0008TG-3l
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 05:28:06 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTe5b-0008T2-Pv
	for classpath@gnu.org; Mon, 15 Nov 2004 05:28:03 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTe5a-0008Si-UE
	for classpath@gnu.org; Mon, 15 Nov 2004 05:28:03 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTe5a-0008SY-D2
	for classpath@gnu.org; Mon, 15 Nov 2004 05:28:02 -0500
Received: from [212.250.162.8] (helo=mta09-winn.mailhost.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTdws-0002bf-5H
	for classpath@gnu.org; Mon, 15 Nov 2004 05:19:02 -0500
Received: from aamta04-winn.mailhost.ntl.com ([212.250.162.8])
	by mta09-winn.mailhost.ntl.com with ESMTP id
	<20041115101901.RZID1968.mta09-winn.mailhost.ntl.com@aamta04-winn.mailhost.ntl.com>
	for <classpath@gnu.org>; Mon, 15 Nov 2004 10:19:01 +0000
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by aamta04-winn.mailhost.ntl.com with ESMTP id
	<20041115101850.QWVC6712.aamta04-winn.mailhost.ntl.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Mon, 15 Nov 2004 10:18:50 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	iAFAHfnq013884; Mon, 15 Nov 2004 10:17:51 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id iAFAHeRB013880;
	Mon, 15 Nov 2004 10:17:40 GMT
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16792.33348.46602.761466@cuddles.cambridge.redhat.com>
Date: Mon, 15 Nov 2004 10:17:40 +0000
From: Andrew Haley <aph@redhat.com>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
In-Reply-To: <D92197D0A6547B44A1567814F851FA6802A4B0@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA6802A4B0@LEMBU.sumatrasoftware.com>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 10:28:04 -0000

Jeroen Frijters writes:
 > Andrew Haley wrote:
 > > Make 1.5 bytecode a reqiurement for the 1.0 branch.
 > 
 > I don't understand what you mean by this. Supporting 1.5 bytecode in the
 > VM is trivial, but we don't have any 1.5 source compilers yet, do we?

Sorry, I thought it was clear.  Tom said "Here are the minimal changes
required to support 1.5 bytecode", and that's what I was referring to.

Andrew.



From MAILER-DAEMON Mon Nov 15 05:53:53 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTeUa-000715-Q1
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 05:53:53 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTeUP-0006yy-VM
	for classpath@gnu.org; Mon, 15 Nov 2004 05:53:44 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTeUK-0006yN-Qj
	for classpath@gnu.org; Mon, 15 Nov 2004 05:53:38 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTeUI-0006xs-LB
	for classpath@gnu.org; Mon, 15 Nov 2004 05:53:35 -0500
Received: from [212.227.126.188] (helo=moutng.kundenserver.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTeLY-0006Oo-DN
	for classpath@gnu.org; Mon, 15 Nov 2004 05:44:32 -0500
Received: from [212.227.126.208] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 1CTeLW-00082K-00
	for classpath@gnu.org; Mon, 15 Nov 2004 11:44:30 +0100
Received: from [212.126.219.82] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 1CTeLW-0000s1-00; Mon, 15 Nov 2004 11:44:30 +0100
Message-ID: <4198888E.6000302@aicas.com>
Date: Mon, 15 Nov 2004 11:44:30 +0100
From: "Dr. Torsten Rupp" <rupp@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>
X-Enigmail-Version: 0.76.5.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: kundenserver.de abuse@kundenserver.de
	auth:f9c39743fddc2557f7fa7c1a513f7ea5
Subject: Re: [cp-patches] Patch JCL_realloc()] (late, because accidently sent
 to wrong address)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 10:53:45 -0000

Dear Mark,

>>	* native/jni/classpath/jcl.h, native/jni/classpath/jcl.c,
>>	native/jni/java-io/java_io_VMFile.c:
>>	Inserted native layer macros for OS functions, added parameter for old
>>	memory size to JCL_realloc() to be able to make an malloc() on system
>>	where no realloc() is available.
> 
> 
> I don't really get this patch. There is a lot of changes, reformatting,
> in this patch that make it difficult to see what is really going on.
> The patch also uses TARGET_NATIVE_MEMORY_ALLOC and
> TARGET_NATIVE_MEMORY_REALLOC macros which we never define

Oh...sorry again. I accidently ignored to add
native/target/generic/target_generic_memory.h and
native/target/Linux/target_native_memory.h where these macros are
included. Unfortunatelly it is very difficult for me to make simple
patches with only a single set of changes (like requested by Michael),
because usually I make the system running here including all needed
changes. Then I have to do "backsteps" to make several single patches
for some general change (e. g. replacement of OS functions). This took a
lot of time and obviously this could also fail. I would like to supply
patches with all needed changes included to avoid missing parts, but
this seems to be to complex on the other side?

> (and I thought
> we agreed to get rid of these kind of macros and would use normal
> functions as much as possible in the future.)

When I remember right, the agreement was not to remove the macros
completely, but instead make them into "alias"-names for target specific
implementations of some OS-function. I prepared a POSIX layer which
should replace the "generic" layer with this approach. Each macro simply
call a target specific native function resp. the POSIX compliant
function (the POSIX layer use autoconf results). For us the native
macors are very important, because we do not have a complete autoconf
for all systems. Most of our systems are embedded systems with
cross-compilers and there are many difficulties when using autoconf, e.
g. functions which are available, but can not be used, broken system
headers, different compiler options (autoconf is based on gcc-compatible
compiler). If the macros would be discarded in Classpath, I see no way
for us to go on with native code in Classpath.

> We should probably use autoconf to properly support systems that don't
> have a working realloc implementation. Autoconf has the following
> support for it:
> 
> Macro: AC_FUNC_REALLOC
>         If the realloc function is compatible with the GNU C library
>         realloc (i.e., `realloc (0, 0)' returns a valid pointer), define
>         HAVE_REALLOC to 1. Otherwise define HAVE_REALLOC to 0, ask for
>         an AC_LIBOBJ replacement for `realloc', and define realloc to
>         rpl_realloc so that the native realloc is not used in the main
>         project. See AC_FUNC_MALLOC for details.

For a cross-compiler system a test usually can not be executed, only
compilation is possible. But for this specific case of realloc(), this
is not sufficient, because the functions exists, but does not work. I
see no way with autoconf to solve this problem (ideas are welcome). Thus
that is the reason, why it is so important for me to be able to replace
some specific target OS function by another implementation (e. g.
malloc() and free()). Of course it would be possible to use some
#ifdef-construct to handle this case, but imho this would make the code
more complex (for each OS function a target-specific alternative
function have to be integrated in a big #ifdef-#elsif-#else
statement) and some manual setting of autoconf-values is needed (how to
do this?). One other example: I yust reviewed

classpath/native/jni/java-util/java_util_VMTimeZone.c

where the time-zone id is detected
(Java_java_util_VMTimeZone_getSystemTimeZoneId). This function is not
portable to some of our systems (e. g. time(), mktime(), localtime() can
not be used, even they are available, because the returned values are
wrong). Also the function is already very complex, because there are 5
different autconf-values used. Of course the function may run on many
Unix-like systems, but because only half of our systems are Unix-like,
the function is useless on the others.

My proposal - as discussed some time ago in the mailing list - is to
keep the structure of the target native layer with the macros, but
change the content into function calls which use autoconf whenever
possible. This would keep the code flexible enough for strange systems
(e. g. someone can replace functions for a specific target), too, but
also readable and debuggable.

Best regards,

Torsten

PS: I will send a new patch soon as possible,





From MAILER-DAEMON Mon Nov 15 05:56:11 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTeWo-0007Q3-FI
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 05:56:10 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTeWi-0007PD-4s
	for classpath@gnu.org; Mon, 15 Nov 2004 05:56:04 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTeWg-0007Of-0u
	for classpath@gnu.org; Mon, 15 Nov 2004 05:56:02 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTeWf-0007OR-6w
	for classpath@gnu.org; Mon, 15 Nov 2004 05:56:01 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTeNc-0006kD-5q
	for classpath@gnu.org; Mon, 15 Nov 2004 05:46:40 -0500
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.6944.0
Date: Mon, 15 Nov 2004 11:46:38 +0100
Message-ID: <D92197D0A6547B44A1567814F851FA6802A4B8@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: gij as JRE 5
thread-index: AcTK/M/eBK54oXpcRDekD93rlwsBXwAAzuCQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Andrew Haley" <aph@redhat.com>
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 10:56:05 -0000

Andrew Haley wrote:
> Jeroen Frijters writes:
>  > Andrew Haley wrote:
>  > > Make 1.5 bytecode a reqiurement for the 1.0 branch.
>  >=20
>  > I don't understand what you mean by this. Supporting 1.5=20
> bytecode in the
>  > VM is trivial, but we don't have any 1.5 source compilers=20
> yet, do we?
>=20
> Sorry, I thought it was clear.  Tom said "Here are the minimal changes
> required to support 1.5 bytecode", and that's what I was referring to.

I don't understand how the two are related. If we make supporting 1.5
bytecode a requirement for GNU Classpath 1.0, what would that buy us
without actually having a 1.5 capable compiler and using the 1.5
features in the Classpath sources?

Regards,
Jeroen



From MAILER-DAEMON Mon Nov 15 06:08:05 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTeiL-0003Bt-AH
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 06:08:05 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTeiH-0003A5-IP
	for classpath@gnu.org; Mon, 15 Nov 2004 06:08:02 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTeiG-00038D-5f
	for classpath@gnu.org; Mon, 15 Nov 2004 06:08:00 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTeiF-00037f-Lw
	for classpath@gnu.org; Mon, 15 Nov 2004 06:07:59 -0500
Received: from [212.250.162.8] (helo=mta13-winn.mailhost.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTeZM-0008Un-72
	for classpath@gnu.org; Mon, 15 Nov 2004 05:58:48 -0500
Received: from aamta01-winn.mailhost.ntl.com ([212.250.162.8])
	by mta13-winn.mailhost.ntl.com with ESMTP id
	<20041115105847.LXIM5690.mta13-winn.mailhost.ntl.com@aamta01-winn.mailhost.ntl.com>
	for <classpath@gnu.org>; Mon, 15 Nov 2004 10:58:47 +0000
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by aamta01-winn.mailhost.ntl.com with ESMTP id
	<20041115105837.GSHY17601.aamta01-winn.mailhost.ntl.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Mon, 15 Nov 2004 10:58:37 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	iAFAvSnq014038; Mon, 15 Nov 2004 10:57:38 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id iAFAvRuH014034;
	Mon, 15 Nov 2004 10:57:27 GMT
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16792.35735.610868.73238@cuddles.cambridge.redhat.com>
Date: Mon, 15 Nov 2004 10:57:27 +0000
From: Andrew Haley <aph@redhat.com>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
In-Reply-To: <D92197D0A6547B44A1567814F851FA6802A4B8@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA6802A4B8@LEMBU.sumatrasoftware.com>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 11:08:02 -0000

Jeroen Frijters writes:
 > Andrew Haley wrote:
 > > Jeroen Frijters writes:
 > >  > Andrew Haley wrote:
 > >  > > Make 1.5 bytecode a reqiurement for the 1.0 branch.
 > >  > 
 > >  > I don't understand what you mean by this. Supporting 1.5
 > >  > bytecode in the VM is trivial, but we don't have any 1.5
 > >  > source compilers yet, do we?
 > > 
 > > Sorry, I thought it was clear.  Tom said "Here are the minimal changes
 > > required to support 1.5 bytecode", and that's what I was referring to.
 > 
 > I don't understand how the two are related. If we make supporting
 > 1.5 bytecode a requirement for GNU Classpath 1.0, what would that
 > buy us without actually having a 1.5 capable compiler and using the
 > 1.5 features in the Classpath sources?

We're losing context because of heavy snipping.

The question of 1.5 bytecode came up in the context of gcj.  The "ldc
class" is a Good Thing in that context.  Also, I can see no reason not
to recognize the new magic number.

It's not desperately important.  However, it's so easy to do that we
probably could have done it in the time spent having this discussion.
If there's a downside, then I'm not aware of it.

Andrew.



From MAILER-DAEMON Mon Nov 15 06:14:39 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTeog-0005Pp-MH
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 06:14:39 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTeod-0005PT-1f
	for classpath@gnu.org; Mon, 15 Nov 2004 06:14:35 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTeob-0005P8-MK
	for classpath@gnu.org; Mon, 15 Nov 2004 06:14:34 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTeoX-0005Nc-SN
	for classpath@gnu.org; Mon, 15 Nov 2004 06:14:32 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTefQ-000119-Dz
	for classpath@gnu.org; Mon, 15 Nov 2004 06:05:04 -0500
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.6944.0
Date: Mon, 15 Nov 2004 12:05:02 +0100
Message-ID: <D92197D0A6547B44A1567814F851FA6802A4B9@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: gij as JRE 5
thread-index: AcTLAl4M3+uaHF3LRCS66d5WEO0U1QAAB72w
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Andrew Haley" <aph@redhat.com>
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 11:14:36 -0000

Andrew Haley wrote:
> We're losing context because of heavy snipping.
>=20
> The question of 1.5 bytecode came up in the context of gcj.

Oh, sorry, I missed that. I thought it was a general Classpath point.

> The "ldc
> class" is a Good Thing in that context.  Also, I can see no reason not
> to recognize the new magic number.

There is actually a good reason. If the 1.5 classes are missing, the
chances that a 1.5 compiled class will run are slim. This is what Andrew
John Hughes was trying to address with his proposal to implement the 1.5
classes as much as possible (using 1.4 sources). I haven't thought about
it deeply, but on the surface that seems like it could be a good idea.

Regards,
Jeroen



From MAILER-DAEMON Mon Nov 15 06:23:14 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTewz-000883-9Y
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 06:23:13 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTewn-00087F-EU
	for classpath@gnu.org; Mon, 15 Nov 2004 06:23:01 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTewm-00086c-BK
	for classpath@gnu.org; Mon, 15 Nov 2004 06:23:00 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTewl-000864-IC
	for classpath@gnu.org; Mon, 15 Nov 2004 06:22:59 -0500
Received: from [212.250.162.8] (helo=mta10-winn.mailhost.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTeni-0002K5-V1
	for classpath@gnu.org; Mon, 15 Nov 2004 06:13:39 -0500
Received: from aamta01-winn.mailhost.ntl.com ([212.250.162.8])
	by mta10-winn.mailhost.ntl.com with ESMTP id
	<20041115111338.QUKV1121.mta10-winn.mailhost.ntl.com@aamta01-winn.mailhost.ntl.com>
	for <classpath@gnu.org>; Mon, 15 Nov 2004 11:13:38 +0000
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by aamta01-winn.mailhost.ntl.com with ESMTP id
	<20041115111328.JDTE17601.aamta01-winn.mailhost.ntl.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Mon, 15 Nov 2004 11:13:28 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	iAFBCJnq014098; Mon, 15 Nov 2004 11:12:29 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id iAFBCIvZ014094;
	Mon, 15 Nov 2004 11:12:18 GMT
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16792.36626.436808.827119@cuddles.cambridge.redhat.com>
Date: Mon, 15 Nov 2004 11:12:18 +0000
From: Andrew Haley <aph@redhat.com>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
In-Reply-To: <D92197D0A6547B44A1567814F851FA6802A4B9@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA6802A4B9@LEMBU.sumatrasoftware.com>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 11:23:05 -0000

Jeroen Frijters writes:
 > Andrew Haley wrote:
 > > We're losing context because of heavy snipping.
 > > 
 > > The question of 1.5 bytecode came up in the context of gcj.
 > 
 > Oh, sorry, I missed that. I thought it was a general Classpath point.
 > 
 > > The "ldc class" is a Good Thing in that context.  Also, I can see
 > > no reason not to recognize the new magic number.
 > 
 > There is actually a good reason. If the 1.5 classes are missing, the
 > chances that a 1.5 compiled class will run are slim.

In which case it'll fail because of unresolved classes.  I don't see
how refusing to recognize the new format will help.

 > This is what Andrew John Hughes was trying to address with his
 > proposal to implement the 1.5 classes as much as possible (using
 > 1.4 sources). I haven't thought about it deeply, but on the surface
 > that seems like it could be a good idea.

It could be.

Andrew.



From MAILER-DAEMON Mon Nov 15 06:30:12 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTf3i-00021n-Js
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 06:30:10 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTf3c-0001zr-Hz
	for classpath@gnu.org; Mon, 15 Nov 2004 06:30:05 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTf3X-0001xN-W5
	for classpath@gnu.org; Mon, 15 Nov 2004 06:30:00 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTf3X-0001wr-IQ
	for classpath@gnu.org; Mon, 15 Nov 2004 06:29:59 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTeuh-0003KY-7v
	for classpath@gnu.org; Mon, 15 Nov 2004 06:20:51 -0500
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.6944.0
Date: Mon, 15 Nov 2004 12:20:49 +0100
Message-ID: <D92197D0A6547B44A1567814F851FA6802A4BC@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: gij as JRE 5
thread-index: AcTLBHD6FGBrf1fcTMGT7AAVZaXNOQAAEqnw
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Andrew Haley" <aph@redhat.com>
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 11:30:07 -0000

Andrew Haley wrote:
> In which case it'll fail because of unresolved classes.  I don't see
> how refusing to recognize the new format will help.

Just this Saturday I got a message from someone who tried to run a 1.5
class on IKVM and got a ClassNotFoundException, because I had forgotten
to disable the 1.5 support. I don't know if this person would have
understood the ClassFormatError better, but I can certainly hope ;-)

Regards,
Jeroen



From MAILER-DAEMON Mon Nov 15 06:36:27 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTf9m-0003wU-Va
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 06:36:27 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTf9k-0003vk-Ei
	for classpath@gnu.org; Mon, 15 Nov 2004 06:36:24 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTf9i-0003ur-TD
	for classpath@gnu.org; Mon, 15 Nov 2004 06:36:23 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTf9f-0003ud-Mj
	for classpath@gnu.org; Mon, 15 Nov 2004 06:36:22 -0500
Received: from [212.250.162.8] (helo=mta08-winn.mailhost.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTf0P-0004Jb-FW
	for classpath@gnu.org; Mon, 15 Nov 2004 06:26:45 -0500
Received: from aamta04-winn.mailhost.ntl.com ([212.250.162.8])
	by mta08-winn.mailhost.ntl.com with ESMTP id
	<20041115112644.ZJHY18909.mta08-winn.mailhost.ntl.com@aamta04-winn.mailhost.ntl.com>
	for <classpath@gnu.org>; Mon, 15 Nov 2004 11:26:44 +0000
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by aamta04-winn.mailhost.ntl.com with ESMTP id
	<20041115112634.BIVE6712.aamta04-winn.mailhost.ntl.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Mon, 15 Nov 2004 11:26:34 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	iAFBPQnq014181; Mon, 15 Nov 2004 11:25:36 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id iAFBPPe5014177;
	Mon, 15 Nov 2004 11:25:25 GMT
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16792.37413.95070.317149@cuddles.cambridge.redhat.com>
Date: Mon, 15 Nov 2004 11:25:25 +0000
From: Andrew Haley <aph@redhat.com>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
In-Reply-To: <D92197D0A6547B44A1567814F851FA6802A4BC@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA6802A4BC@LEMBU.sumatrasoftware.com>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: GNU Classpath <classpath@gnu.org>
Subject: RE: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 11:36:25 -0000

Jeroen Frijters writes:
 > Andrew Haley wrote:
 > > In which case it'll fail because of unresolved classes.  I don't see
 > > how refusing to recognize the new format will help.
 > 
 > Just this Saturday I got a message from someone who tried to run a 1.5
 > class on IKVM and got a ClassNotFoundException, because I had forgotten
 > to disable the 1.5 support. I don't know if this person would have
 > understood the ClassFormatError better

I greatly doubt it!  IMO a bytecode file format change is a really bad
way to distinguish library version changes.

Andrew.



From MAILER-DAEMON Mon Nov 15 08:20:43 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTgmh-0006Rb-9z
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 08:20:43 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTgmf-0006RO-Ls
	for classpath@gnu.org; Mon, 15 Nov 2004 08:20:41 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTgmf-0006R4-2M
	for classpath@gnu.org; Mon, 15 Nov 2004 08:20:41 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTgme-0006Qu-U1
	for classpath@gnu.org; Mon, 15 Nov 2004 08:20:40 -0500
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CTgdj-0003Sq-JI
	for classpath@gnu.org; Mon, 15 Nov 2004 08:11:27 -0500
Received: (qmail 13934 invoked by uid 65534); 15 Nov 2004 13:11:14 -0000
Received: from p213.54.249.166.tisdip.tiscali.de (EHLO [213.54.249.166])
	(213.54.249.166)
	by mail.gmx.net (mp007) with SMTP; 15 Nov 2004 14:11:14 +0100
X-Authenticated: #17532834
Message-ID: <4198A9D0.1030405@gmx.net>
Date: Mon, 15 Nov 2004 14:06:24 +0100
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.3) Gecko/20040930
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: Jeroen Frijters <jeroen@sumatra.nl>, 
 GNU Classpath <classpath@gnu.org>
References: <D92197D0A6547B44A1567814F851FA6802A4B9@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA6802A4B9@LEMBU.sumatrasoftware.com>
X-Enigmail-Version: 0.86.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 
Subject: Re: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 13:20:41 -0000


>There is actually a good reason. If the 1.5 classes are missing, the
>chances that a 1.5 compiled class will run are slim. This is what Andrew
>John Hughes was trying to address with his proposal to implement the 1.5
>classes as much as possible (using 1.4 sources). I haven't thought about
>it deeply, but on the surface that seems like it could be a good idea.
>
>  
>
Actually I have doubts at this point. Javac 1.5/5 compiles all its 
"-target 1.5" stuff with the help of java.lang.StringBuilder
instead of java.lang.StringBuffer. This little difference makes all code 
that would normally run in a 1.4 environment unusable.
The funny thing is that StringBuilder (and attached interfaces 
Appendable, CharSequence) make no use of 1.5 features.

So this is my vote for adding support for 1.5 bytecode addition as well 
as 'source 1.5'-independent (helper) classes.

cu
Robert



From MAILER-DAEMON Mon Nov 15 08:37:38 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTh34-0003lM-Dx
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 08:37:38 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTh32-0003kv-D1
	for classpath@gnu.org; Mon, 15 Nov 2004 08:37:36 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTh31-0003kU-Hj
	for classpath@gnu.org; Mon, 15 Nov 2004 08:37:35 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTh31-0003kK-CZ
	for classpath@gnu.org; Mon, 15 Nov 2004 08:37:35 -0500
Received: from [24.25.9.100] (helo=ms-smtp-01-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTgty-00069g-Vs
	for classpath@gnu.org; Mon, 15 Nov 2004 08:28:15 -0500
Received: from [192.168.0.3] (rdu74-160-248.nc.rr.com [24.74.160.248])
	by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	iAFDS9Kj022876; Mon, 15 Nov 2004 08:28:10 -0500 (EST)
From: "C. Brian Jones" <cbj@gnu.org>
To: "Dr. Torsten Rupp" <rupp@aicas.com>
In-Reply-To: <4198888E.6000302@aicas.com>
References: <4198888E.6000302@aicas.com>
Content-Type: text/plain
Message-Id: <1100525289.21818.6.camel@fencepost.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Mon, 15 Nov 2004 08:28:09 -0500
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: classpath <classpath@gnu.org>
Subject: Re: [cp-patches] Patch JCL_realloc()] (late, because accidently
	sent to wrong address)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 13:37:36 -0000

On Mon, 2004-11-15 at 05:44, Dr. Torsten Rupp wrote:
> Dear Mark,
> 
> > (and I thought
> > we agreed to get rid of these kind of macros and would use normal
> > functions as much as possible in the future.)
> 
> When I remember right, the agreement was not to remove the macros
> completely, but instead make them into "alias"-names for target specific
> implementations of some OS-function. 

I believe Mark is correct here, we agreed to turn the macros into real
functions for debugging purposes.  And we'll probably use autoconf
feature testing for portability.  Getting to the alias-names of some
OS-function is a first step and then convert them into real functions.

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




From MAILER-DAEMON Mon Nov 15 09:19:38 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CThhi-0001Ah-Mi
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 09:19:38 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CThhg-0001AC-4N
	for classpath@gnu.org; Mon, 15 Nov 2004 09:19:36 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CThhf-0001A0-MN
	for classpath@gnu.org; Mon, 15 Nov 2004 09:19:35 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CThhf-00019d-JO
	for classpath@gnu.org; Mon, 15 Nov 2004 09:19:35 -0500
Received: from [212.250.162.8] (helo=mta10-winn.mailhost.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CThYq-0004ID-2Q
	for classpath@gnu.org; Mon, 15 Nov 2004 09:10:28 -0500
Received: from aamta05-winn.mailhost.ntl.com ([212.250.162.8])
	by mta10-winn.mailhost.ntl.com with ESMTP id
	<20041115141021.JXHS1121.mta10-winn.mailhost.ntl.com@aamta05-winn.mailhost.ntl.com>
	for <classpath@gnu.org>; Mon, 15 Nov 2004 14:10:21 +0000
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by aamta05-winn.mailhost.ntl.com with ESMTP id
	<20041115141011.ZABB24809.aamta05-winn.mailhost.ntl.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Mon, 15 Nov 2004 14:10:11 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	iAFE93nq014849; Mon, 15 Nov 2004 14:09:13 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id iAFE9162014845;
	Mon, 15 Nov 2004 14:09:01 GMT
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16792.47228.955807.305763@cuddles.cambridge.redhat.com>
Date: Mon, 15 Nov 2004 14:09:00 +0000
From: Andrew Haley <aph@redhat.com>
To: Robert Schuster <theBohemian@gmx.net>
In-Reply-To: <4198A9D0.1030405@gmx.net>
References: <D92197D0A6547B44A1567814F851FA6802A4B9@LEMBU.sumatrasoftware.com>
	<4198A9D0.1030405@gmx.net>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: GNU Classpath <classpath@gnu.org>, Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 14:19:36 -0000

Robert Schuster writes:
 > 
 > >There is actually a good reason. If the 1.5 classes are missing, the
 > >chances that a 1.5 compiled class will run are slim. This is what Andrew
 > >John Hughes was trying to address with his proposal to implement the 1.5
 > >classes as much as possible (using 1.4 sources). I haven't thought about
 > >it deeply, but on the surface that seems like it could be a good idea.
 > >
 > >  
 > >
 > Actually I have doubts at this point. Javac 1.5/5 compiles all its 
 > "-target 1.5" stuff with the help of java.lang.StringBuilder
 > instead of java.lang.StringBuffer. This little difference makes all code 
 > that would normally run in a 1.4 environment unusable.
 > The funny thing is that StringBuilder (and attached interfaces 
 > Appendable, CharSequence) make no use of 1.5 features.
 > 
 > So this is my vote for adding support for 1.5 bytecode addition as well 
 > as 'source 1.5'-independent (helper) classes.

Sounds good: it looks to me like we can do StringBuilder trivially by
removing all the instances of "synchronized" from StringBuffer.  We
already have methods like ensureCapacity_unsynchronized in the
implementation.

The question does arise, however, about when we should start to
generate calls to StringBuilder in gcj.  Do we have to wait for the
rest of 1.5?  This is a hard one: no problem if we're generating
bytecode for the locally installed gij, but otherwise...

It's not such a problem for native gcj, because we don't yet have
binary compatibility across releases.

Andrew.



From MAILER-DAEMON Mon Nov 15 09:40:47 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTi2A-0007ev-M7
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 09:40:47 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTi26-0007dz-E9
	for classpath@gnu.org; Mon, 15 Nov 2004 09:40:42 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTi25-0007db-J0
	for classpath@gnu.org; Mon, 15 Nov 2004 09:40:41 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTi25-0007dG-Ec
	for classpath@gnu.org; Mon, 15 Nov 2004 09:40:41 -0500
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CThsT-0007jZ-3b
	for classpath@gnu.org; Mon, 15 Nov 2004 09:30:45 -0500
Received: (qmail 13585 invoked by uid 65534); 15 Nov 2004 14:30:43 -0000
Received: from p213.54.249.166.tisdip.tiscali.de (EHLO [213.54.249.166])
	(213.54.249.166)
	by mail.gmx.net (mp013) with SMTP; 15 Nov 2004 15:30:43 +0100
X-Authenticated: #17532834
Message-ID: <4198BC71.8040101@gmx.net>
Date: Mon, 15 Nov 2004 15:25:53 +0100
From: Robert Schuster <theBohemian@gmx.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.3) Gecko/20040930
X-Accept-Language: en, de, de-at, en-us
MIME-Version: 1.0
To: Andrew Haley <aph@redhat.com>, GNU Classpath <classpath@gnu.org>
References: <D92197D0A6547B44A1567814F851FA6802A4B9@LEMBU.sumatrasoftware.com>	<4198A9D0.1030405@gmx.net>
	<16792.47228.955807.305763@cuddles.cambridge.redhat.com>
In-Reply-To: <16792.47228.955807.305763@cuddles.cambridge.redhat.com>
X-Enigmail-Version: 0.86.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 
Subject: Re: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 14:40:42 -0000


Andrew Haley wrote:

>Robert Schuster writes:
> > 
> > >There is actually a good reason. If the 1.5 classes are missing, the
> > >chances that a 1.5 compiled class will run are slim. This is what Andrew
> > >John Hughes was trying to address with his proposal to implement the 1.5
> > >classes as much as possible (using 1.4 sources). I haven't thought about
> > >it deeply, but on the surface that seems like it could be a good idea.
> > >
> > >  
> > >
> > Actually I have doubts at this point. Javac 1.5/5 compiles all its 
> > "-target 1.5" stuff with the help of java.lang.StringBuilder
> > instead of java.lang.StringBuffer. This little difference makes all code 
> > that would normally run in a 1.4 environment unusable.
> > The funny thing is that StringBuilder (and attached interfaces 
> > Appendable, CharSequence) make no use of 1.5 features.
> > 
> > So this is my vote for adding support for 1.5 bytecode addition as well 
> > as 'source 1.5'-independent (helper) classes.
>
>Sounds good: it looks to me like we can do StringBuilder trivially by
>removing all the instances of "synchronized" from StringBuffer.  We
>already have methods like ensureCapacity_unsynchronized in the
>implementation.
>  
>
Tom Tromey has submitted a StringBuilder implementation in classpath's 
generics branch.

>The question does arise, however, about when we should start to
>generate calls to StringBuilder in gcj.  Do we have to wait for the
>rest of 1.5?  This is a hard one: no problem if we're generating
>bytecode for the locally installed gij, but otherwise...
>
>  
>
Unfortunately I am not used to gcj but from a short glimpse to its 
man-page I can see that it does not support something comparable to 
javac's -source and -target
switch. How does gcj treat the assert() statement? Its an 1.4-introduced 
feature that has IMHO a similar nature like the (subset of) 
1.5-additions we are currently discussing. A '-source/target'-like 
switch could help gcj to determine what kind of source and binary level 
features are allowed.

cu
Robert



From MAILER-DAEMON Mon Nov 15 10:50:12 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTj7M-0001I8-Ls
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 10:50:12 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTj7K-0001HF-4M
	for classpath@gnu.org; Mon, 15 Nov 2004 10:50:10 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTj7H-0001GT-Sp
	for classpath@gnu.org; Mon, 15 Nov 2004 10:50:08 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTj7F-0001G2-3Y
	for classpath@gnu.org; Mon, 15 Nov 2004 10:50:07 -0500
Received: from [212.250.162.8] (helo=mta13-winn.mailhost.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTixx-0002qC-7E
	for classpath@gnu.org; Mon, 15 Nov 2004 10:40:30 -0500
Received: from aamta04-winn.mailhost.ntl.com ([212.250.162.8])
	by mta13-winn.mailhost.ntl.com with ESMTP id
	<20041115154028.QSZL5690.mta13-winn.mailhost.ntl.com@aamta04-winn.mailhost.ntl.com>
	for <classpath@gnu.org>; Mon, 15 Nov 2004 15:40:28 +0000
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by aamta04-winn.mailhost.ntl.com with ESMTP id
	<20041115154028.ULTF6712.aamta04-winn.mailhost.ntl.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Mon, 15 Nov 2004 15:40:28 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	iAFFdYnq015272; Mon, 15 Nov 2004 15:39:44 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id iAFFdXZj015268;
	Mon, 15 Nov 2004 15:39:33 GMT
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16792.52661.187376.396161@cuddles.cambridge.redhat.com>
Date: Mon, 15 Nov 2004 15:39:33 +0000
From: Andrew Haley <aph@redhat.com>
To: Robert Schuster <theBohemian@gmx.net>
In-Reply-To: <4198BC71.8040101@gmx.net>
References: <D92197D0A6547B44A1567814F851FA6802A4B9@LEMBU.sumatrasoftware.com>
	<4198A9D0.1030405@gmx.net>
	<16792.47228.955807.305763@cuddles.cambridge.redhat.com>
	<4198BC71.8040101@gmx.net>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 15:50:11 -0000

Robert Schuster writes:
 > 
 > Andrew Haley wrote:
 > 
 > >Robert Schuster writes:
 > > > 
 > > > >There is actually a good reason. If the 1.5 classes are missing, the
 > > > >chances that a 1.5 compiled class will run are slim. This is what Andrew
 > > > >John Hughes was trying to address with his proposal to implement the 1.5
 > > > >classes as much as possible (using 1.4 sources). I haven't thought about
 > > > >it deeply, but on the surface that seems like it could be a good idea.
 > > > >
 > > > Actually I have doubts at this point. Javac 1.5/5 compiles all its 
 > > > "-target 1.5" stuff with the help of java.lang.StringBuilder
 > > > instead of java.lang.StringBuffer. This little difference makes all code 
 > > > that would normally run in a 1.4 environment unusable.
 > > > The funny thing is that StringBuilder (and attached interfaces 
 > > > Appendable, CharSequence) make no use of 1.5 features.
 > > > 
 > > > So this is my vote for adding support for 1.5 bytecode addition as well 
 > > > as 'source 1.5'-independent (helper) classes.
 > >
 > >Sounds good: it looks to me like we can do StringBuilder trivially by
 > >removing all the instances of "synchronized" from StringBuffer.  We
 > >already have methods like ensureCapacity_unsynchronized in the
 > >implementation.
 > >
 > Tom Tromey has submitted a StringBuilder implementation in classpath's 
 > generics branch.

My, he is busy.  ;-)

 > >The question does arise, however, about when we should start to
 > >generate calls to StringBuilder in gcj.  Do we have to wait for the
 > >rest of 1.5?  This is a hard one: no problem if we're generating
 > >bytecode for the locally installed gij, but otherwise...
 > >
 > Unfortunately I am not used to gcj but from a short glimpse to its 
 > man-page I can see that it does not support something comparable to 
 > javac's -source and -target
 > switch. How does gcj treat the assert() statement?

-fenable-assertions

 > Its an 1.4-introduced feature that has IMHO a similar nature like
 > the (subset of) 1.5-additions we are currently discussing. A
 > '-source/target'-like switch could help gcj to determine what kind
 > of source and binary level features are allowed.

It could do, but supporting such a matrix is something of a potential
minefield.  We've always used -f<feature>.

Andrew.



From MAILER-DAEMON Mon Nov 15 12:30:37 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTkgW-0008Jj-Ex
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 12:30:36 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTkgS-0008HY-TZ
	for classpath@gnu.org; Mon, 15 Nov 2004 12:30:33 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTkgQ-0008G4-Ai
	for classpath@gnu.org; Mon, 15 Nov 2004 12:30:30 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTkgP-0008FZ-Ei
	for classpath@gnu.org; Mon, 15 Nov 2004 12:30:29 -0500
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CTkXb-0003Nk-8U; Mon, 15 Nov 2004 12:21:23 -0500
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iAFHLAPI024924;
	Mon, 15 Nov 2004 12:21:16 -0500
Received: from opsy.redhat.com (vpn50-74.rdu.redhat.com [172.16.50.74])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iAFHL9r23812; 
	Mon, 15 Nov 2004 12:21:10 -0500
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 78F6D2DC258; Mon, 15 Nov 2004 10:19:17 -0700 (MST)
Sender: tromey@redhat.com
To: gnu_andrew@member.fsf.org
References: <41960FBF.3040008@antonovic.com>
	<m3fz3d1qd6.fsf@localhost.localdomain>
	<1100387658.17793.30.camel@rivendell>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 15 Nov 2004 10:19:16 -0700
In-Reply-To: <1100387658.17793.30.camel@rivendell>
Message-ID: <m3fz3byqqz.fsf@localhost.localdomain>
Lines: 16
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 17:30:34 -0000

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

Andrew> If this is the case, then is there a good reason for not
Andrew> starting to include 1.5 changes, that will compile with
Andrew> pre-1.5 compilers, into the HEAD branch?

Andrew> * less problems with keeping generics in sync with the HEAD branch,
Andrew> especially when the point of merging finally does arrive

Actually, putting the new code on the trunk as well makes merging
harder, not easier.  That's because when it is put on the trunk all
the generic bits must be stripped out, meaning that we'll have
different versions of classes on the trunk and the branch.  This
probably isn't a severe problem, but I thought I'd mention it.

Tom



From MAILER-DAEMON Mon Nov 15 12:38:43 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTkoM-0003va-UM
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 12:38:43 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTkoL-0003vR-Fk
	for classpath@gnu.org; Mon, 15 Nov 2004 12:38:41 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTkoK-0003v7-SP
	for classpath@gnu.org; Mon, 15 Nov 2004 12:38:41 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTkoK-0003ux-PS
	for classpath@gnu.org; Mon, 15 Nov 2004 12:38:40 -0500
Received: from [212.6.122.12] (helo=mail1.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CTkfa-00055M-OR; Mon, 15 Nov 2004 12:29:39 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-156.ewetel.net
	[80.228.94.156])
	by mail1.ewetel.de (8.12.1/8.12.9) with ESMTP id iAFHT9xB019229;
	Mon, 15 Nov 2004 18:29:10 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CTldR-0000gk-De; Mon, 15 Nov 2004 19:31:29 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org, tromey@redhat.com
Date: Mon, 15 Nov 2004 19:30:27 +0100
User-Agent: KMail/1.6.2
References: <41960FBF.3040008@antonovic.com>
	<1100387658.17793.30.camel@rivendell>
	<m3fz3byqqz.fsf@localhost.localdomain>
In-Reply-To: <m3fz3byqqz.fsf@localhost.localdomain>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411151930.27754.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 17:38:41 -0000

Am Montag, 15. November 2004 18:19 schrieb Tom Tromey:
> >>>>> "Andrew" == Andrew John Hughes <gnu_andrew@member.fsf.org>
> >>>>> writes:
>
> Andrew> If this is the case, then is there a good reason for not
> Andrew> starting to include 1.5 changes, that will compile with
> Andrew> pre-1.5 compilers, into the HEAD branch?
>
> Andrew> * less problems with keeping generics in sync with the HEAD
> branch, Andrew> especially when the point of merging finally does
> arrive
>
> Actually, putting the new code on the trunk as well makes merging
> harder, not easier.  That's because when it is put on the trunk all
> the generic bits must be stripped out, meaning that we'll have
> different versions of classes on the trunk and the branch.  This
> probably isn't a severe problem, but I thought I'd mention it.

Isn't this a problem without putting new features into HEAD too as the 
class gets changes on HEAD and generics branch anyway ?


Michael 
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Mon Nov 15 13:11:35 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTlKB-0003Oy-KL
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 13:11:35 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTlKA-0003Ok-H3
	for classpath@gnu.org; Mon, 15 Nov 2004 13:11:34 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTlK9-0003OQ-Ti
	for classpath@gnu.org; Mon, 15 Nov 2004 13:11:34 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTlK9-0003OD-Oy
	for classpath@gnu.org; Mon, 15 Nov 2004 13:11:33 -0500
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CTlBO-0002xq-QE
	for classpath@gnu.org; Mon, 15 Nov 2004 13:02:30 -0500
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iAFI2914010467;
	Mon, 15 Nov 2004 13:02:09 -0500
Received: from opsy.redhat.com (vpn50-74.rdu.redhat.com [172.16.50.74])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iAFI28r12352; 
	Mon, 15 Nov 2004 13:02:08 -0500
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 345952DC258; Mon, 15 Nov 2004 11:00:16 -0700 (MST)
Sender: tromey@redhat.com
To: Michael Koch <konqueror@gmx.de>
References: <41960FBF.3040008@antonovic.com>
	<1100387658.17793.30.camel@rivendell>
	<m3fz3byqqz.fsf@localhost.localdomain>
	<200411151930.27754.konqueror@gmx.de>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 15 Nov 2004 11:00:16 -0700
In-Reply-To: <200411151930.27754.konqueror@gmx.de>
Message-ID: <m3actjyoun.fsf@localhost.localdomain>
Lines: 17
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 18:11:34 -0000

>>>>> "Michael" == Michael Koch <konqueror@gmx.de> writes:

>> Actually, putting the new code on the trunk as well makes merging
>> harder, not easier.  That's because when it is put on the trunk all
>> the generic bits must be stripped out, meaning that we'll have
>> different versions of classes on the trunk and the branch.  This
>> probably isn't a severe problem, but I thought I'd mention it.

Michael> Isn't this a problem without putting new features into HEAD
Michael> too as the class gets changes on HEAD and generics branch
Michael> anyway ?

Yes, though there is a difference in degree.  E.g., our collections
classes are fairly mature and don't change very much.  So re-merging
those probably won't be too difficult.

Tom



From MAILER-DAEMON Mon Nov 15 13:34:37 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTlgT-0001SG-Jc
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 13:34:37 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTlgR-0001S4-KR
	for classpath@gnu.org; Mon, 15 Nov 2004 13:34:35 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTlgQ-0001Rf-SR
	for classpath@gnu.org; Mon, 15 Nov 2004 13:34:35 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTlgQ-0001Rc-OB
	for classpath@gnu.org; Mon, 15 Nov 2004 13:34:34 -0500
Received: from [212.6.122.16] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTlXU-0006vZ-PD
	for classpath@gnu.org; Mon, 15 Nov 2004 13:25:21 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-156.ewetel.net
	[80.228.94.156])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id iAFIPJCT003199;
	Mon, 15 Nov 2004 19:25:19 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CTmVn-0000oe-44; Mon, 15 Nov 2004 20:27:39 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org, tromey@redhat.com
Date: Mon, 15 Nov 2004 20:26:37 +0100
User-Agent: KMail/1.6.2
References: <41960FBF.3040008@antonovic.com>
	<200411151930.27754.konqueror@gmx.de>
	<m3actjyoun.fsf@localhost.localdomain>
In-Reply-To: <m3actjyoun.fsf@localhost.localdomain>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411152026.37386.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 18:34:35 -0000

Am Montag, 15. November 2004 19:00 schrieb Tom Tromey:
> >>>>> "Michael" == Michael Koch <konqueror@gmx.de> writes:
> >>
> >> Actually, putting the new code on the trunk as well makes
> >> merging harder, not easier.  That's because when it is put on
> >> the trunk all the generic bits must be stripped out, meaning
> >> that we'll have different versions of classes on the trunk and
> >> the branch.  This probably isn't a severe problem, but I thought
> >> I'd mention it.
>
> Michael> Isn't this a problem without putting new features into
> HEAD Michael> too as the class gets changes on HEAD and generics
> branch Michael> anyway ?
>
> Yes, though there is a difference in degree.  E.g., our collections
> classes are fairly mature and don't change very much.  So
> re-merging those probably won't be too difficult.

I don't know for sure but I would consider the collection classes are 
only a little part of the stuff that needs enhancements for 1.5.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Mon Nov 15 14:42:34 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CTmkE-0000yO-Jz
	for mharc-classpath@gnu.org; Mon, 15 Nov 2004 14:42:34 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CTmkB-0000xi-Fk
	for classpath@gnu.org; Mon, 15 Nov 2004 14:42:31 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CTmk9-0000wx-QK
	for classpath@gnu.org; Mon, 15 Nov 2004 14:42:30 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CTmk9-0000wW-Lj
	for classpath@gnu.org; Mon, 15 Nov 2004 14:42:29 -0500
Received: from [204.9.97.99] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTmaz-000167-Qt
	for classpath@gnu.org; Mon, 15 Nov 2004 14:33:02 -0500
Received: from [192.168.160.201] ([192.168.160.201]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.211); 
	Mon, 15 Nov 2004 14:36:15 -0500
Message-ID: <41990468.30900@netreach.com>
Date: Mon, 15 Nov 2004 14:32:56 -0500
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040926)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>
X-Enigmail-Version: 0.86.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 15 Nov 2004 19:36:17.0986 (UTC)
	FILETIME=[607A4220:01C4CB4A]
Subject: 1.5 and japitools
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Nov 2004 19:42:32 -0000

Now that the 0.9.5 release is out of the way, Jeroen and I are working 
on pinning down the japi file format representations of the new features 
in Java 1.5. I've put together a preliminary draft of the japi file 
format specification for the new version containing the changes we've 
discussed privately so far. I'm interested in gathering other people's 
feedback on the simpler stuff that we've worked on so far, and as we try 
to figure out the harder stuff like the representations of generic types 
and annotations. I'd like to hammer this stuff out on the list in 
general, to get the greatest feedback possible and keep it in the 
archives for posterity.

I've put an initial updated version of the file format specification 
(with lots of XXXXs for things we haven't worked out yet) at 
http://savannah.nongnu.org/cgi-bin/viewcvs/japitools/japitools/design/japi-spec-0.9.7.txt?rev=1.1&content-type=text/vnd.viewcvs-markup

Compare with the current japi specification,
http://savannah.nongnu.org/cgi-bin/viewcvs/japitools/japitools/design/japi-spec.txt?rev=1.7&content-type=text/vnd.viewcvs-markup

Beyond the changes in this file we're starting to look at the 
representations of generic types. My initial suggestion (which Jeroen 
happily shot to pieces :) ) was as follows:

> We need to add various things to the concepts we can represent:
> 
> 1) The fact that a class or interface has generic parameter types. I think this could be represented by putting the constraining type in the typeinfo section:
> 
> java.util,ArrayList! Pcsnu class<java.lang.Object>#9999...
> 
> (where everything after the "#" is the same as it is now, ie 9999 is just an example svuid because I can't be bothered to look up the right value for arraylist).
> 
> Multiple generic parameters would be comma-separated, eg:
> 
> java.util,HashMap! Pcsnu class<java.lang.Object,java.lang.Object>#99...
> 
> (An open question: should inner classes be treated as inheriting their containing class's generic parameter types or not? The best answer here depends on how it's actually implemented. Is there such a thing as, say, Map<int,String>.Entry, or is it Map.Entry<int,String>? Or does the former exist but just as an illusion where the real implementation uses the latter?)
> 
> 2) The fact that a particular class *is* one of those generic parameters from the containing class. This applies to types represented in Java Language Representation and to types represented in Type Signature representation. I don't know whether they appear at all in real type signatures (I'm guessing not because of the Type Erasure generics model) but if not then they can be represented the same way in both. I'm thinking as @0 @1 etc.
> 
> 3) The fact that a particular class is a generic class with specific values of its parameter types. This also applies to types represented in Java Language representation and in Type Signature representation. Again, I'm assuming generics don't appear at all in real type signatures so I'm free to do whatever I want here.
> 
> For Java Language representation it makes sense to follow the java language as much as possible, which suggests simply using the name of the type followed by its parameter types, comma separated, in Java Language representation, enclosed in <>. This suggests that the superclasses and interfaces for ArrayList go something like:
> 
> java.util,ArrayList! Pcsnu class<java.lang.Object>#999:java.lang.AbstractList<@1>:java.lang.Object*java.util.List<@1>*java.util.Collection<@1>*java.io.Serializable
> 
> For Type Signature representation I'm thinking we can do something similar but insert the <> before the trailing ";". We can still put the parameters in in Java Language representation because primitive types aren't permitted as part of generics. So if a method returns a List<String> it would have its return value listed as "Ljava/util/List<java.lang.String>;". If that were an array of List<T> where T is the first generic type parameter it would be "[Ljava/util/List<@1>;". Obviously if it returned T it would be listed as just "@1".

Item 1 here has a major problem in that it can't represent anywhere near 
all the possible constraints that can be applied to a generic type 
parameter. Some examples Jeroen gave that need to be representable in 
whatever representation we choose:

> class gen1<T extends Comparable & Runnable> {}
> class gen2<T extends Comparable<T>> {}
> class gen3<T extends java.util.Set<? extends Runnable>> {}
> class gen4<T extends java.util.Set<? super T>> {}

The "open question" seems to have been closed with the answer that inner 
classes do inherit generic parameters from their container and should be 
treated as such.

Item 2 may be okay as long as the numbering scheme can cope with the 
inheritance to inner classes.

Whether item 3 is okay or not depends on what is allowed to be specified 
in that situation - especially whether the "?" syntax is permissible in 
regular types. Can you have a method that takes a Set<? super T> as a 
parameter or returns a Set<? extends Runnable>? If either of these are 
possible then this proposal needs more work; if not then it may be 
adequate as-is.

We haven't started discussing how to represent classes and members with 
annotations attached yet.

Anyone have any feedback or suggestions?

Stuart.
-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Tue Nov 16 04:59:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CU071-0001SP-F8
	for mharc-classpath@gnu.org; Tue, 16 Nov 2004 04:59:00 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CU06u-0001Pr-Uw
	for classpath@gnu.org; Tue, 16 Nov 2004 04:58:53 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CU03z-0000Xp-NX
	for classpath@gnu.org; Tue, 16 Nov 2004 04:55:52 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CU03e-0000St-9j
	for classpath@gnu.org; Tue, 16 Nov 2004 04:55:31 -0500
Received: from [212.227.126.183] (helo=moutng.kundenserver.de)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CTzug-0000jI-V5; Tue, 16 Nov 2004 04:46:15 -0500
Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 1CTzug-0006No-00; Tue, 16 Nov 2004 10:46:14 +0100
Received: from [212.126.219.82] (helo=aicas.com)
	by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128)
	(Exim 3.35 #1) id 1CTzuf-0004iH-00; Tue, 16 Nov 2004 10:46:14 +0100
Message-ID: <4199CC62.2030201@aicas.com>
Date: Tue, 16 Nov 2004 10:46:10 +0100
From: Torsten Rupp <rupp@aicas.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "C. Brian Jones" <cbj@gnu.org>, classpath <classpath@gnu.org>
References: <4198888E.6000302@aicas.com>
	<1100525289.21818.6.camel@fencepost.haphazard.org>
In-Reply-To: <1100525289.21818.6.camel@fencepost.haphazard.org>
X-Enigmail-Version: 0.76.5.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: kundenserver.de abuse@kundenserver.de
	auth:f9c39743fddc2557f7fa7c1a513f7ea5
Cc: 
Subject: Re: [cp-patches] Patch JCL_realloc()] (late, because accidently	sent
 to wrong address)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Nov 2004 09:58:54 -0000

Dear Brian,

>>>(and I thought
>>>we agreed to get rid of these kind of macros and would use normal
>>>functions as much as possible in the future.)
>>
>>When I remember right, the agreement was not to remove the macros
>>completely, but instead make them into "alias"-names for target specific
>>implementations of some OS-function. 
> 
> 
> I believe Mark is correct here, we agreed to turn the macros into real
> functions for debugging purposes.  And we'll probably use autoconf
> feature testing for portability.  Getting to the alias-names of some
> OS-function is a first step and then convert them into real functions.

When I understand the message from Michael from Aug-11-2004 right, we 
agreeded _not_ to remove the macro names completely (that would mean 
aicas will be kicked out from Classpath native code; I tried to explain 
this and why the macros are so important for aicas already in several 
messages), but instead make the following changes:

[part from the orignal message]

--- cut ---

 > I have the following suggestion:
 >
 > Because the multiline-macros are to difficult to handle, we can
 > replace that macros e. g. by direct function-calls. Thus a macro
 > would become some "alias" only. We also can change (shorten) the
 > names. For this we have to change the generic implementation. The
 > advantages would be:
 >
 > - debugging is possible
 > - type-safety
 > - easier to read
 >
 > and for aicas
 >
 > - we can keep most of the code we already have written
 > - we can continue to participate in Classpath
 >
 > For aicas this would be some compromise, because we can still use
 > the target-layer. What would be still important is, that in the
 > native _no_ OS-specific feature is used directly, like constants or
 > datatypes or OS-functions calls. With such a implementation we can
 > survive.

I like this idea. In fact I had the same in mind.

--- cut ---

Based on this idea I developed a POSIX-target layer. Unfortuantelly I'm 
currently to busy with my daily work, thus I still could not prepare the 
needed patches (which is also a difficult work). Soon I will have enough 
time I like to do this.

Sincerely,

Torsten




From MAILER-DAEMON Tue Nov 16 05:14:47 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CU0MI-0007ZZ-Qv
	for mharc-classpath@gnu.org; Tue, 16 Nov 2004 05:14:46 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CU0MG-0007YH-Bb
	for classpath@gnu.org; Tue, 16 Nov 2004 05:14:44 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CU0MD-0007XZ-VK
	for classpath@gnu.org; Tue, 16 Nov 2004 05:14:42 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CU0MB-0007XP-D3
	for classpath@gnu.org; Tue, 16 Nov 2004 05:14:41 -0500
Received: from [212.6.122.32] (helo=mail5.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CU0D6-0004si-Un; Tue, 16 Nov 2004 05:05:18 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-93-020.ewetel.net
	[80.228.93.20])
	by mail5.ewetel.de (8.12.1/8.12.9) with ESMTP id iAGA5AaL002481;
	Tue, 16 Nov 2004 11:05:15 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CU1BN-0002VY-C8; Tue, 16 Nov 2004 12:07:33 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Tue, 16 Nov 2004 12:06:32 +0100
User-Agent: KMail/1.6.2
References: <4198888E.6000302@aicas.com>
	<1100525289.21818.6.camel@fencepost.haphazard.org>
	<4199CC62.2030201@aicas.com>
In-Reply-To: <4199CC62.2030201@aicas.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411161206.32481.konqueror@gmx.de>
X-CheckCompat: OK
Cc: "C. Brian Jones" <cbj@gnu.org>, Torsten Rupp <rupp@aicas.com>
Subject: Re: [cp-patches] Patch JCL_realloc()] (late, because
	accidently	sent to wrong address)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Nov 2004 10:14:44 -0000

Am Dienstag, 16. November 2004 10:46 schrieb Torsten Rupp:
> Dear Brian,
>
> >>>(and I thought
> >>>we agreed to get rid of these kind of macros and would use
> >>> normal functions as much as possible in the future.)
> >>
> >>When I remember right, the agreement was not to remove the macros
> >>completely, but instead make them into "alias"-names for target
> >> specific implementations of some OS-function.
> >
> > I believe Mark is correct here, we agreed to turn the macros into
> > real functions for debugging purposes.  And we'll probably use
> > autoconf feature testing for portability.  Getting to the
> > alias-names of some OS-function is a first step and then convert
> > them into real functions.
>
> When I understand the message from Michael from Aug-11-2004 right,
> we agreeded _not_ to remove the macro names completely (that would
> mean aicas will be kicked out from Classpath native code; I tried
> to explain this and why the macros are so important for aicas
> already in several messages), but instead make the following
> changes:

I wouldn't call this a decision.

> Based on this idea I developed a POSIX-target layer. Unfortuantelly
> I'm currently to busy with my daily work, thus I still could not
> prepare the needed patches (which is also a difficult work). Soon I
> will have enough time I like to do this.

The main problem is that we have to get two groups under one hat.

I still have to look into the code you sent to in private. Sorry, I 
had no time to do it yet.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Tue Nov 16 05:51:09 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CU0vV-0007ke-J8
	for mharc-classpath@gnu.org; Tue, 16 Nov 2004 05:51:09 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CU0vQ-0007hm-Cq
	for classpath@gnu.org; Tue, 16 Nov 2004 05:51:04 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CU0vP-0007ha-AS
	for classpath@gnu.org; Tue, 16 Nov 2004 05:51:03 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CU0vP-0007hX-3m
	for classpath@gnu.org; Tue, 16 Nov 2004 05:51:03 -0500
Received: from [212.250.162.8] (helo=mta13-winn.mailhost.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CU0mD-0002ZM-JL
	for classpath@gnu.org; Tue, 16 Nov 2004 05:41:33 -0500
Received: from aamta03-winn.mailhost.ntl.com ([212.250.162.8])
	by mta13-winn.mailhost.ntl.com with ESMTP id
	<20041116104133.PBNF5690.mta13-winn.mailhost.ntl.com@aamta03-winn.mailhost.ntl.com>
	for <classpath@gnu.org>; Tue, 16 Nov 2004 10:41:33 +0000
Received: from cuddles.cambridge.redhat.com ([81.96.64.123])
	by aamta03-winn.mailhost.ntl.com with ESMTP id
	<20041116104132.NBLP16823.aamta03-winn.mailhost.ntl.com@cuddles.cambridge.redhat.com>
	for <classpath@gnu.org>; Tue, 16 Nov 2004 10:41:32 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	iAGAednq019018; Tue, 16 Nov 2004 10:40:49 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id iAGAecDx019014;
	Tue, 16 Nov 2004 10:40:38 GMT
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16793.55590.82016.501906@cuddles.cambridge.redhat.com>
Date: Tue, 16 Nov 2004 10:40:38 +0000
From: Andrew Haley <aph@redhat.com>
To: Tom Tromey <tromey@redhat.com>
In-Reply-To: <m3fz3byqqz.fsf@localhost.localdomain>
References: <41960FBF.3040008@antonovic.com>
	<m3fz3d1qd6.fsf@localhost.localdomain>
	<1100387658.17793.30.camel@rivendell>
	<m3fz3byqqz.fsf@localhost.localdomain>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Nov 2004 10:51:04 -0000

Tom Tromey writes:
 > >>>>> "Andrew" == Andrew John Hughes <gnu_andrew@member.fsf.org> writes:
 > 
 > Andrew> If this is the case, then is there a good reason for not
 > Andrew> starting to include 1.5 changes, that will compile with
 > Andrew> pre-1.5 compilers, into the HEAD branch?
 > 
 > Andrew> * less problems with keeping generics in sync with the HEAD branch,
 > Andrew> especially when the point of merging finally does arrive
 > 
 > Actually, putting the new code on the trunk as well makes merging
 > harder, not easier.  That's because when it is put on the trunk all
 > the generic bits must be stripped out, meaning that we'll have
 > different versions of classes on the trunk and the branch.  This
 > probably isn't a severe problem, but I thought I'd mention it.

Sure, but it's overwhelmed by the advantages of getting this stuff
visible and tested.

Andrew.



From MAILER-DAEMON Tue Nov 16 11:46:29 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CU6TN-0003on-PU
	for mharc-classpath@gnu.org; Tue, 16 Nov 2004 11:46:29 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CU6TM-0003oe-4f
	for classpath@gnu.org; Tue, 16 Nov 2004 11:46:28 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CU6TL-0003oK-Fc
	for classpath@gnu.org; Tue, 16 Nov 2004 11:46:27 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CU6TL-0003o6-CP
	for classpath@gnu.org; Tue, 16 Nov 2004 11:46:27 -0500
Received: from [204.9.97.99] (helo=NR-EXCHANGE.netreach.core)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CU6KO-0006pn-Dk
	for classpath@gnu.org; Tue, 16 Nov 2004 11:37:12 -0500
Received: from [192.168.160.201] ([192.168.160.201]) by
	NR-EXCHANGE.netreach.core with Microsoft SMTPSVC(6.0.3790.211); 
	Tue, 16 Nov 2004 11:40:35 -0500
Message-ID: <419A2CB3.8060005@netreach.com>
Date: Tue, 16 Nov 2004 11:37:07 -0500
From: Stuart Ballard <sballard@netreach.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040926)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jeroen Frijters <jeroen@sumatra.nl>
References: <D92197D0A6547B44A1567814F851FA6802A4CD@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA6802A4CD@LEMBU.sumatrasoftware.com>
X-Enigmail-Version: 0.86.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 16 Nov 2004 16:40:38.0803 (UTC)
	FILETIME=[010C4E30:01C4CBFB]
Cc: classpath <classpath@gnu.org>
Subject: Re: 1.5 and japitools
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Nov 2004 16:46:28 -0000

(hope you don't mind my replying to this on the list)

Jeroen Frijters wrote:
> One thing that's missing is the fact that annotations can have default
> values:
> import java.lang.annotation.*;
> 
> public @interface MyAnnotation
> {
>   String value() default "foo";
>   Thread.State state() default Thread.State.RUNNABLE;
>   Retention ret() default @Retention(RetentionPolicy.RUNTIME);
>   Class clazz() default String.class;
>   int[] list() default { 1, 2, 3 };
> }

Interesting syntax...

Is an @interface limited to methods that return non-void types and have 
no arguments? Can they throw exceptions? Can an @interface extend other 
interfaces or @interfaces?

> These default values need to be encoded too (since they appear in the
> documentation). The supported types are primitive types, String, Class,
> enum types, annotation types, and arrays of the preceding types.

The existing syntax for primitive constants seems like it's appropriate 
here...

mypackage,MyAnnotation! Pasnu annotation
mypackage,MyAnnotation!value() Painu Ljava/lang/String;:foo
mypackage,MyAnnotation!state() Painu Ljava/lang/Thread$State;:RUNNABLE
mypackage,MyAnnotation!clazz() Painu Ljava/lang/Class;:Ljava/lang/String;
(note the use of Type Signature representation here because that's 
needed to distinguish between Integer.class and Integer.TYPE)

Not sure how to represent ret() yet because I don't understand 
annotations well enough.

mypackage,MyAnnotation!list() Painu [I:1,2,3

For array-of-string types, any commas in the strings themselves would be 
backslash-escaped. For two-dimensional arrays of strings we could double 
up the escaping, etc.

Thoughts?

Stuart.




-- 
Stuart Ballard, Senior Web Developer
NetReach, Inc.
(215) 283-2300, ext. 126
http://www.netreach.com/



From MAILER-DAEMON Tue Nov 16 12:16:31 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CU6wR-0005jp-0E
	for mharc-classpath@gnu.org; Tue, 16 Nov 2004 12:16:31 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CU6wP-0005ji-HZ
	for classpath@gnu.org; Tue, 16 Nov 2004 12:16:29 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CU6wO-0005jS-Tz
	for classpath@gnu.org; Tue, 16 Nov 2004 12:16:29 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CU6wO-0005jI-Pf
	for classpath@gnu.org; Tue, 16 Nov 2004 12:16:28 -0500
Received: from [217.12.12.201] (helo=smtp811.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CU6nR-0003r3-GM
	for classpath@gnu.org; Tue, 16 Nov 2004 12:07:13 -0500
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(classpath@gnu.org@217.44.226.227 with poptime)
	by smtp811.mail.ukl.yahoo.com with SMTP; 16 Nov 2004 17:07:09 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.34)
	id 1CU6nN-0006qR-Do
	for classpath@gnu.org; Tue, 16 Nov 2004 17:07:09 +0000
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <200411152026.37386.konqueror@gmx.de>
References: <41960FBF.3040008@antonovic.com>
	<200411151930.27754.konqueror@gmx.de>
	<m3actjyoun.fsf@localhost.localdomain>
	<200411152026.37386.konqueror@gmx.de>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-MJRxZgCrP881kcuM/8Xm"
Message-Id: <1100624829.32228.7.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Tue, 16 Nov 2004 17:07:09 +0000
Subject: Re: gij as JRE 5
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Nov 2004 17:16:29 -0000


--=-MJRxZgCrP881kcuM/8Xm
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2004-11-15 at 19:26, Michael Koch wrote:
> Am Montag, 15. November 2004 19:00 schrieb Tom Tromey:
> > >>>>> "Michael" =3D=3D Michael Koch <konqueror@gmx.de> writes:
> > >>
> > >> Actually, putting the new code on the trunk as well makes
> > >> merging harder, not easier.  That's because when it is put on
> > >> the trunk all the generic bits must be stripped out, meaning
> > >> that we'll have different versions of classes on the trunk and
> > >> the branch.  This probably isn't a severe problem, but I thought
> > >> I'd mention it.
> >
> > Michael> Isn't this a problem without putting new features into
> > HEAD Michael> too as the class gets changes on HEAD and generics
> > branch Michael> anyway ?
> >
> > Yes, though there is a difference in degree.  E.g., our collections
> > classes are fairly mature and don't change very much.  So
> > re-merging those probably won't be too difficult.
>=20
> I don't know for sure but I would consider the collection classes are=20
> only a little part of the stuff that needs enhancements for 1.5.
>=20
>=20
> Michael

Yes -- in fact, the Collections classes are largely unchanged apart from
the addition of Generics.  There is a new Queue.

There are entire new packages.  From a quick survey of the top level,

java.lang.annotation
java.lang.instrument
java.lang.management
java.util.concurrent
java.util.concurrent.atomic
java.util.concurrent.locks
javax.imageio.plugins.bmp
javax.management.* (9 packages in all)
javax.swing.plaf.synth
javax.activity

and probably more I missed.  Anything that will compile with 1.4 can
probably go in.  A lot of the language changes, I guess, are to existing
packages, while the other additions are mainly in new packages. =20


--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachment=
s.
See http://www.fsf.org/philosophy/no-word-attachments.html

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

"We've all been part of the biggest beta test the world has ever known --
Windows"
-- Victor Wheatman, Gartner


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

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

iD8DBQBBmjO9u+fW6pI0dq4RAm0OAJ9sEwtnJXqd83MSF3G81pgTTfBX+QCfSwue
4h859/60PndMUqPEgX6fWck=
=1ze/
-----END PGP SIGNATURE-----

--=-MJRxZgCrP881kcuM/8Xm--




From MAILER-DAEMON Tue Nov 16 21:19:29 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CUFPt-0003pj-K2
	for mharc-classpath@gnu.org; Tue, 16 Nov 2004 21:19:29 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CUFPr-0003pJ-9O
	for classpath@gnu.org; Tue, 16 Nov 2004 21:19:27 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CUFPq-0003oz-Lv
	for classpath@gnu.org; Tue, 16 Nov 2004 21:19:26 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CUFPq-0003op-Ik
	for classpath@gnu.org; Tue, 16 Nov 2004 21:19:26 -0500
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CUFH2-0000py-PD
	for classpath@gnu.org; Tue, 16 Nov 2004 21:10:21 -0500
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 iAH29MOM034742
	for <classpath@gnu.org>; Wed, 17 Nov 2004 13:09:23 +1100 (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, 17 Nov 2004 12:09:21 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCCEHGFAAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Importance: Normal
In-Reply-To: <1100624829.32228.7.camel@rivendell>
Subject: java.util.concurrent in Java 5.0
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Nov 2004 02:19:27 -0000

Seeing as this was raised in the jre5 thread:

> java.util.concurrent
> java.util.concurrent.atomic
> java.util.concurrent.locks

Note that the java.util.concurrent implementation, as defined and
implemented by the JSR-166 is freely available for download:

/*
 * Written by Doug Lea with assistance from members of JCP JSR-166
 * Expert Group and released to the public domain, as explained at
 * http://creativecommons.org/licenses/publicdomain
 */


Follow links to the CVS repository:

http://gee.cs.oswego.edu/dl/concurrency-interest/index.html

These API's rely in part on some native VM support - particularly for
atomics and low-level lock support. Atomics in particular only reach their
full potential if the JIT/AOT compiler knows what to do with them and can
"intrinsify" their use.

Cheers,
David Holmes




From MAILER-DAEMON Wed Nov 17 03:39:35 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CULLi-0001vR-Vz
	for mharc-classpath@gnu.org; Wed, 17 Nov 2004 03:39:35 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CULLe-0001ul-It
	for classpath@gnu.org; Wed, 17 Nov 2004 03:39:30 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CULLa-0001u9-Vk
	for classpath@gnu.org; Wed, 17 Nov 2004 03:39:27 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CULLa-0001u0-GE
	for classpath@gnu.org; Wed, 17 Nov 2004 03:39:26 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CULCZ-0003VS-Fa
	for classpath@gnu.org; Wed, 17 Nov 2004 03:30:07 -0500
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.6944.0
Date: Wed, 17 Nov 2004 09:30:00 +0100
Message-ID: <D92197D0A6547B44A1567814F851FA6802A4E0@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: 1.5 and japitools
thread-index: AcTL+sGnqaCZ9mGIR2iAxD3Wq9qg1wAhE7Sg
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Stuart Ballard" <sballard@netreach.com>
Cc: classpath <classpath@gnu.org>
Subject: RE: 1.5 and japitools
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Nov 2004 08:39:31 -0000

Stuart Ballard wrote:
> Is an @interface limited to methods that return non-void=20
> types and have no arguments? Can they throw exceptions?
> Can an @interface extend other interfaces or @interfaces?

Yes (and the return types are limited to the ones I listed). No. No.

> Not sure how to represent ret() yet because I don't understand=20
> annotations well enough.

Whatever we'll use to encode annotations will be usuable here as well.
BTW, I think the annotation interface methods can be annotated too.

Regards,
Jeroen



From MAILER-DAEMON Thu Nov 18 08:44:35 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CUmaR-0006k1-65
	for mharc-classpath@gnu.org; Thu, 18 Nov 2004 08:44:35 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CUmaP-0006i8-Tp
	for classpath@gnu.org; Thu, 18 Nov 2004 08:44:34 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CUmaP-0006hc-F7
	for classpath@gnu.org; Thu, 18 Nov 2004 08:44:33 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CUmaO-0006hV-2s
	for classpath@gnu.org; Thu, 18 Nov 2004 08:44:33 -0500
Received: from [64.4.35.17] (helo=hotmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CUmRH-0008Ko-55
	for classpath@gnu.org; Thu, 18 Nov 2004 08:35:07 -0500
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Thu, 18 Nov 2004 05:35:02 -0800
Message-ID: <BAY12-F17FB9DC57AED97019CFD42A9C20@phx.gbl>
Received: from 132.195.4.37 by by12fd.bay12.hotmail.msn.com with HTTP;
	Thu, 18 Nov 2004 13:34:33 GMT
X-Originating-IP: [132.195.4.37]
X-Originating-Email: [theuserbl@hotmail.com]
X-Sender: theuserbl@hotmail.com
From: "theUser BL" <theuserbl@hotmail.com>
To: classpath@gnu.org
Bcc: 
Date: Thu, 18 Nov 2004 13:34:33 +0000
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
X-OriginalArrivalTime: 18 Nov 2004 13:35:02.0228 (UTC)
	FILETIME=[67F55140:01C4CD73]
Subject: Sun don't fixed Java-bugs
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Nov 2004 13:44:34 -0000

Have a look at
http://www.theuserbl.ag.vu/index.htm

_________________________________________________________________
Tun Sie Ihrem Rechner ’was Gutes. MSN Hotmail mit McAfee® Anti-Virus. 
http://www.msn.de/email/antivirus/ Jetzt kostenlos anmelden!




From MAILER-DAEMON Fri Nov 19 12:32:44 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CVCcm-0001W8-KS
	for mharc-classpath@gnu.org; Fri, 19 Nov 2004 12:32:44 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CVCck-0001Vy-NA
	for classpath@gnu.org; Fri, 19 Nov 2004 12:32:42 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CVCck-0001Vg-3P
	for classpath@gnu.org; Fri, 19 Nov 2004 12:32:42 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CVCck-0001VW-0A
	for classpath@gnu.org; Fri, 19 Nov 2004 12:32:42 -0500
Received: from [206.190.37.36] (helo=web53603.mail.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CVCTf-0008GV-0t
	for classpath@gnu.org; Fri, 19 Nov 2004 12:23:19 -0500
Received: (qmail 33937 invoked by uid 60001); 19 Nov 2004 17:23:18 -0000
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	b=i2gSHJ5qbucAK3GZly17J2f0HXyErev8yxRqd9hi2us1crqKSmlZNTfrtDZ14ynAMakJJRjKhYlzbkYqWdZXnV8ldg4JUf/2Vyb8eIjuCY5VvooPosOjl8mvqDeO6YUXvtvg531jUw6bSvGBFofpQLDQeaAfq7LgI5UGVRn6o8M=
	; 
Message-ID: <20041119172317.33933.qmail@web53603.mail.yahoo.com>
Received: from [203.169.169.88] by web53603.mail.yahoo.com via HTTP;
	Fri, 19 Nov 2004 09:23:17 PST
Date: Fri, 19 Nov 2004 09:23:17 -0800 (PST)
From: Kevin Brooks <kb_list@yahoo.com>
To: classpath@gnu.org
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-508382566-1100884997=:32332"
Subject: classpath 0.11 compile problem
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Nov 2004 17:32:42 -0000

--0-508382566-1100884997=:32332
Content-Type: text/plain; charset=us-ascii

Hi there,
 
I tried to compile classpath 0.11 using gcc 3.4.3.
 
It failed and the following error was displayed.
 
"gcj: Internal error: Killed (program jc1)"
 
What is it and how to resolve it?
 
Thanks.
 
-Kev

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--0-508382566-1100884997=:32332
Content-Type: text/html; charset=us-ascii

<DIV>Hi there,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I tried to compile classpath 0.11 using gcc 3.4.3.</DIV>
<DIV>&nbsp;</DIV>
<DIV>It failed and the following error was displayed.</DIV>
<DIV>&nbsp;</DIV>
<DIV>"gcj: Internal error: Killed (program jc1)"</DIV>
<DIV>&nbsp;</DIV>
<DIV>What is it and how to resolve it?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks.</DIV>
<DIV>&nbsp;</DIV>
<DIV>-Kev</DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com 
--0-508382566-1100884997=:32332--



From MAILER-DAEMON Fri Nov 19 12:45:46 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CVCpO-0006PG-0l
	for mharc-classpath@gnu.org; Fri, 19 Nov 2004 12:45:46 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CVCpJ-0006Nt-5G
	for classpath@gnu.org; Fri, 19 Nov 2004 12:45:41 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CVCpH-0006Ml-V8
	for classpath@gnu.org; Fri, 19 Nov 2004 12:45:40 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CVCpH-0006Mf-S8
	for classpath@gnu.org; Fri, 19 Nov 2004 12:45:39 -0500
Received: from [212.6.122.12] (helo=mail1.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CVCf6-0002GO-89
	for classpath@gnu.org; Fri, 19 Nov 2004 12:35:08 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-95-161.ewetel.net
	[80.228.95.161])
	by mail1.ewetel.de (8.12.1/8.12.9) with ESMTP id iAJHZ6xB005189;
	Fri, 19 Nov 2004 18:35:06 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CVDdg-00062A-NR; Fri, 19 Nov 2004 19:37:45 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Fri, 19 Nov 2004 19:36:34 +0100
User-Agent: KMail/1.6.2
References: <20041119172317.33933.qmail@web53603.mail.yahoo.com>
In-Reply-To: <20041119172317.33933.qmail@web53603.mail.yahoo.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200411191936.34679.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: classpath 0.11 compile problem
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Nov 2004 17:45:41 -0000

Am Freitag, 19. November 2004 18:23 schrieb Kevin Brooks:
> Hi there,
>
> I tried to compile classpath 0.11 using gcc 3.4.3.
>
> It failed and the following error was displayed.
>
> "gcj: Internal error: Killed (program jc1)"
>
> What is it and how to resolve it?

This mostly means that gcj had not enough RAM. gcj 3.3 needs about 350 
MB of mem (ram+swap). Its best tu use jikes to build classpath. ITs 
much less memory using.

By the way: classpath 0.12 is out.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Fri Nov 19 17:47:52 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CVHXh-0000BY-P8
	for mharc-classpath@gnu.org; Fri, 19 Nov 2004 17:47:51 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CVHXe-0000AO-Ug
	for classpath@gnu.org; Fri, 19 Nov 2004 17:47:47 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CVHXc-00009O-6A
	for classpath@gnu.org; Fri, 19 Nov 2004 17:47:44 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CVHXb-00008B-Qt
	for classpath@gnu.org; Fri, 19 Nov 2004 17:47:44 -0500
Received: from [62.13.128.134] (helo=punt-mx0.dmpriest.net.uk)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CVHNu-0001Vo-7P
	for classpath@gnu.org; Fri, 19 Nov 2004 17:37:42 -0500
Received: from squirrel.dmpriest.net.uk (secure.authsmtp.com [62.13.128.25])
	by punt-mx0.dmpriest.net.uk (8.12.11/8.12.11/Kp) with ESMTP id
	iAJMbesc005225; Fri, 19 Nov 2004 22:37:40 GMT
Received: from [82.6.126.90] (cpc5-hem14-6-0-cust90.lutn.cable.ntl.com
	[82.6.126.90]) (authenticated bits=0)
	by squirrel.dmpriest.net.uk (8.13.1/8.13.1/Kp) with ESMTP id
	iAJMbegf011644; Fri, 19 Nov 2004 22:37:40 GMT
	(envelope-from david.gilbert@object-refinery.com)
Message-ID: <419E77A5.5000406@object-refinery.com>
Date: Fri, 19 Nov 2004 17:45:57 -0500
From: David Gilbert <david.gilbert@object-refinery.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3) Gecko/20040923
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>
X-Enigmail-Version: 0.86.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Authentic-SMTP: 61633132333134.squirrel.dmpriest.net.uk:Kp
X-Powered-By: AuthSMTP - http://www.authsmtp.com - Authenticated SMTP Mail
	Relay
X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse
X-Virus-Status: No virus detected - but ensure you scan with your own
	anti-virus system!
Cc: mauve-discuss@sources.redhat.com
Subject: StatCVS reports...
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Nov 2004 22:47:48 -0000

I've posted a couple of StatCVS[1] reports that show the great progress 
being made with Classpath:

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

...and Mauve:

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

Keep up the good work,

Dave Gilbert
www.jfree.org

[1]  http://statcvs.sourceforge.net/



From MAILER-DAEMON Sun Nov 21 09:59:48 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CVtBs-0004nv-J1
	for mharc-classpath@gnu.org; Sun, 21 Nov 2004 09:59:48 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CVtBq-0004na-TR
	for classpath@gnu.org; Sun, 21 Nov 2004 09:59:47 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CVtBq-0004nO-G4
	for classpath@gnu.org; Sun, 21 Nov 2004 09:59:46 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CVtBq-0004nL-BW
	for classpath@gnu.org; Sun, 21 Nov 2004 09:59:46 -0500
Received: from [139.165.32.99] (helo=serv54.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CVt2j-00054o-E8
	for classpath@gnu.org; Sun, 21 Nov 2004 09:50:21 -0500
Received: (qmail 2646 invoked by uid 510); 21 Nov 2004 15:50:19 +0100
Received: from 139.165.201.14 by serv54.segi.ulg.ac.be (envelope-from
	<arnaud.vandyck@ulg.ac.be>, uid 501) with qmail-scanner-1.23 
	(drweb: 4. spamassassin: 2.64.  Clear:RC:1(139.165.201.14):. 
	Processed in 0.189799 secs); 21 Nov 2004 14:50:19 -0000
Received: from cm-201-014.dialup.ulg.ac.be (HELO edev.localhost)
	([139.165.201.14]) (envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv54.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 21 Nov 2004 15:50:19 +0100
Received: from arnaud by edev.localhost with local (Exim 4.34)
	id 1CVt2f-00041R-42
	for classpath@gnu.org; Sun, 21 Nov 2004 15:50:17 +0100
To: classpath@gnu.org
From: Arnaud Vandyck <avdyk@gnu.org>
Mail-Followup-To: classpath@gnu.org
Date: Sun, 21 Nov 2004 15:50:15 +0100
Message-ID: <87k6sfl0ig.fsf@oz.fapse.ulg.ac.be>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Subject: Some areas of improvment
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Nov 2004 14:59:47 -0000

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

Hi Classpather's,

http://java.debian.net/index.php/MovingJavaToMain

I did try to move xalan (xalan2) to main but it fails because of some
dependencies:

bcel (from jakarta) needs javax.swing.JList
  http://www.apache.org/dist/jakarta/bcel/binaries/bcel-5.1.tar.gz

rhino (from Mozilla) needs javax.swing.JTree
  ftp://ftp.mozilla.org/pub/mozilla.org/js/

Is there someone working on these set of classes? Does he need some
help? What is the status of these sets of classes?

Thanks for your help,

Cheers,

- -- 
 Arnaud Vandyck
  ,= ,-_-. =.
 ((_/)o o(\_))
  `-'(. .)`-'
      \_/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBoKsp4vzFZu62tMIRAqJpAKCc/mw8LzuAAPZZbBFSdoqlJfEN5gCfdIqW
bkdByG200Dl9JxQDXjMqOds=
=YvdP
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sun Nov 21 10:02:19 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CVtEJ-0005DX-04
	for mharc-classpath@gnu.org; Sun, 21 Nov 2004 10:02:19 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CVtEG-0005DD-7H
	for classpath@gnu.org; Sun, 21 Nov 2004 10:02:17 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CVtEF-0005CY-FH
	for classpath@gnu.org; Sun, 21 Nov 2004 10:02:15 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CVtEF-0005CT-CL
	for classpath@gnu.org; Sun, 21 Nov 2004 10:02:15 -0500
Received: from [128.174.252.3] (helo=dcs-server2.cs.uiuc.edu)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CVt4O-0005Re-34
	for classpath@gnu.org; Sun, 21 Nov 2004 09:52:04 -0500
Received: from moro.cs.uiuc.edu (moro.cs.uiuc.edu [128.174.245.152])
	(authenticated bits=0)
	by dcs-server2.cs.uiuc.edu (8.12.10/8.12.10) with ESMTP id
	iALEq2d6025127
	(version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT)
	for <classpath@gnu.org>; Sun, 21 Nov 2004 08:52:02 -0600 (CST)
From: Alkis Evlogimenos <alkis@cs.uiuc.edu>
Organization: University of Illinois, Urbana-Champaign
To: classpath@gnu.org
Date: Sun, 21 Nov 2004 08:52:02 -0600
User-Agent: KMail/1.7.1
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200411210852.02283.alkis@cs.uiuc.edu>
Subject: jni.h (classpath 0.12)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: alkis@evlogimenos.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Nov 2004 15:02:17 -0000

At line 115 of jni.h: typedef void* jobject;

This type definition conflicts with any implementation dependent type 
definition given by the vm when _JNI_VM_INTERNAL_TYPES_DEFINED. Should this 
definition be in an else block when _JNI_VM_INTERNAL_TYPES_DEFINED?

Here's the proposed patch:

--- jni.h       2004-11-21 08:47:10.361939648 -0600
+++ /tmp/classpath-0.12/include/jni.h   2004-11-14 17:41:18.000000000 -0600
@@ -72,12 +72,8 @@
 struct _jmethodID;
 typedef struct _jfieldID *jfieldID;
 typedef struct _jmethodID *jmethodID;
-#else
-typedef void *jobject;
-typedef void *jfieldID;
-typedef void *jmethodID;
-#endif /* _JNI_VM_INTERNAL_TYPES_DEFINED */
-
+#endif
+
 #ifdef __cplusplus

 class _jobject {};
@@ -116,6 +112,7 @@
 #else /* __cplusplus */


+typedef void *jobject;
 typedef jobject jclass;
 typedef jobject jstring;
 typedef jobject jarray;

Thanks,

-- 

Alkis



From MAILER-DAEMON Sun Nov 21 12:27:29 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CVvUn-0003y6-GU
	for mharc-classpath@gnu.org; Sun, 21 Nov 2004 12:27:29 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CVvUl-0003xq-Dn
	for classpath@gnu.org; Sun, 21 Nov 2004 12:27:27 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CVvUk-0003xW-Q1
	for classpath@gnu.org; Sun, 21 Nov 2004 12:27:27 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CVvUk-0003xL-M7
	for classpath@gnu.org; Sun, 21 Nov 2004 12:27:26 -0500
Received: from [217.12.12.142] (helo=smtp800.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CVvLJ-0001Rh-3n
	for classpath@gnu.org; Sun, 21 Nov 2004 12:17:41 -0500
Received: from unknown (HELO orthanc.middle-earth.co.uk)
	(classpath@gnu.org@217.44.226.227 with poptime)
	by smtp800.mail.ukl.yahoo.com with SMTP; 21 Nov 2004 17:17:39 -0000
Received: from rivendell.middle-earth.co.uk ([192.168.0.1])
	by orthanc.middle-earth.co.uk with esmtp (Exim 4.34)
	id 1CVvLH-0002cB-HK
	for classpath@gnu.org; Sun, 21 Nov 2004 17:17:39 +0000
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <87k6sfl0ig.fsf@oz.fapse.ulg.ac.be>
References: <87k6sfl0ig.fsf@oz.fapse.ulg.ac.be>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-pytu1yHfw7rWVbetCXUE"
Message-Id: <1101057459.25488.9.camel@rivendell>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Sun, 21 Nov 2004 17:17:39 +0000
Subject: Re: Some areas of improvment
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gnu_andrew@member.fsf.org
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Nov 2004 17:27:27 -0000


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

On Sun, 2004-11-21 at 14:50, Arnaud Vandyck wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> Hi Classpather's,
>=20
> http://java.debian.net/index.php/MovingJavaToMain
>=20
> I did try to move xalan (xalan2) to main but it fails because of some
> dependencies:
>=20
> bcel (from jakarta) needs javax.swing.JList
>   http://www.apache.org/dist/jakarta/bcel/binaries/bcel-5.1.tar.gz
>=20
> rhino (from Mozilla) needs javax.swing.JTree
>   ftp://ftp.mozilla.org/pub/mozilla.org/js/
>=20
> Is there someone working on these set of classes? Does he need some
> help? What is the status of these sets of classes?
>=20
> Thanks for your help,
>=20
> Cheers,
>=20
> - --=20
>  Arnaud Vandyck
>   ,=3D ,-_-. =3D.
>  ((_/)o o(\_))
>   `-'(. .)`-'
>       \_/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (GNU/Linux)
>=20
> iD8DBQFBoKsp4vzFZu62tMIRAqJpAKCc/mw8LzuAAPZZbBFSdoqlJfEN5gCfdIqW
> bkdByG200Dl9JxQDXjMqOds=3D
> =3DYvdP
> -----END PGP SIGNATURE-----
>=20
>=20
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath

Both of these exist in GNU Classpath CVS.  What is the problem these
applications have?

Cheers,
--=20
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachment=
s.
See http://www.fsf.org/philosophy/no-word-attachments.html

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

"We've all been part of the biggest beta test the world has ever known --
Windows"
-- Victor Wheatman, Gartner


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

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

iD8DBQBBoM2zu+fW6pI0dq4RAk74AJ9qfs1zyBxakM9HsN8jbdoSkPetBwCgi4vK
kSwUVkMEmk6+7MzTqvOEw8Y=
=0UPW
-----END PGP SIGNATURE-----

--=-pytu1yHfw7rWVbetCXUE--




From MAILER-DAEMON Sun Nov 21 13:36:57 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CVwa1-0001nn-5N
	for mharc-classpath@gnu.org; Sun, 21 Nov 2004 13:36:57 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CVwZz-0001nf-Qn
	for classpath@gnu.org; Sun, 21 Nov 2004 13:36:55 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CVwZz-0001nS-77
	for classpath@gnu.org; Sun, 21 Nov 2004 13:36:55 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CVwZz-0001nP-3T
	for classpath@gnu.org; Sun, 21 Nov 2004 13:36:55 -0500
Received: from [212.6.122.28] (helo=mail4.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CVwQr-0006er-Dm; Sun, 21 Nov 2004 13:27:29 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-93-156.ewetel.net
	[80.228.93.156])
	by mail4.ewetel.de (8.12.1/8.12.9) with ESMTP id iALIRQwj012677;
	Sun, 21 Nov 2004 19:27:27 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CVxPc-0002yw-8R; Sun, 21 Nov 2004 20:30:16 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org, gnu_andrew@member.fsf.org
Date: Sun, 21 Nov 2004 20:29:01 +0100
User-Agent: KMail/1.6.2
References: <87k6sfl0ig.fsf@oz.fapse.ulg.ac.be>
	<1101057459.25488.9.camel@rivendell>
In-Reply-To: <1101057459.25488.9.camel@rivendell>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200411212029.01402.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: Some areas of improvment
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Nov 2004 18:36:56 -0000

Am Sonntag, 21. November 2004 18:17 schrieb Andrew John Hughes:
> On Sun, 2004-11-21 at 14:50, Arnaud Vandyck wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi Classpather's,
> >
> > http://java.debian.net/index.php/MovingJavaToMain
> >
> > I did try to move xalan (xalan2) to main but it fails because of
> > some dependencies:
> >
> > bcel (from jakarta) needs javax.swing.JList
> >  
> > http://www.apache.org/dist/jakarta/bcel/binaries/bcel-5.1.tar.gz
> >
> > rhino (from Mozilla) needs javax.swing.JTree
> >   ftp://ftp.mozilla.org/pub/mozilla.org/js/
> >
> > Is there someone working on these set of classes? Does he need
> > some help? What is the status of these sets of classes?

That most methods are missing or not really implemented.

Note that graydon and I have some patches for these classes.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Mon Nov 22 17:11:33 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CWMPF-0002bI-Ia
	for mharc-classpath@gnu.org; Mon, 22 Nov 2004 17:11:33 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CWMPD-0002aQ-Pk
	for classpath@gnu.org; Mon, 22 Nov 2004 17:11:31 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CWMPD-0002a1-2F
	for classpath@gnu.org; Mon, 22 Nov 2004 17:11:31 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CWMPC-0002Zy-Uf
	for classpath@gnu.org; Mon, 22 Nov 2004 17:11:31 -0500
Received: from [193.14.119.138] (helo=johanna.resare.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CWMG4-0004cC-Hv
	for classpath@gnu.org; Mon, 22 Nov 2004 17:02:04 -0500
Received: from molly.resare.com
	(c-211a72d5.01-60-6c6b701.cust.bredbandsbolaget.se [213.114.26.33])
	by johanna.resare.com (Postfix) with ESMTP id 6E76CD6D5B
	for <classpath@gnu.org>; Mon, 22 Nov 2004 23:00:22 +0100 (CET)
Received: from 192.168.110.42 (marit [192.168.110.42])
	by molly.resare.com (Postfix) with ESMTP id D236557FBC
	for <classpath@gnu.org>; Mon, 22 Nov 2004 23:01:58 +0100 (CET)
From: Noa Resare <noa@resare.com>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-ee/TkF/pFMfBPhsgP7Y8"
Date: Mon, 22 Nov 2004 23:01:57 +0100
Message-Id: <1101160917.8893.15.camel@marit.resare.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.2 (2.0.2-3) 
Subject: thoughts on our Calendar
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Nov 2004 22:11:32 -0000


--=-ee/TkF/pFMfBPhsgP7Y8
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

While looking into fixing some problems with SimpleDateFormat I had a
closer look at our implementation of java.util.Calendar and
GregorianCalendar.

There are lots of things that is broken so instead of beginning with
trying to fix whatever I run into I have created a couple of test cases
for mauve that tests various aspects of Calendar behavior. The tests are
in mauve/gnu/testlet/java/util/Calendar/set.java

Does anyone work actively on Calendar/GregorianCalendar? If so please
drop a line so that we can synchronize before I start to look at solving
the problems that I have "created" :)

I will not spend any time working on this for another week or so, so if
there is anyone else that wants to beat me to it, please go ahead.

cheers/noa

--=20
nuclear cia fbi spy password code president bomb
F3C4 AC90 B885 FE15 344B  4D05 220B 7662 A190 6F09

--=-ee/TkF/pFMfBPhsgP7Y8
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad
	meddelandedel

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

iD8DBQBBomHUIgt2YqGQbwkRAsPsAKCGWDUEryEdLcCdOVrpnfq+FKBE+QCdGX2T
WpMrg8YQCkBxvI0AtoNPSb4=
=pHeA
-----END PGP SIGNATURE-----

--=-ee/TkF/pFMfBPhsgP7Y8--




From MAILER-DAEMON Mon Nov 22 18:48:00 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CWNua-00048t-KB
	for mharc-classpath@gnu.org; Mon, 22 Nov 2004 18:48:00 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CWNuX-00048N-TL
	for classpath@gnu.org; Mon, 22 Nov 2004 18:47:58 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CWNuW-00047l-QQ
	for classpath@gnu.org; Mon, 22 Nov 2004 18:47:57 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CWNuW-00047I-EO
	for classpath@gnu.org; Mon, 22 Nov 2004 18:47:56 -0500
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CWNl9-0000hK-7D
	for classpath@gnu.org; Mon, 22 Nov 2004 18:38:15 -0500
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iAMNbsuu012735;
	Mon, 22 Nov 2004 18:37:54 -0500
Received: from opsy.redhat.com (vpn50-79.rdu.redhat.com [172.16.50.79])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iAMNbrr21670; 
	Mon, 22 Nov 2004 18:37:53 -0500
Received: by opsy.redhat.com (Postfix, from userid 500)
	id B22C12DD291; Mon, 22 Nov 2004 16:35:46 -0700 (MST)
Sender: tromey@redhat.com
To: alkis@evlogimenos.com
References: <200411210852.02283.alkis@cs.uiuc.edu>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 22 Nov 2004 16:35:45 -0700
In-Reply-To: <200411210852.02283.alkis@cs.uiuc.edu>
Message-ID: <m3oehp5uem.fsf@localhost.localdomain>
Lines: 16
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: jni.h (classpath 0.12)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Nov 2004 23:47:58 -0000

>>>>> "Alkis" == Alkis Evlogimenos <alkis@cs.uiuc.edu> writes:

Alkis> Here's the proposed patch:

Oops, you sent a reversed patch.

I don't think this is correct, as it fails in the case where the VM
is written in C++ -- it will still define these typedefs.

In the libgcj jni.h, we just wrap all the typedefs in an #if checking
to see whether we're in the VM.  Classpath should do the same.

I always point out about now that we have no excuse, other than
apparently my lack of time :-), not to share these files completely.

Tom



From MAILER-DAEMON Tue Nov 23 09:14:49 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CWbRR-00030J-Ef
	for mharc-classpath@gnu.org; Tue, 23 Nov 2004 09:14:49 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CWbRL-0002yd-Vm
	for classpath@gnu.org; Tue, 23 Nov 2004 09:14:44 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CWbRK-0002xg-Ov
	for classpath@gnu.org; Tue, 23 Nov 2004 09:14:42 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CWbRK-0002xO-IR
	for classpath@gnu.org; Tue, 23 Nov 2004 09:14:42 -0500
Received: from [212.250.162.8] (helo=mta10-winn.mailhost.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CWbI7-0006Ko-9d
	for classpath@gnu.org; Tue, 23 Nov 2004 09:05:11 -0500
Received: from aamta04-winn.mailhost.ntl.com ([212.250.162.8])
	by mta10-winn.mailhost.ntl.com with ESMTP id
	<20041123140500.FMGJ22418.mta10-winn.mailhost.ntl.com@aamta04-winn.mailhost.ntl.com>;
	Tue, 23 Nov 2004 14:05:00 +0000
Received: from cuddles.cambridge.redhat.com ([82.16.12.40])
	by aamta04-winn.mailhost.ntl.com with ESMTP id
	<20041123140450.FSPG2076.aamta04-winn.mailhost.ntl.com@cuddles.cambridge.redhat.com>;
	Tue, 23 Nov 2004 14:04:50 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	iANE3knq001445; Tue, 23 Nov 2004 14:03:56 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id iANE3jSA001441;
	Tue, 23 Nov 2004 14:03:45 GMT
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16803.17216.987687.827301@cuddles.cambridge.redhat.com>
Date: Tue, 23 Nov 2004 14:03:44 +0000
From: Andrew Haley <aph@redhat.com>
To: Michael Koch <konqueror@gmx.de>
In-Reply-To: <200411212029.01402.konqueror@gmx.de>
References: <87k6sfl0ig.fsf@oz.fapse.ulg.ac.be>
	<1101057459.25488.9.camel@rivendell>
	<200411212029.01402.konqueror@gmx.de>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: classpath@gnu.org
Subject: Re: Some areas of improvment
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Nov 2004 14:14:44 -0000

Michael Koch writes:
 > Am Sonntag, 21. November 2004 18:17 schrieb Andrew John Hughes:
 > > On Sun, 2004-11-21 at 14:50, Arnaud Vandyck wrote:
 > > > -----BEGIN PGP SIGNED MESSAGE-----
 > > > Hash: SHA1
 > > >
 > > > Hi Classpather's,
 > > >
 > > > http://java.debian.net/index.php/MovingJavaToMain
 > > >
 > > > I did try to move xalan (xalan2) to main but it fails because of
 > > > some dependencies:
 > > >
 > > > bcel (from jakarta) needs javax.swing.JList
 > > >  
 > > > http://www.apache.org/dist/jakarta/bcel/binaries/bcel-5.1.tar.gz

I wonder why BCEL needs anything from swing?  Ah, it's because the
verifier has its UI components.  Of course, the verifier needs to have
a graphical user interface...

Andrew.



From MAILER-DAEMON Tue Nov 23 09:25:15 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CWbbX-00089J-Lz
	for mharc-classpath@gnu.org; Tue, 23 Nov 2004 09:25:15 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CWbbV-00088n-Dl
	for classpath@gnu.org; Tue, 23 Nov 2004 09:25:13 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CWbbU-00088I-Dl
	for classpath@gnu.org; Tue, 23 Nov 2004 09:25:12 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CWbbU-000888-9O
	for classpath@gnu.org; Tue, 23 Nov 2004 09:25:12 -0500
Received: from [128.174.252.3] (helo=dcs-server2.cs.uiuc.edu)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CWbSF-0000nW-7o
	for classpath@gnu.org; Tue, 23 Nov 2004 09:15:39 -0500
Received: from moro.cs.uiuc.edu (moro.cs.uiuc.edu [128.174.245.152])
	(authenticated bits=0)
	by dcs-server2.cs.uiuc.edu (8.12.10/8.12.10) with ESMTP id
	iANEFbd6025569
	(version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT)
	for <classpath@gnu.org>; Tue, 23 Nov 2004 08:15:37 -0600 (CST)
From: Alkis Evlogimenos <alkis@cs.uiuc.edu>
Organization: University of Illinois, Urbana-Champaign
To: classpath@gnu.org
Date: Tue, 23 Nov 2004 08:15:37 -0600
User-Agent: KMail/1.7.1
References: <200411210852.02283.alkis@cs.uiuc.edu>
In-Reply-To: <200411210852.02283.alkis@cs.uiuc.edu>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200411230815.37150.alkis@cs.uiuc.edu>
Subject: Re: jni.h (classpath 0.12)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: alkis@evlogimenos.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Nov 2004 14:25:13 -0000

On Sunday 21 November 2004 08:52, Alkis Evlogimenos wrote:
> At line 115 of jni.h: typedef void* jobject;
>
> This type definition conflicts with any implementation dependent type
> definition given by the vm when _JNI_VM_INTERNAL_TYPES_DEFINED. Should this
> definition be in an else block when _JNI_VM_INTERNAL_TYPES_DEFINED?
>
> Here's the proposed patch:

The previous patch doesn't work with C++. This one works though:

--- /tmp/classpath-0.12/include/jni.h   2004-11-14 17:41:18.000000000 -0600
+++ include/jni.h       2004-11-21 08:58:36.116468947 -0600
@@ -63,11 +63,11 @@
  * declares the old versions of the types.
  */
 #ifndef _JNI_VM_INTERNAL_TYPES_DEFINED
-/*
+
 typedef void *jobject;
 typedef void *jfieldID;
 typedef void *jmethodID;
-*/
+
 struct _jfieldID;
 struct _jmethodID;
 typedef struct _jfieldID *jfieldID;
@@ -112,7 +112,6 @@
 #else /* __cplusplus */


-typedef void *jobject;
 typedef jobject jclass;
 typedef jobject jstring;
 typedef jobject jarray;

-- 

Alkis



From MAILER-DAEMON Tue Nov 23 09:55:18 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CWc4a-00082D-VN
	for mharc-classpath@gnu.org; Tue, 23 Nov 2004 09:55:17 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CWc4Y-00081x-2J
	for classpath@gnu.org; Tue, 23 Nov 2004 09:55:14 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CWc4X-00081Y-BW
	for classpath@gnu.org; Tue, 23 Nov 2004 09:55:13 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CWc4X-00081V-7b
	for classpath@gnu.org; Tue, 23 Nov 2004 09:55:13 -0500
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CWbvJ-00007B-Pe
	for classpath@gnu.org; Tue, 23 Nov 2004 09:45:41 -0500
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iANEjYLI003853;
	Tue, 23 Nov 2004 09:45:34 -0500
Received: from opsy.redhat.com (vpn50-96.rdu.redhat.com [172.16.50.96])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iANEjXr28448; 
	Tue, 23 Nov 2004 09:45:33 -0500
Received: by opsy.redhat.com (Postfix, from userid 500)
	id 6AF1E2DD224; Tue, 23 Nov 2004 07:43:25 -0700 (MST)
Sender: tromey@redhat.com
To: alkis@evlogimenos.com
References: <200411210852.02283.alkis@cs.uiuc.edu>
	<200411230815.37150.alkis@cs.uiuc.edu>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
Date: 23 Nov 2004 07:43:25 -0700
In-Reply-To: <200411230815.37150.alkis@cs.uiuc.edu>
Message-ID: <m3y8gs39te.fsf@localhost.localdomain>
Lines: 12
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: jni.h (classpath 0.12)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Nov 2004 14:55:14 -0000

>>>>> "Alkis" == Alkis Evlogimenos <alkis@cs.uiuc.edu> writes:

Alkis> The previous patch doesn't work with C++. This one works though:

The way I read it, if both _JNI_VM_INTERNAL_TYPES_DEFINED and
__cplusplus are defined, you will get clashing typedefs.  Did you try
this out?

Also, the point of this is that the VM gets to define these types --
but with this revised patch, they are still defined by jni.h.

Tom



From MAILER-DAEMON Thu Nov 25 11:14:23 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXMGE-0007Ju-Vi
	for mharc-classpath@gnu.org; Thu, 25 Nov 2004 11:14:23 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXMGC-0007JY-UR
	for classpath@gnu.org; Thu, 25 Nov 2004 11:14:20 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXMGC-0007J8-6E
	for classpath@gnu.org; Thu, 25 Nov 2004 11:14:20 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXMGC-0007Iy-3t
	for classpath@gnu.org; Thu, 25 Nov 2004 11:14:20 -0500
Received: from [195.121.6.14] (helo=smtp18.wxs.nl)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXM6u-0001Sc-9B
	for classpath@gnu.org; Thu, 25 Nov 2004 11:04:44 -0500
Received: from [192.168.253.97] (ip3e83476c.speed.planet.nl [62.131.71.108])
	by smtp18.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14
	2004))
	with ESMTP id <0I7Q005GISNQS3@smtp18.wxs.nl> for classpath@gnu.org; Thu,
	25 Nov 2004 17:04:38 +0100 (CET)
Date: Thu, 25 Nov 2004 17:09:53 +0100
From: Ewout Prangsma <ewout@prangsma.net>
To: classpath@gnu.org
Message-id: <41A603D1.3000501@prangsma.net>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
Subject: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Nov 2004 16:14:21 -0000

Hi all,

When considering the line of VM classes, shouldn't the FileChannelImpl 
class in gnu.java.nio not be called VMFileChannel(Impl) in the java.nio 
package.
That way we all have the freedom how to implement it.

As an alternative (which is i my opinion better), a VMFileChannel class 
should have a static member used to instantatie the FileChannel 
implementation of choice.

Ewout



From MAILER-DAEMON Thu Nov 25 11:49:52 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXMoa-0000X0-9R
	for mharc-classpath@gnu.org; Thu, 25 Nov 2004 11:49:52 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXMoZ-0000Ws-Aq
	for classpath@gnu.org; Thu, 25 Nov 2004 11:49:51 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXMoY-0000Wb-Tk
	for classpath@gnu.org; Thu, 25 Nov 2004 11:49:51 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXMoY-0000WY-RQ
	for classpath@gnu.org; Thu, 25 Nov 2004 11:49:50 -0500
Received: from [212.6.122.28] (helo=mail4.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXMf8-0002DC-Lm
	for classpath@gnu.org; Thu, 25 Nov 2004 11:40:07 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-92-204.ewetel.net
	[80.228.92.204])
	by mail4.ewetel.de (8.12.1/8.12.9) with ESMTP id iAPGdkwj028134;
	Thu, 25 Nov 2004 17:39:47 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CXNdu-0005Bb-PM; Thu, 25 Nov 2004 18:42:54 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Thu, 25 Nov 2004 18:41:33 +0100
User-Agent: KMail/1.6.2
References: <41A603D1.3000501@prangsma.net>
In-Reply-To: <41A603D1.3000501@prangsma.net>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411251841.33428.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Nov 2004 16:49:51 -0000

Am Donnerstag, 25. November 2004 17:09 schrieb Ewout Prangsma:
> Hi all,
>
> When considering the line of VM classes, shouldn't the
> FileChannelImpl class in gnu.java.nio not be called
> VMFileChannel(Impl) in the java.nio package.
> That way we all have the freedom how to implement it.

Yeah, it should be named VMFileChannel. We dont did that yet because 
of ... guess what ... right: laziness.

> As an alternative (which is i my opinion better), a VMFileChannel
> class should have a static member used to instantatie the
> FileChannel implementation of choice.

What do you mean by this ?


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Thu Nov 25 12:09:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXN7u-0007ke-OW
	for mharc-classpath@gnu.org; Thu, 25 Nov 2004 12:09:50 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXN7s-0007kK-7S
	for classpath@gnu.org; Thu, 25 Nov 2004 12:09:48 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXN7r-0007jp-8d
	for classpath@gnu.org; Thu, 25 Nov 2004 12:09:47 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXN7r-0007jf-4a
	for classpath@gnu.org; Thu, 25 Nov 2004 12:09:47 -0500
Received: from [209.225.28.204] (helo=mxsf04.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXMyV-0007U9-5d
	for classpath@gnu.org; Thu, 25 Nov 2004 12:00:07 -0500
Received: from mxip06.cluster1.charter.net (mxip06a.cluster1.charter.net
	[209.225.28.136])
	by mxsf04.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	iAPH03FK024311
	for <classpath@gnu.org>; Thu, 25 Nov 2004 12:00:03 -0500
Received: from cable-68-113-94-164.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.94.164)
	by mxip06.cluster1.charter.net with ESMTP; 25 Nov 2004 12:00:03 -0500
X-Ironport-AV: i="3.87,110,1099285200"; 
	d="scan'208"; a="447250932:sNHT13265592"
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id KAA27375
	for <classpath@gnu.org>; Thu, 25 Nov 2004 10:50:44 -0600 (CST)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id iAPGoi4O001917
	for <classpath@gnu.org>; Thu, 25 Nov 2004 10:50:44 -0600 (CST)
	(envelope-from archie@dellroad.org)
Message-ID: <41A60D64.8010207@dellroad.org>
Date: Thu, 25 Nov 2004 10:50:44 -0600
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040714
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Build and install without compiling java files?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Nov 2004 17:09:48 -0000

I've noticed that Classpath distributions ship with a pre-build glibj.zip
file in the lib directory.

However, there doesn't seem to be anyway to configure the build to
just install this file, skipping the step where all the *.java files
are recompiled. Am I missing something?

Assuming that this glibj.zip has the default Configuration.java and
that is acceptable to the builder, why not provide a way to configure
the build so you can just install glibj.zip as shipped?

Thanks,
-Archie

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



From MAILER-DAEMON Thu Nov 25 12:23:17 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXNKu-0003ay-V6
	for mharc-classpath@gnu.org; Thu, 25 Nov 2004 12:23:17 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXNKs-0003as-OY
	for classpath@gnu.org; Thu, 25 Nov 2004 12:23:14 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXNKs-0003ag-CH
	for classpath@gnu.org; Thu, 25 Nov 2004 12:23:14 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXNKr-0003ad-QN
	for classpath@gnu.org; Thu, 25 Nov 2004 12:23:14 -0500
Received: from [212.6.122.16] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXNAy-0002C2-K2
	for classpath@gnu.org; Thu, 25 Nov 2004 12:13:00 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-92-204.ewetel.net
	[80.228.92.204])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id iAPHCvCT027828;
	Thu, 25 Nov 2004 18:12:57 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CXOA1-0005J7-9s; Thu, 25 Nov 2004 19:16:05 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Thu, 25 Nov 2004 19:14:43 +0100
User-Agent: KMail/1.6.2
References: <41A60D64.8010207@dellroad.org>
In-Reply-To: <41A60D64.8010207@dellroad.org>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411251914.43413.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: Build and install without compiling java files?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Nov 2004 17:23:14 -0000

Am Donnerstag, 25. November 2004 17:50 schrieb Archie Cobbs:
> I've noticed that Classpath distributions ship with a pre-build
> glibj.zip file in the lib directory.
>
> However, there doesn't seem to be anyway to configure the build to
> just install this file, skipping the step where all the *.java
> files are recompiled. Am I missing something?
>
> Assuming that this glibj.zip has the default Configuration.java and
> that is acceptable to the builder, why not provide a way to
> configure the build so you can just install glibj.zip as shipped?

I think shipping a glibj.zip is not good. This should be removed from 
source tarball.

You can do native-only builds with --without-glibj or 
--with-glibj=none.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Thu Nov 25 12:24:26 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXNM2-0003mS-81
	for mharc-classpath@gnu.org; Thu, 25 Nov 2004 12:24:26 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXNM0-0003mE-1k
	for classpath@gnu.org; Thu, 25 Nov 2004 12:24:24 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXNLy-0003lj-P7
	for classpath@gnu.org; Thu, 25 Nov 2004 12:24:23 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXNLy-0003lS-IJ
	for classpath@gnu.org; Thu, 25 Nov 2004 12:24:22 -0500
Received: from [195.121.6.39] (helo=smtp16.wxs.nl)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXNC8-0002W3-AI
	for classpath@gnu.org; Thu, 25 Nov 2004 12:14:12 -0500
Received: from [192.168.253.96] (ip3e83476c.speed.planet.nl [62.131.71.108])
	by smtp16.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14
	2004))
	with ESMTP id <0I7Q00HPWVUEZ1@smtp16.wxs.nl> for classpath@gnu.org; Thu,
	25 Nov 2004 18:13:26 +0100 (CET)
Date: Thu, 25 Nov 2004 18:13:26 +0100
From: Ewout Prangsma <ewout@prangsma.net>
In-reply-to: <200411251841.33428.konqueror@gmx.de>
To: Michael Koch <konqueror@gmx.de>
Message-id: <41A612B6.6060309@prangsma.net>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)
References: <41A603D1.3000501@prangsma.net>
	<200411251841.33428.konqueror@gmx.de>
Cc: classpath@gnu.org
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Nov 2004 17:24:24 -0000


>>When considering the line of VM classes, shouldn't the
>>FileChannelImpl class in gnu.java.nio not be called
>>VMFileChannel(Impl) in the java.nio package.
>>That way we all have the freedom how to implement it.
>>    
>>
>
>Yeah, it should be named VMFileChannel. We dont did that yet because 
>of ... guess what ... right: laziness.
>  
>
Well we all have that :-)

>  
>
>>As an alternative (which is i my opinion better), a VMFileChannel
>>class should have a static member used to instantatie the
>>FileChannel implementation of choice.
>>    
>>
>
>What do you mean by this ?
>  
>

Now the FileInputStream constructor does a "new FileChannelImpl(...)", 
instead i suggest to let is call "VMFileChannel.open(...)" that returns 
a FileChannel implemented by the VM. The default implementation would be 
to return a new FileChannelImpl, so that would mean no native changes.

Ewout




>
>Michael
>  
>




From MAILER-DAEMON Thu Nov 25 13:19:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXODf-0002ks-A9
	for mharc-classpath@gnu.org; Thu, 25 Nov 2004 13:19:51 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXODd-0002k6-3i
	for classpath@gnu.org; Thu, 25 Nov 2004 13:19:49 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXODb-0002jA-Ib
	for classpath@gnu.org; Thu, 25 Nov 2004 13:19:47 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXODb-0002j5-Db
	for classpath@gnu.org; Thu, 25 Nov 2004 13:19:47 -0500
Received: from [212.6.122.32] (helo=mail5.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXO3y-0007r9-Ao
	for classpath@gnu.org; Thu, 25 Nov 2004 13:09:50 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-92-204.ewetel.net
	[80.228.92.204])
	by mail5.ewetel.de (8.12.1/8.12.9) with ESMTP id iAPI9WaL013477;
	Thu, 25 Nov 2004 19:09:32 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CXP2m-0005Rv-Ra; Thu, 25 Nov 2004 20:12:40 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Thu, 25 Nov 2004 20:11:19 +0100
User-Agent: KMail/1.6.2
References: <41A603D1.3000501@prangsma.net>
	<200411251841.33428.konqueror@gmx.de>
	<41A612B6.6060309@prangsma.net>
In-Reply-To: <41A612B6.6060309@prangsma.net>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411252011.19318.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Nov 2004 18:19:50 -0000

Am Donnerstag, 25. November 2004 18:13 schrieb Ewout Prangsma:

> Now the FileInputStream constructor does a "new
> FileChannelImpl(...)", instead i suggest to let is call
> "VMFileChannel.open(...)" that returns a FileChannel implemented by
> the VM. The default implementation would be to return a new
> FileChannelImpl, so that would mean no native changes.

Yes, such stuff can be done as optimization. But we have to do this 
carefully. We have to make sure this can be exploited by bad code. I 
would guess the current code can be exploited. I need to write some 
applets to test this.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Thu Nov 25 13:54:49 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXOlV-0004jW-Cs
	for mharc-classpath@gnu.org; Thu, 25 Nov 2004 13:54:49 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXOlU-0004jF-84
	for classpath@gnu.org; Thu, 25 Nov 2004 13:54:48 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXOlT-0004ix-Gz
	for classpath@gnu.org; Thu, 25 Nov 2004 13:54:47 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXOlT-0004id-6O
	for classpath@gnu.org; Thu, 25 Nov 2004 13:54:47 -0500
Received: from [209.225.28.204] (helo=mxsf04.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXOc4-00082w-A8
	for classpath@gnu.org; Thu, 25 Nov 2004 13:45:04 -0500
Received: from mxip08.cluster1.charter.net (mxip08a.cluster1.charter.net
	[209.225.28.138])
	by mxsf04.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	iAPIj3WK031533
	for <classpath@gnu.org>; Thu, 25 Nov 2004 13:45:03 -0500
Received: from cable-68-113-94-164.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.94.164)
	by mxip08.cluster1.charter.net with ESMTP; 25 Nov 2004 13:45:03 -0500
X-Ironport-AV: i="3.87,110,1099285200"; 
	d="scan'208"; a="464136884:sNHT14638150"
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id MAA28342;
	Thu, 25 Nov 2004 12:35:08 -0600 (CST)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id iAPIZ74O061498; 
	Thu, 25 Nov 2004 12:35:08 -0600 (CST)
	(envelope-from archie@dellroad.org)
Message-ID: <41A625DB.6010405@dellroad.org>
Date: Thu, 25 Nov 2004 12:35:07 -0600
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040714
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael Koch <konqueror@gmx.de>
References: <41A60D64.8010207@dellroad.org>
	<200411251914.43413.konqueror@gmx.de>
In-Reply-To: <200411251914.43413.konqueror@gmx.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Build and install without compiling java files?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Nov 2004 18:54:48 -0000

Michael Koch wrote:
>>Assuming that this glibj.zip has the default Configuration.java and
>>that is acceptable to the builder, why not provide a way to
>>configure the build so you can just install glibj.zip as shipped?
> 
> I think shipping a glibj.zip is not good. This should be removed from 
> source tarball.

Just curious.. why do you say that?

-Archie

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



From MAILER-DAEMON Thu Nov 25 14:00:18 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXOqo-00067U-Kk
	for mharc-classpath@gnu.org; Thu, 25 Nov 2004 14:00:18 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXOqn-00067P-4K
	for classpath@gnu.org; Thu, 25 Nov 2004 14:00:17 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXOqm-00067D-Nq
	for classpath@gnu.org; Thu, 25 Nov 2004 14:00:16 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXOqm-00067A-L9
	for classpath@gnu.org; Thu, 25 Nov 2004 14:00:16 -0500
Received: from [212.6.122.16] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXOhB-0000q3-Jt
	for classpath@gnu.org; Thu, 25 Nov 2004 13:50:21 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-92-204.ewetel.net
	[80.228.92.204])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id iAPIoGCT017043;
	Thu, 25 Nov 2004 19:50:17 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CXPgD-0005Tg-Ab; Thu, 25 Nov 2004 20:53:25 +0100
From: Michael Koch <konqueror@gmx.de>
To: Archie Cobbs <archie@dellroad.org>
Date: Thu, 25 Nov 2004 20:52:03 +0100
User-Agent: KMail/1.6.2
References: <41A60D64.8010207@dellroad.org>
	<200411251914.43413.konqueror@gmx.de>
	<41A625DB.6010405@dellroad.org>
In-Reply-To: <41A625DB.6010405@dellroad.org>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411252052.03489.konqueror@gmx.de>
X-CheckCompat: OK
Cc: classpath@gnu.org
Subject: Re: Build and install without compiling java files?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Nov 2004 19:00:17 -0000

Am Donnerstag, 25. November 2004 19:35 schrieb Archie Cobbs:
> Michael Koch wrote:
> >>Assuming that this glibj.zip has the default Configuration.java
> >> and that is acceptable to the builder, why not provide a way to
> >> configure the build so you can just install glibj.zip as
> >> shipped?
> >
> > I think shipping a glibj.zip is not good. This should be removed
> > from source tarball.
>
> Just curious.. why do you say that?

I think there is no real need for it. It just bloats the source 
tarball. All sources are included inside to tarball to build it.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Thu Nov 25 14:13:23 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXP3T-0001YK-Fk
	for mharc-classpath@gnu.org; Thu, 25 Nov 2004 14:13:23 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXP3R-0001YE-VM
	for classpath@gnu.org; Thu, 25 Nov 2004 14:13:22 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXP3R-0001Y2-Iu
	for classpath@gnu.org; Thu, 25 Nov 2004 14:13:21 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXP3R-0001Xz-DM
	for classpath@gnu.org; Thu, 25 Nov 2004 14:13:21 -0500
Received: from [195.121.6.13] (helo=smtp17.wxs.nl)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXOtk-0003o7-34
	for classpath@gnu.org; Thu, 25 Nov 2004 14:03:20 -0500
Received: from [192.168.253.96] (ip3e83476c.speed.planet.nl [62.131.71.108])
	by smtp17.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14
	2004))
	with ESMTP id <0I7R00I6B0XJMY@smtp17.wxs.nl> for classpath@gnu.org; Thu,
	25 Nov 2004 20:03:19 +0100 (CET)
Date: Thu, 25 Nov 2004 20:03:19 +0100
From: Ewout Prangsma <ewout@prangsma.net>
In-reply-to: <200411252011.19318.konqueror@gmx.de>
To: Michael Koch <konqueror@gmx.de>
Message-id: <41A62C77.7000801@prangsma.net>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)
References: <41A603D1.3000501@prangsma.net>
	<200411251841.33428.konqueror@gmx.de> <41A612B6.6060309@prangsma.net>
	<200411252011.19318.konqueror@gmx.de>
Cc: classpath@gnu.org
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Nov 2004 19:13:22 -0000

Michael Koch wrote:

>Am Donnerstag, 25. November 2004 18:13 schrieb Ewout Prangsma:
>
>  
>
>>Now the FileInputStream constructor does a "new
>>FileChannelImpl(...)", instead i suggest to let is call
>>"VMFileChannel.open(...)" that returns a FileChannel implemented by
>>the VM. The default implementation would be to return a new
>>FileChannelImpl, so that would mean no native changes.
>>    
>>
>
>Yes, such stuff can be done as optimization. But we have to do this 
>carefully. We have to make sure this can be exploited by bad code. I 
>would guess the current code can be exploited. I need to write some 
>applets to test this.
>  
>

I think this approach would be safer, because the open method i 
mentioned can (and should) be package protected. The current 
FileChannelImpl is public, so everyone can access it.
About the optimization, i consider it necessary when i want to use 
classpath out of the box, since i'm not supporting native methods.

Ewout


>
>Michael
>  
>




From MAILER-DAEMON Thu Nov 25 14:40:44 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXPTw-0007ru-6b
	for mharc-classpath@gnu.org; Thu, 25 Nov 2004 14:40:44 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXPTt-0007rd-Pv
	for classpath@gnu.org; Thu, 25 Nov 2004 14:40:42 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXPTs-0007qG-EH
	for classpath@gnu.org; Thu, 25 Nov 2004 14:40:41 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXPTs-0007qB-9F
	for classpath@gnu.org; Thu, 25 Nov 2004 14:40:40 -0500
Received: from [212.6.122.12] (helo=mail1.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXPJl-00021r-1z
	for classpath@gnu.org; Thu, 25 Nov 2004 14:30:13 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-92-204.ewetel.net
	[80.228.92.204])
	by mail1.ewetel.de (8.12.1/8.12.9) with ESMTP id iAPJU5xB026780;
	Thu, 25 Nov 2004 20:30:05 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CXQIj-0005cD-Th; Thu, 25 Nov 2004 21:33:13 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Thu, 25 Nov 2004 21:31:51 +0100
User-Agent: KMail/1.6.2
References: <41A603D1.3000501@prangsma.net>
	<200411252011.19318.konqueror@gmx.de>
	<41A62C77.7000801@prangsma.net>
In-Reply-To: <41A62C77.7000801@prangsma.net>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411252131.51859.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Nov 2004 19:40:42 -0000

Am Donnerstag, 25. November 2004 20:03 schrieb Ewout Prangsma:
> Michael Koch wrote:
> >Am Donnerstag, 25. November 2004 18:13 schrieb Ewout Prangsma:
> >>Now the FileInputStream constructor does a "new
> >>FileChannelImpl(...)", instead i suggest to let is call
> >>"VMFileChannel.open(...)" that returns a FileChannel implemented
> >> by the VM. The default implementation would be to return a new
> >> FileChannelImpl, so that would mean no native changes.
> >
> >Yes, such stuff can be done as optimization. But we have to do
> > this carefully. We have to make sure this can be exploited by bad
> > code. I would guess the current code can be exploited. I need to
> > write some applets to test this.
>
> I think this approach would be safer, because the open method i
> mentioned can (and should) be package protected. The current
> FileChannelImpl is public, so everyone can access it.
> About the optimization, i consider it necessary when i want to use
> classpath out of the box, since i'm not supporting native methods.

package-privateness doesn't help much when the class is in a different 
package. We need to carefully check how to do this.


Michael 
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Thu Nov 25 14:42:49 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXPVx-0000Io-HL
	for mharc-classpath@gnu.org; Thu, 25 Nov 2004 14:42:49 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXPVv-0000If-Fl
	for classpath@gnu.org; Thu, 25 Nov 2004 14:42:47 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXPVu-0000IR-TW
	for classpath@gnu.org; Thu, 25 Nov 2004 14:42:47 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXPVu-0000IO-RK
	for classpath@gnu.org; Thu, 25 Nov 2004 14:42:46 -0500
Received: from [195.121.6.15] (helo=smtp19.wxs.nl)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXPMd-0002kM-9o
	for classpath@gnu.org; Thu, 25 Nov 2004 14:33:11 -0500
Received: from [192.168.253.96] (ip3e83476c.speed.planet.nl [62.131.71.108])
	by smtp19.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14
	2004))
	with ESMTP id <0I7R005NB2BAOQ@smtp19.wxs.nl> for classpath@gnu.org; Thu,
	25 Nov 2004 20:33:10 +0100 (CET)
Date: Thu, 25 Nov 2004 20:33:11 +0100
From: Ewout Prangsma <ewout@prangsma.net>
In-reply-to: <200411252131.51859.konqueror@gmx.de>
To: Michael Koch <konqueror@gmx.de>
Message-id: <41A63377.1090301@prangsma.net>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)
References: <41A603D1.3000501@prangsma.net>
	<200411252011.19318.konqueror@gmx.de> <41A62C77.7000801@prangsma.net>
	<200411252131.51859.konqueror@gmx.de>
Cc: classpath@gnu.org
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Nov 2004 19:42:47 -0000

Michael Koch wrote:

>>>Yes, such stuff can be done as optimization. But we have to do
>>>this carefully. We have to make sure this can be exploited by bad
>>>code. I would guess the current code can be exploited. I need to
>>>write some applets to test this.
>>>      
>>>
>>I think this approach would be safer, because the open method i
>>mentioned can (and should) be package protected. The current
>>FileChannelImpl is public, so everyone can access it.
>>About the optimization, i consider it necessary when i want to use
>>classpath out of the box, since i'm not supporting native methods.
>>    
>>
>
>package-privateness doesn't help much when the class is in a different 
>package. We need to carefully check how to do this.
>  
>

Corret, that's why it should be in the same package. Like most of the VM 
classes are.

Ewout

>
>Michael 
>  
>




From MAILER-DAEMON Thu Nov 25 15:03:50 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXPqH-0004OG-SZ
	for mharc-classpath@gnu.org; Thu, 25 Nov 2004 15:03:49 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXPqF-0004Nd-Ap
	for classpath@gnu.org; Thu, 25 Nov 2004 15:03:47 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXPqE-0004NQ-Sq
	for classpath@gnu.org; Thu, 25 Nov 2004 15:03:47 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXPqE-0004NN-QY
	for classpath@gnu.org; Thu, 25 Nov 2004 15:03:46 -0500
Received: from [212.6.122.18] (helo=mail3.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXPgc-0007YN-MG
	for classpath@gnu.org; Thu, 25 Nov 2004 14:53:51 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-92-204.ewetel.net
	[80.228.92.204])
	by mail3.ewetel.de (8.12.1/8.12.9) with ESMTP id iAPJrfYN008891;
	Thu, 25 Nov 2004 20:53:41 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CXQfa-0005dK-13; Thu, 25 Nov 2004 21:56:50 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Thu, 25 Nov 2004 21:55:27 +0100
User-Agent: KMail/1.6.2
References: <41A603D1.3000501@prangsma.net>
	<200411252131.51859.konqueror@gmx.de>
	<41A63377.1090301@prangsma.net>
In-Reply-To: <41A63377.1090301@prangsma.net>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411252155.27840.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Nov 2004 20:03:47 -0000

Am Donnerstag, 25. November 2004 20:33 schrieb Ewout Prangsma:
> Michael Koch wrote:
> >>>Yes, such stuff can be done as optimization. But we have to do
> >>>this carefully. We have to make sure this can be exploited by
> >>> bad code. I would guess the current code can be exploited. I
> >>> need to write some applets to test this.
> >>
> >>I think this approach would be safer, because the open method i
> >>mentioned can (and should) be package protected. The current
> >>FileChannelImpl is public, so everyone can access it.
> >>About the optimization, i consider it necessary when i want to
> >> use classpath out of the box, since i'm not supporting native
> >> methods.
> >
> >package-privateness doesn't help much when the class is in a
> > different package. We need to carefully check how to do this.
>
> Corret, that's why it should be in the same package. Like most of
> the VM classes are.

Hmm, where would you put it ? Into java.nio.channels because it 
inherits FileChannel, or java.io because its used there ?

Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Thu Nov 25 15:15:18 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXQ1O-0008CH-1S
	for mharc-classpath@gnu.org; Thu, 25 Nov 2004 15:15:18 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXQ1M-0008C0-HD
	for classpath@gnu.org; Thu, 25 Nov 2004 15:15:16 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXQ1M-0008Bo-3d
	for classpath@gnu.org; Thu, 25 Nov 2004 15:15:16 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXQ1M-0008Bl-0s
	for classpath@gnu.org; Thu, 25 Nov 2004 15:15:16 -0500
Received: from [195.121.6.14] (helo=smtp18.wxs.nl)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXPs0-0001nM-S7
	for classpath@gnu.org; Thu, 25 Nov 2004 15:05:37 -0500
Received: from [192.168.253.96] (ip3e83476c.speed.planet.nl [62.131.71.108])
	by smtp18.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14
	2004))
	with ESMTP id <0I7R006EW3PWGT@smtp18.wxs.nl> for classpath@gnu.org; Thu,
	25 Nov 2004 21:03:32 +0100 (CET)
Date: Thu, 25 Nov 2004 21:03:32 +0100
From: Ewout Prangsma <ewout@prangsma.net>
In-reply-to: <200411252155.27840.konqueror@gmx.de>
To: Michael Koch <konqueror@gmx.de>
Message-id: <41A63A94.4080100@prangsma.net>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)
References: <41A603D1.3000501@prangsma.net>
	<200411252131.51859.konqueror@gmx.de> <41A63377.1090301@prangsma.net>
	<200411252155.27840.konqueror@gmx.de>
Cc: classpath@gnu.org
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Nov 2004 20:15:16 -0000

Michael Koch wrote:

>Am Donnerstag, 25. November 2004 20:33 schrieb Ewout Prangsma:
>  
>
>>Michael Koch wrote:
>>    
>>
>>>>>Yes, such stuff can be done as optimization. But we have to do
>>>>>this carefully. We have to make sure this can be exploited by
>>>>>bad code. I would guess the current code can be exploited. I
>>>>>need to write some applets to test this.
>>>>>          
>>>>>
>>>>I think this approach would be safer, because the open method i
>>>>mentioned can (and should) be package protected. The current
>>>>FileChannelImpl is public, so everyone can access it.
>>>>About the optimization, i consider it necessary when i want to
>>>>use classpath out of the box, since i'm not supporting native
>>>>methods.
>>>>        
>>>>
>>>package-privateness doesn't help much when the class is in a
>>>different package. We need to carefully check how to do this.
>>>      
>>>
>>Corret, that's why it should be in the same package. Like most of
>>the VM classes are.
>>    
>>
>
>Hmm, where would you put it ? Into java.nio.channels because it 
>inherits FileChannel, or java.io because its used there ?
>
>  
>
Ahhh you got a point there. Well in that case i would suggest java.io, 
to make the package protection work.

Ewout



From MAILER-DAEMON Thu Nov 25 15:25:58 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXQBi-0003FJ-Kr
	for mharc-classpath@gnu.org; Thu, 25 Nov 2004 15:25:58 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXQBg-0003Em-BD
	for classpath@gnu.org; Thu, 25 Nov 2004 15:25:56 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXQBf-0003EN-JQ
	for classpath@gnu.org; Thu, 25 Nov 2004 15:25:55 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXQBf-0003EK-Fm
	for classpath@gnu.org; Thu, 25 Nov 2004 15:25:55 -0500
Received: from [212.6.122.12] (helo=mail1.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXQ21-0004Kb-Iz
	for classpath@gnu.org; Thu, 25 Nov 2004 15:15:57 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-92-204.ewetel.net
	[80.228.92.204])
	by mail1.ewetel.de (8.12.1/8.12.9) with ESMTP id iAPKFtxB002689;
	Thu, 25 Nov 2004 21:15:55 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CXR16-0005kh-5r; Thu, 25 Nov 2004 22:19:04 +0100
From: Michael Koch <konqueror@gmx.de>
To: Ewout Prangsma <ewout@prangsma.net>
Date: Thu, 25 Nov 2004 22:17:41 +0100
User-Agent: KMail/1.6.2
References: <41A603D1.3000501@prangsma.net>
	<200411252155.27840.konqueror@gmx.de>
	<41A63A94.4080100@prangsma.net>
In-Reply-To: <41A63A94.4080100@prangsma.net>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411252217.41794.konqueror@gmx.de>
X-CheckCompat: OK
Cc: classpath@gnu.org
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Nov 2004 20:25:56 -0000

Am Donnerstag, 25. November 2004 21:03 schrieb Ewout Prangsma:
> Michael Koch wrote:
> >Am Donnerstag, 25. November 2004 20:33 schrieb Ewout Prangsma:
> >>Michael Koch wrote:
> >>>>>Yes, such stuff can be done as optimization. But we have to do
> >>>>>this carefully. We have to make sure this can be exploited by
> >>>>>bad code. I would guess the current code can be exploited. I
> >>>>>need to write some applets to test this.
> >>>>
> >>>>I think this approach would be safer, because the open method i
> >>>>mentioned can (and should) be package protected. The current
> >>>>FileChannelImpl is public, so everyone can access it.
> >>>>About the optimization, i consider it necessary when i want to
> >>>>use classpath out of the box, since i'm not supporting native
> >>>>methods.
> >>>
> >>>package-privateness doesn't help much when the class is in a
> >>>different package. We need to carefully check how to do this.
> >>
> >>Corret, that's why it should be in the same package. Like most of
> >>the VM classes are.
> >
> >Hmm, where would you put it ? Into java.nio.channels because it
> >inherits FileChannel, or java.io because its used there ?
>
> Ahhh you got a point there. Well in that case i would suggest
> java.io, to make the package protection work.

The problem is that its used from other classes in gnu.java.nio too. 
File locking, mapped byte buffers, all (will) need it.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Thu Nov 25 16:23:48 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXR5g-00010e-2e
	for mharc-classpath@gnu.org; Thu, 25 Nov 2004 16:23:48 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXR5e-00010Y-S0
	for classpath@gnu.org; Thu, 25 Nov 2004 16:23:46 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXR5d-00010B-Tm
	for classpath@gnu.org; Thu, 25 Nov 2004 16:23:46 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXR5d-000107-PJ
	for classpath@gnu.org; Thu, 25 Nov 2004 16:23:45 -0500
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CXQwB-0000z9-Po
	for classpath@gnu.org; Thu, 25 Nov 2004 16:14:00 -0500
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iAPLDp2Z003304;
	Thu, 25 Nov 2004 16:13:51 -0500
Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iAPLDor14148; 
	Thu, 25 Nov 2004 16:13:50 -0500
Received: from [172.16.50.20] (vpn50-20.rdu.redhat.com [172.16.50.20])
	by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id iAPLDlso027832;
	Thu, 25 Nov 2004 16:13:48 -0500
From: Anthony Green <green@redhat.com>
To: ziga.mahkovec@klika.si
In-Reply-To: <1101083635.3825.24.camel@serenity.klika.si>
References: <1101083635.3825.24.camel@serenity.klika.si>
Content-Type: multipart/mixed; boundary="=-4IsVnRCIDYi71db8wOhG"
Organization: Red Hat, Inc.
Message-Id: <1101417225.5195.43.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Thu, 25 Nov 2004 13:13:45 -0800
Cc: classpath@gnu.org
Subject: Re: Bootchart on SourceForge
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Nov 2004 21:23:47 -0000


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

Hey Ziga - I was able to build bootchart with the GUI branch of gcj and
the attached patches.  Unfortunately bugs in our library are preventing
successful runs.

Stack trace is here: http://spindazzle.org/bx.txt

I'm hoping one of the gui hackers can have a look. 

The patch simply replaces ImageIO.write with a simple PPM writer
(although the filename is probably still foo.png).

AG

On Sun, 2004-11-21 at 16:33, Ziga Mahkovec wrote:
> Hi,
> 
> I uploaded the bootchart sources.  Have a look at:
> http://www.klika.si/ziga/bootchart/
> 
> and give it a try.  Make sure you have the sysstat package installed
> (for iostat).
> 
> Note that I only tested this on my laptop, so if it chokes on your boot
> log files, please send them to me and I'll fix the parser or renderer.
> 
> I haven't managed to get it working with libgcj yet.  I'll work it out
> with the gcj guys; until then, you'll either have to use one of the evil
> JDKs, or use the web form that's on the page.
> 
> 
> Have fun,
> -- 
> Ziga
> 
> P.S.: You do have that rescue CD at hand, right?
-- 
Anthony Green <green@redhat.com>
Red Hat, Inc.

--=-4IsVnRCIDYi71db8wOhG
Content-Disposition: attachment; filename=p1.txt
Content-Type: text/plain; name=p1.txt; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

SOURCES = si/klika/bootchart/ProcessTree.java  \
si/klika/bootchart/PNGRenderer.java \
si/klika/bootchart/Process.java \
si/klika/bootchart/TopParser.java \
si/klika/bootchart/IostatSample.java \
si/klika/bootchart/IostatParser.java \
si/klika/bootchart/TopSample.java \
si/klika/bootchart/Main.java

OBJECTS = $(SOURCES:.java=.o)

SUFFIXES = .java .o

%.o: %.java
	gcj -c -o $@ $< -g -O0

bootchart: $(OBJECTS)
	gcj -o $@ --main=si.klika.bootchart.Main $(OBJECTS)

clean:
	rm bootchart $(OBJECTS)



diff -rup ../bootchart-0.2/src/si/klika/bootchart/IostatParser.java src/si/klika/bootchart/IostatParser.java
--- ../bootchart-0.2/src/si/klika/bootchart/IostatParser.java	2004-11-24 16:27:04.000000000 -0800
+++ src/si/klika/bootchart/IostatParser.java	2004-11-25 11:45:36.000000000 -0800
@@ -47,7 +47,7 @@ public class IostatParser {
 	
 	/** The time format used in the top header. */
 	private static final SimpleDateFormat TIME_FORMAT =
-		new SimpleDateFormat("hh:mm:ss a");
+		new SimpleDateFormat("hh:mm:ss");
 
 
 	/**
diff -rup ../bootchart-0.2/src/si/klika/bootchart/PNGRenderer.java src/si/klika/bootchart/PNGRenderer.java
--- ../bootchart-0.2/src/si/klika/bootchart/PNGRenderer.java	2004-11-24 16:40:52.000000000 -0800
+++ src/si/klika/bootchart/PNGRenderer.java	2004-11-25 12:10:06.578936390 -0800
@@ -41,7 +41,9 @@ import java.util.Date;
 import java.util.Iterator;
 import java.util.List;
 
-import javax.imageio.ImageIO;
+// import javax.imageio.ImageIO;
+import java.io.PrintWriter;
+import java.awt.image.DataBufferByte;
 
 /**
  * PNGRenderer renders the boot chart as a PNG image.
@@ -428,7 +432,13 @@ public class PNGRenderer {
 			new Rectangle(rectX, rectY, rectW, rectH));
 
 		g.drawLine(rectX, maxY, rectX + rectW, maxY);
-		ImageIO.write(img.getSubimage(0, 0, w, maxY + 1), "png", os);
+		
+		PrintWriter pw = new PrintWriter (os);
+		pw.print ("P6\n" + w + " " + (maxY+1) + "\n255\n");
+		Object b = img.getData().getDataElements (0, 0, w, maxY + 1, null);
+		os.write (((DataBufferByte) b).getData());
+		
+		// ImageIO.write(img.getSubimage(0, 0, w, maxY + 1), "png", os);
 	}
 
 	private static int renderProcessList(List processList, int px, int py,

--=-4IsVnRCIDYi71db8wOhG--




From MAILER-DAEMON Thu Nov 25 18:26:19 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXT0E-00012X-Ub
	for mharc-classpath@gnu.org; Thu, 25 Nov 2004 18:26:19 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXT0C-000112-Vn
	for classpath@gnu.org; Thu, 25 Nov 2004 18:26:17 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXT0C-00010P-5J
	for classpath@gnu.org; Thu, 25 Nov 2004 18:26:16 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXT0C-00010G-1e
	for classpath@gnu.org; Thu, 25 Nov 2004 18:26:16 -0500
Received: from [193.189.160.40] (helo=mta1.siol.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXSqu-00029p-Uy
	for classpath@gnu.org; Thu, 25 Nov 2004 18:16:41 -0500
Received: from edge1.siol.net ([10.10.10.210]) by mta1.siol.net with ESMTP
	id <20041125231638.WNTC28735.mta1.siol.net@edge1.siol.net>;
	Fri, 26 Nov 2004 00:16:38 +0100
Received: from [192.168.0.6] (really [193.77.159.2]) by edge1.siol.net
	with ESMTP
	id <20041125231638.CBDW21750.edge1.siol.net@[192.168.0.6]>;
	Fri, 26 Nov 2004 00:16:38 +0100
From: Ziga Mahkovec <ziga.mahkovec@klika.si>
To: Anthony Green <green@redhat.com>
In-Reply-To: <1101417225.5195.43.camel@localhost.localdomain>
References: <1101083635.3825.24.camel@serenity.klika.si>
	<1101417225.5195.43.camel@localhost.localdomain>
Content-Type: multipart/mixed; boundary="=-4YgyoB+YzbIA4P9gXO5N"
Date: Fri, 26 Nov 2004 00:15:16 +0100
Message-Id: <1101424516.22647.6.camel@serenity.klika.si>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.2 (2.0.2-3) 
Cc: classpath@gnu.org
Subject: Re: Bootchart on SourceForge
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Nov 2004 23:26:17 -0000


--=-4YgyoB+YzbIA4P9gXO5N
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Thu, 2004-11-25 at 13:13 -0800, Anthony Green wrote: 
> Hey Ziga - I was able to build bootchart with the GUI branch of gcj and
> the attached patches.  Unfortunately bugs in our library are preventing
> successful runs.

Hi Anthony,

thanks for the effort.  I've also been testing against a jhbuild gcj
lately.  The stack you sent is actually my fault -- the attached
g2d.patch should take care of it.

Note that I also had to change your Makefile to enable Cairo:
gcj -o $@ --main=si.klika.bootchart.Main \
-Dgnu.java.awt.peer.gtk.Graphics=Graphics2D $(OBJECTS)


However, once I get past that, the application starts eating memory and
has to be killed.  I got it down to the attached test case.  When run:

$ jhbuild shell
$ gcj -o TestG2D --main=TestG2D -g -O0 \
-Dgnu.java.awt.peer.gtk.Graphics=Graphics2D TestG2D.java
$ time ./TestG2D

real    0m16.222s
user    0m4.286s
sys     0m0.211s


it takes 16 seconds to draw 20 small lines; memory consumption is also
very high.  I'm not sure if this is a problem with my configuration.
BTW, I also sent this to fitzsim and graydon yesterday.


Thanks,
-- 
Ziga

--=-4YgyoB+YzbIA4P9gXO5N
Content-Disposition: attachment; filename=g2d.patch
Content-Type: text/x-patch; name=g2d.patch; charset=UTF-8
Content-Transfer-Encoding: 7bit

Index: si/klika/bootchart/PNGRenderer.java
===================================================================
RCS file: /cvsroot/bootchart/bootchart/src/si/klika/bootchart/PNGRenderer.java,v
retrieving revision 1.3
diff -u -r1.3 PNGRenderer.java
--- si/klika/bootchart/PNGRenderer.java	25 Nov 2004 00:40:52 -0000	1.3
+++ si/klika/bootchart/PNGRenderer.java	25 Nov 2004 22:54:22 -0000
@@ -128,7 +130,7 @@
 		Image img = f.createImage(Math.max(w, MIN_IMG_W), h);
 		*/
 		BufferedImage img =
-			new BufferedImage(Math.max(w, MIN_IMG_W), h, ColorSpace.TYPE_RGB);
+			new BufferedImage(Math.max(w, MIN_IMG_W), h, BufferedImage.TYPE_INT_RGB);
 		  
 		// uncomment to disable Java2D
 		//Graphics g = img.getGraphics();

--=-4YgyoB+YzbIA4P9gXO5N
Content-Disposition: attachment; filename=TestG2D.java
Content-Type: text/x-java; name=TestG2D.java; charset=UTF-8
Content-Transfer-Encoding: 7bit

import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
public class TestG2D {
	public static void main(String[] args) throws Exception {
		BufferedImage img = new BufferedImage(1000, 1000, BufferedImage.TYPE_INT_RGB);
		Graphics2D g = img.createGraphics();
		for (int i=0; i<20; i++) {
			g.drawLine(0, 0, 10, 10);
		}
		System.exit(0);
	}
}

--=-4YgyoB+YzbIA4P9gXO5N--




From MAILER-DAEMON Fri Nov 26 03:23:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXbOR-0001WS-0t
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 03:23:51 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXbOO-0001WL-UW
	for classpath@gnu.org; Fri, 26 Nov 2004 03:23:49 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXbOO-0001W9-G7
	for classpath@gnu.org; Fri, 26 Nov 2004 03:23:48 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXbOO-0001W6-Ci
	for classpath@gnu.org; Fri, 26 Nov 2004 03:23:48 -0500
Received: from [195.121.6.15] (helo=smtp19.wxs.nl)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXbF6-00013Q-5T
	for classpath@gnu.org; Fri, 26 Nov 2004 03:14:12 -0500
Received: from [192.168.253.97] (ip3e83476c.speed.planet.nl [62.131.71.108])
	by smtp19.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14
	2004))
	with ESMTP id <0I7S00AQR1JNGU@smtp19.wxs.nl> for classpath@gnu.org; Fri,
	26 Nov 2004 09:14:11 +0100 (CET)
Date: Fri, 26 Nov 2004 09:19:28 +0100
From: Ewout Prangsma <ewout@prangsma.net>
In-reply-to: <200411252217.41794.konqueror@gmx.de>
To: Michael Koch <konqueror@gmx.de>
Message-id: <41A6E710.8010102@prangsma.net>
MIME-version: 1.0
Content-type: multipart/alternative;
	boundary="Boundary_(ID_QSGBQpI2dQAT++wzKDM0tA)"
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
References: <41A603D1.3000501@prangsma.net>
	<200411252155.27840.konqueror@gmx.de> <41A63A94.4080100@prangsma.net>
	<200411252217.41794.konqueror@gmx.de>
Cc: classpath@gnu.org
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 08:23:49 -0000

This is a multi-part message in MIME format.

--Boundary_(ID_QSGBQpI2dQAT++wzKDM0tA)
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT


>>>Hmm, where would you put it ? Into java.nio.channels because it
>>>inherits FileChannel, or java.io because its used there ?
>>>      
>>>
>>Ahhh you got a point there. Well in that case i would suggest
>>java.io, to make the package protection work.
>>    
>>
>
>The problem is that its used from other classes in gnu.java.nio too. 
>File locking, mapped byte buffers, all (will) need it.
>  
>

I searched and found that FileChannelImpl is used in 
gnu.java.nio.FileLockImpl, java.nio.channels.Channels & 
java.io.FileDescriptor.

So here is my suggestions.

- Rename gnu.java.nio.FileChannelImpl to VMFileChannel (placed in 
vm/reference)
- Rename gnu.java.nio.FileLockImpl to VMFileLock (placed in vm/reference)
- Add a new VMFileChannelImpl in java.io (placed in vm/reference) that 
constains

   1. a static method FileChannel open(...) the default implementation
      is to return a new VMFileChannel(...), but vm's can decide to
      implement it themselves.
   2. a static method FileChannel getOut(), FileChannel getIn(),
      FileChannel getErr() to replace the in, out, err fields of
      FileChannelImpl

- Add a new VMChannels to java.nio.channels (placed in vm/reference) 
that implements the native methods of Channels (newInputStream, 
newOutputStream)
- Replace the FileChannelImpl instanceof check in Channels by a 
FileChannel instanceof check.
- Replace the FileChannelImpl.in/out/err reference in 
java.io.FileDescriptor with VMFileChannelImpl.getIn()/getOut()/getErr().

Ewout


>
>Michael
>  
>

--Boundary_(ID_QSGBQpI2dQAT++wzKDM0tA)
Content-type: text/html; charset=ISO-8859-1
Content-transfer-encoding: 7BIT

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote cite="mid200411252217.41794.konqueror@gmx.de" type="cite">
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">Hmm, where would you put it ? Into java.nio.channels because it
inherits FileChannel, or java.io because its used there ?
      </pre>
    </blockquote>
    <pre wrap="">Ahhh you got a point there. Well in that case i would suggest
java.io, to make the package protection work.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
The problem is that its used from other classes in gnu.java.nio too. 
File locking, mapped byte buffers, all (will) need it.
  </pre>
</blockquote>
<br>
I searched and found that FileChannelImpl is used in
gnu.java.nio.FileLockImpl, java.nio.channels.Channels &amp;
java.io.FileDescriptor.<br>
<br>
So here is my suggestions.<br>
<br>
- Rename gnu.java.nio.FileChannelImpl to VMFileChannel (placed in
vm/reference)<br>
- Rename gnu.java.nio.FileLockImpl to VMFileLock (placed in
vm/reference)<br>
- Add a new VMFileChannelImpl in java.io (placed in vm/reference) that
constains <br>
<ol>
  <li>a static method FileChannel open(...) the default implementation
is to return a new VMFileChannel(...), but vm's can decide to implement
it themselves.</li>
  <li>a static method FileChannel getOut(), FileChannel getIn(),
FileChannel getErr() to replace the in, out, err fields of
FileChannelImpl<br>
  </li>
</ol>
- Add a new VMChannels to java.nio.channels (placed in vm/reference)
that implements the native methods of Channels (newInputStream,
newOutputStream)<br>
- Replace the FileChannelImpl instanceof check in Channels by a
FileChannel instanceof check.<br>
- Replace the FileChannelImpl.in/out/err reference in
java.io.FileDescriptor with VMFileChannelImpl.getIn()/getOut()/getErr().<br>
<br>
Ewout<br>
<br>
<br>
<blockquote cite="mid200411252217.41794.konqueror@gmx.de" type="cite">
  <pre wrap="">

Michael
  </pre>
</blockquote>
</body>
</html>

--Boundary_(ID_QSGBQpI2dQAT++wzKDM0tA)--



From MAILER-DAEMON Fri Nov 26 03:37:19 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXbbS-0005Uv-Te
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 03:37:19 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXbbR-0005Sw-Eo
	for classpath@gnu.org; Fri, 26 Nov 2004 03:37:17 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXbbQ-0005SN-W2
	for classpath@gnu.org; Fri, 26 Nov 2004 03:37:17 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXbbQ-0005SK-TA
	for classpath@gnu.org; Fri, 26 Nov 2004 03:37:16 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXbRn-0004EJ-Gl
	for classpath@gnu.org; Fri, 26 Nov 2004 03:27:19 -0500
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.6944.0
Date: Fri, 26 Nov 2004 09:27:07 +0100
Message-ID: <D92197D0A6547B44A1567814F851FA6802A566@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: gnu.java.nio.FileChannelImpl
thread-index: AcTTGjMLXU3e26/qTbe/vj9EiAfjOQAd0xxw
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Michael Koch" <konqueror@gmx.de>,
	<classpath@gnu.org>
Cc: 
Subject: RE: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 08:37:17 -0000

Michael Koch wrote:
> Yes, such stuff can be done as optimization. But we have to do this=20
> carefully. We have to make sure this can be exploited by bad code. I=20
> would guess the current code can be exploited. I need to write some=20
> applets to test this.

This is why we should start using the security infrastructure to prevent
untrusted code from accessing the gnu.* classes. I know you didn't like
this idea, but it really is a sound idea (Sun uses it too) and will
allow some nice other optimizations as well.

Regards,
Jeroen



From MAILER-DAEMON Fri Nov 26 04:01:17 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXbyf-00037z-G7
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 04:01:17 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXbyd-00037s-Co
	for classpath@gnu.org; Fri, 26 Nov 2004 04:01:15 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXbyc-00037f-MU
	for classpath@gnu.org; Fri, 26 Nov 2004 04:01:14 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXbyc-00037c-FQ
	for classpath@gnu.org; Fri, 26 Nov 2004 04:01:14 -0500
Received: from [212.6.122.12] (helo=mail1.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXbpB-0001Ob-PE
	for classpath@gnu.org; Fri, 26 Nov 2004 03:51:30 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-083.ewetel.net
	[80.228.94.83])
	by mail1.ewetel.de (8.12.1/8.12.9) with ESMTP id iAQ8pQxB020134;
	Fri, 26 Nov 2004 09:51:27 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CXcoI-0000on-72; Fri, 26 Nov 2004 10:54:38 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Fri, 26 Nov 2004 09:51:26 +0100
User-Agent: KMail/1.6.2
References: <D92197D0A6547B44A1567814F851FA6802A566@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA6802A566@LEMBU.sumatrasoftware.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411260951.26949.konqueror@gmx.de>
X-CheckCompat: OK
Cc: Jeroen Frijters <jeroen@sumatra.nl>
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 09:01:15 -0000

Am Freitag, 26. November 2004 09:27 schrieb Jeroen Frijters:
> Michael Koch wrote:
> > Yes, such stuff can be done as optimization. But we have to do
> > this carefully. We have to make sure this can be exploited by bad
> > code. I would guess the current code can be exploited. I need to
> > write some applets to test this.
>
> This is why we should start using the security infrastructure to
> prevent untrusted code from accessing the gnu.* classes. I know you
> didn't like this idea, but it really is a sound idea (Sun uses it
> too) and will allow some nice other optimizations as well.

Did I said I don't like it ?

I read some interesting paper from Marc Schoenefeld latetly about how 
he exploited bugs in SUNs JDK. He has written some tool that uses 
reflection to test public constructors and methods in sun.* packages. 
We should really make this impossible. Limiting access to some 
packages in gnu.* namespace (not all) is a good idea. E.g. 
gnu.java.nio.* should be restricted, gnu.regexp.* not. This 
restriction should allow access from java.io, java.nio, java.lang, 
java.net, etc. but not from non-standard packages like java.foobar.
And we have to somehow make sure malicious code can not introduce 
classes into the standard packages.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Fri Nov 26 04:03:32 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXc0q-0003N2-56
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 04:03:32 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXc0d-0003Lb-4x
	for classpath@gnu.org; Fri, 26 Nov 2004 04:03:19 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXc0Z-0003Jz-VL
	for classpath@gnu.org; Fri, 26 Nov 2004 04:03:16 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXc0Y-0003J4-VZ
	for classpath@gnu.org; Fri, 26 Nov 2004 04:03:15 -0500
Received: from [212.6.122.10] (helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXbqP-0001ez-TY
	for classpath@gnu.org; Fri, 26 Nov 2004 03:52:46 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-083.ewetel.net
	[80.228.94.83])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id iAQ8qabH021449;
	Fri, 26 Nov 2004 09:52:36 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CXcpP-0000oq-FE; Fri, 26 Nov 2004 10:55:47 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Fri, 26 Nov 2004 09:52:36 +0100
User-Agent: KMail/1.6.2
References: <41A603D1.3000501@prangsma.net>
	<200411252217.41794.konqueror@gmx.de>
	<41A6E710.8010102@prangsma.net>
In-Reply-To: <41A6E710.8010102@prangsma.net>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200411260952.36631.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 09:03:21 -0000

Am Freitag, 26. November 2004 09:19 schrieb Ewout Prangsma:
> >>>Hmm, where would you put it ? Into java.nio.channels because it
> >>>inherits FileChannel, or java.io because its used there ?
> >>
> >>Ahhh you got a point there. Well in that case i would suggest
> >>java.io, to make the package protection work.
> >
> >The problem is that its used from other classes in gnu.java.nio
> > too. File locking, mapped byte buffers, all (will) need it.
>
> I searched and found that FileChannelImpl is used in
> gnu.java.nio.FileLockImpl, java.nio.channels.Channels &
> java.io.FileDescriptor.
>
> So here is my suggestions.
>
> - Rename gnu.java.nio.FileChannelImpl to VMFileChannel (placed in
> vm/reference)
> - Rename gnu.java.nio.FileLockImpl to VMFileLock (placed in
> vm/reference) - Add a new VMFileChannelImpl in java.io (placed in
> vm/reference) that constains
>
>    1. a static method FileChannel open(...) the default
> implementation is to return a new VMFileChannel(...), but vm's can
> decide to implement it themselves.
>    2. a static method FileChannel getOut(), FileChannel getIn(),
>       FileChannel getErr() to replace the in, out, err fields of
>       FileChannelImpl
>
> - Add a new VMChannels to java.nio.channels (placed in
> vm/reference) that implements the native methods of Channels
> (newInputStream, newOutputStream)
> - Replace the FileChannelImpl instanceof check in Channels by a
> FileChannel instanceof check.
> - Replace the FileChannelImpl.in/out/err reference in
> java.io.FileDescriptor with
> VMFileChannelImpl.getIn()/getOut()/getErr().

Placing into vm/reference is generally good but not into the java.* 
packages. I think the way Jeroen pointed out is our way.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Fri Nov 26 04:09:22 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXc6T-0004zW-7T
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 04:09:21 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXc6P-0004yJ-Bl
	for classpath@gnu.org; Fri, 26 Nov 2004 04:09:17 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXc6K-0004wv-Ly
	for classpath@gnu.org; Fri, 26 Nov 2004 04:09:14 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXc6K-0004wh-6u
	for classpath@gnu.org; Fri, 26 Nov 2004 04:09:12 -0500
Received: from [195.121.6.13] (helo=smtp17.wxs.nl)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXbx3-0003LV-76
	for classpath@gnu.org; Fri, 26 Nov 2004 03:59:37 -0500
Received: from [192.168.253.97] (ip3e83476c.speed.planet.nl [62.131.71.108])
	by smtp17.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14
	2004))
	with ESMTP id <0I7S001GH3N9FW@smtp17.wxs.nl> for classpath@gnu.org; Fri,
	26 Nov 2004 09:59:34 +0100 (CET)
Date: Fri, 26 Nov 2004 10:04:50 +0100
From: Ewout Prangsma <ewout@prangsma.net>
In-reply-to: <200411260952.36631.konqueror@gmx.de>
To: Michael Koch <konqueror@gmx.de>
Message-id: <41A6F1B2.2070708@prangsma.net>
MIME-version: 1.0
Content-type: multipart/alternative;
	boundary="Boundary_(ID_kXgJphsv3ipStpepiuhxMw)"
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
References: <41A603D1.3000501@prangsma.net>
	<200411252217.41794.konqueror@gmx.de> <41A6E710.8010102@prangsma.net>
	<200411260952.36631.konqueror@gmx.de>
Cc: classpath@gnu.org
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 09:09:19 -0000

This is a multi-part message in MIME format.

--Boundary_(ID_kXgJphsv3ipStpepiuhxMw)
Content-type: text/plain; format=flowed; charset=ISO-8859-15
Content-transfer-encoding: QUOTED-PRINTABLE


>>So here is my suggestions.
>>
>>- Rename gnu.java.nio.FileChannelImpl to VMFileChannel (placed in
>>vm/reference)
>>- Rename gnu.java.nio.FileLockImpl to VMFileLock (placed in
>>vm/reference) - Add a new VMFileChannelImpl in java.io (placed in
>>vm/reference) that constains
>>
>>   1. a static method FileChannel open(...) the default
>>implementation is to return a new VMFileChannel(...), but vm's can
>>decide to implement it themselves.
>>   2. a static method FileChannel getOut(), FileChannel getIn(),
>>      FileChannel getErr() to replace the in, out, err fields of
>>      FileChannelImpl
>>
>>- Add a new VMChannels to java.nio.channels (placed in
>>vm/reference) that implements the native methods of Channels
>>(newInputStream, newOutputStream)
>>- Replace the FileChannelImpl instanceof check in Channels by a
>>FileChannel instanceof check.
>>- Replace the FileChannelImpl.in/out/err reference in
>>java.io.FileDescriptor with
>>VMFileChannelImpl.getIn()/getOut()/getErr().
>>   =20
>>
>
>Placing into vm/reference is generally good but not into the java.*=
=20
>packages. I think the way Jeroen pointed out is our way.
> =20
>

I'm fine with using the security framework, in fact that is very good=
,=20
as long as i'm able to use classpath (hopefully out of the box) witho=
ut=20
the need for native methods.  Since i'm writing a java os all in java=
 i=20
want to implement java.io & java.nio.* directly on top of our filesys=
tem=20
api and having to rewrite parts of classpath because they are using=
=20
natives is not something i want to do, especially if there are good w=
ays=20
to avoid the natives using the VMxyz classes.

Ewout

>
>Michael
> =20
>


--Boundary_(ID_kXgJphsv3ipStpepiuhxMw)
Content-type: text/html; charset=ISO-8859-15
Content-transfer-encoding: QUOTED-PRINTABLE

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content=3D"text/html;charset=3DISO-8859-15"
 http-equiv=3D"Content-Type">
  <title></title>
</head>
<body bgcolor=3D"#ffffff" text=3D"#000000">
<br>
<blockquote cite=3D"mid200411260952.36631.konqueror@gmx.de" type=3D"c=
ite">
  <blockquote type=3D"cite">
    <pre wrap=3D"">So here is my suggestions.

- Rename gnu.java.nio.FileChannelImpl to VMFileChannel (placed in
vm/reference)
- Rename gnu.java.nio.FileLockImpl to VMFileLock (placed in
vm/reference) - Add a new VMFileChannelImpl in java.io (placed in
vm/reference) that constains

   1. a static method FileChannel open(...) the default
implementation is to return a new VMFileChannel(...), but vm's can
decide to implement it themselves.
   2. a static method FileChannel getOut(), FileChannel getIn(),
      FileChannel getErr() to replace the in, out, err fields of
      FileChannelImpl

- Add a new VMChannels to java.nio.channels (placed in
vm/reference) that implements the native methods of Channels
(newInputStream, newOutputStream)
- Replace the FileChannelImpl instanceof check in Channels by a
FileChannel instanceof check.
- Replace the FileChannelImpl.in/out/err reference in
java.io.FileDescriptor with
VMFileChannelImpl.getIn()/getOut()/getErr().
    </pre>
  </blockquote>
  <pre wrap=3D""><!---->
Placing into vm/reference is generally good but not into the java.*=
=20
packages. I think the way Jeroen pointed out is our way.
  </pre>
</blockquote>
<br>
I'm fine with using the security framework, in fact that is very good=
,
as long as i'm able to use classpath (hopefully out of the box) witho=
ut
the need for native methods.=A0 Since i'm writing a java os all in ja=
va i
want to implement java.io &amp; java.nio.* directly on top of our
filesystem api and having to rewrite parts of classpath because they
are using natives is not something i want to do, especially if there
are good ways to avoid the natives using the VMxyz classes.<br>
<br>
Ewout<br>
<br>
<blockquote cite=3D"mid200411260952.36631.konqueror@gmx.de" type=3D"c=
ite">
  <pre wrap=3D"">

Michael
  </pre>
</blockquote>
</body>
</html>


--Boundary_(ID_kXgJphsv3ipStpepiuhxMw)--



From MAILER-DAEMON Fri Nov 26 04:17:08 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXcDz-0007aV-RF
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 04:17:07 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXcDw-0007a6-EX
	for classpath@gnu.org; Fri, 26 Nov 2004 04:17:04 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXcDt-0007Za-H4
	for classpath@gnu.org; Fri, 26 Nov 2004 04:17:01 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXcDt-0007ZV-AI
	for classpath@gnu.org; Fri, 26 Nov 2004 04:17:01 -0500
Received: from [212.6.122.32] (helo=mail5.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXc4A-00056J-SH
	for classpath@gnu.org; Fri, 26 Nov 2004 04:06:59 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-083.ewetel.net
	[80.228.94.83])
	by mail5.ewetel.de (8.12.1/8.12.9) with ESMTP id iAQ96kaL026528;
	Fri, 26 Nov 2004 10:06:47 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CXd38-0000vw-Ap; Fri, 26 Nov 2004 11:09:58 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Fri, 26 Nov 2004 10:06:47 +0100
User-Agent: KMail/1.6.2
References: <41A603D1.3000501@prangsma.net>
	<200411260952.36631.konqueror@gmx.de>
	<41A6F1B2.2070708@prangsma.net>
In-Reply-To: <41A6F1B2.2070708@prangsma.net>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200411261006.47359.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 09:17:05 -0000

Am Freitag, 26. November 2004 10:04 schrieb Ewout Prangsma:
> >>So here is my suggestions.
> >>
> >>- Rename gnu.java.nio.FileChannelImpl to VMFileChannel (placed in
> >>vm/reference)
> >>- Rename gnu.java.nio.FileLockImpl to VMFileLock (placed in
> >>vm/reference) - Add a new VMFileChannelImpl in java.io (placed in
> >>vm/reference) that constains
> >>
> >>   1. a static method FileChannel open(...) the default
> >>implementation is to return a new VMFileChannel(...), but vm's
> >> can decide to implement it themselves.
> >>   2. a static method FileChannel getOut(), FileChannel getIn(),
> >>      FileChannel getErr() to replace the in, out, err fields of
> >>      FileChannelImpl
> >>
> >>- Add a new VMChannels to java.nio.channels (placed in
> >>vm/reference) that implements the native methods of Channels
> >>(newInputStream, newOutputStream)
> >>- Replace the FileChannelImpl instanceof check in Channels by a
> >>FileChannel instanceof check.
> >>- Replace the FileChannelImpl.in/out/err reference in
> >>java.io.FileDescriptor with
> >>VMFileChannelImpl.getIn()/getOut()/getErr().
> >
> >Placing into vm/reference is generally good but not into the
> > java.* packages. I think the way Jeroen pointed out is our way.
>
> I'm fine with using the security framework, in fact that is very
> good, as long as i'm able to use classpath (hopefully out of the
> box) without the need for native methods.  Since i'm writing a java
> os all in java i want to implement java.io & java.nio.* directly on
> top of our filesystem api and having to rewrite parts of classpath
> because they are using natives is not something i want to do,
> especially if there are good ways to avoid the natives using the
> VMxyz classes.

No, VM* classes cannot be avoided for your goals, but these classes 
can be located into gnu.* namespace (inside vm/reference).


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Fri Nov 26 04:19:21 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXcG9-0008Pd-Eg
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 04:19:21 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXcG7-0008ND-7k
	for classpath@gnu.org; Fri, 26 Nov 2004 04:19:19 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXcG6-0008M2-1s
	for classpath@gnu.org; Fri, 26 Nov 2004 04:19:18 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXcG5-0008Lu-RA
	for classpath@gnu.org; Fri, 26 Nov 2004 04:19:17 -0500
Received: from [195.121.6.14] (helo=smtp18.wxs.nl)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXc6I-0005hR-BZ
	for classpath@gnu.org; Fri, 26 Nov 2004 04:09:10 -0500
Received: from [192.168.253.97] (ip3e83476c.speed.planet.nl [62.131.71.108])
	by smtp18.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14
	2004))
	with ESMTP id <0I7S00CYR4397J@smtp18.wxs.nl> for classpath@gnu.org; Fri,
	26 Nov 2004 10:09:09 +0100 (CET)
Date: Fri, 26 Nov 2004 10:14:26 +0100
From: Ewout Prangsma <ewout@prangsma.net>
In-reply-to: <200411261006.47359.konqueror@gmx.de>
To: Michael Koch <konqueror@gmx.de>
Message-id: <41A6F3F2.5060306@prangsma.net>
MIME-version: 1.0
Content-type: multipart/alternative;
	boundary="Boundary_(ID_LQ9EyOh/hddjylToLNePdw)"
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
References: <41A603D1.3000501@prangsma.net>
	<200411260952.36631.konqueror@gmx.de> <41A6F1B2.2070708@prangsma.net>
	<200411261006.47359.konqueror@gmx.de>
Cc: classpath@gnu.org
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 09:19:19 -0000

This is a multi-part message in MIME format.

--Boundary_(ID_LQ9EyOh/hddjylToLNePdw)
Content-type: text/plain; charset=ISO-8859-15; format=flowed
Content-transfer-encoding: 7BIT


>>I'm fine with using the security framework, in fact that is very
>>good, as long as i'm able to use classpath (hopefully out of the
>>box) without the need for native methods.  Since i'm writing a java
>>os all in java i want to implement java.io & java.nio.* directly on
>>top of our filesystem api and having to rewrite parts of classpath
>>because they are using natives is not something i want to do,
>>especially if there are good ways to avoid the natives using the
>>VMxyz classes.
>>    
>>
>
>No, VM* classes cannot be avoided for your goals, but these classes 
>can be located into gnu.* namespace (inside vm/reference).
>  
>

That's fine with me.

Ewout

>
>Michael
>  
>

--Boundary_(ID_LQ9EyOh/hddjylToLNePdw)
Content-type: text/html; charset=ISO-8859-15
Content-transfer-encoding: 7BIT

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote cite="mid200411261006.47359.konqueror@gmx.de" type="cite">
  <blockquote type="cite">
    <pre wrap="">I'm fine with using the security framework, in fact that is very
good, as long as i'm able to use classpath (hopefully out of the
box) without the need for native methods.  Since i'm writing a java
os all in java i want to implement java.io &amp; java.nio.* directly on
top of our filesystem api and having to rewrite parts of classpath
because they are using natives is not something i want to do,
especially if there are good ways to avoid the natives using the
VMxyz classes.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
No, VM* classes cannot be avoided for your goals, but these classes 
can be located into gnu.* namespace (inside vm/reference).
  </pre>
</blockquote>
<br>
That's fine with me.<br>
<br>
Ewout<br>
<blockquote cite="mid200411261006.47359.konqueror@gmx.de" type="cite">
  <pre wrap="">

Michael
  </pre>
</blockquote>
</body>
</html>

--Boundary_(ID_LQ9EyOh/hddjylToLNePdw)--



From MAILER-DAEMON Fri Nov 26 04:48:36 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXciR-0007hk-Qa
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 04:48:36 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXciN-0007gc-FN
	for classpath@gnu.org; Fri, 26 Nov 2004 04:48:31 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXciL-0007fv-MA
	for classpath@gnu.org; Fri, 26 Nov 2004 04:48:30 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXciK-0007fr-TL
	for classpath@gnu.org; Fri, 26 Nov 2004 04:48:29 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXcYZ-0004Y1-O5
	for classpath@gnu.org; Fri, 26 Nov 2004 04:38:23 -0500
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.6944.0
Date: Fri, 26 Nov 2004 10:38:19 +0100
Message-ID: <D92197D0A6547B44A1567814F851FA6802A56A@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: gnu.java.nio.FileChannelImpl
thread-index: AcTTlR5B4aOmGgKPRJisF7Aqr9NS5AABhKxg
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Michael Koch" <konqueror@gmx.de>,
	<classpath@gnu.org>
Cc: 
Subject: RE: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 09:48:32 -0000

Michael Koch wrote:
> Did I said I don't like it ?

That's the impression I got when we first discussed this.

> I read some interesting paper from Marc Schoenefeld latetly about how=20
> he exploited bugs in SUNs JDK. He has written some tool that uses=20
> reflection to test public constructors and methods in sun.* packages.=20

That doesn't make sense. Untrusted code is not allowed access to the
sun.* packages (unless you're running on Opera, which apparently had a
bug), so there is no point.

> We should really make this impossible. Limiting access to some=20
> packages in gnu.* namespace (not all) is a good idea. E.g.=20
> gnu.java.nio.* should be restricted, gnu.regexp.* not.

Right. We can disallow gnu.* and then selectively allow some packages.

> This restriction should allow access from java.io, java.nio,
java.lang,=20
> java.net, etc. but not from non-standard packages like java.foobar.
> And we have to somehow make sure malicious code can not introduce=20
> classes into the standard packages.

That isn't how it works. It's class loader based, all code loaded by the
bootstrap class loader will have access to the gnu.* packages.

Regards,
Jeroen



From MAILER-DAEMON Fri Nov 26 04:55:00 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXcoc-0001Vr-HH
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 04:54:59 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXcoY-0001UT-RA
	for classpath@gnu.org; Fri, 26 Nov 2004 04:54:55 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXcoX-0001Tn-Gu
	for classpath@gnu.org; Fri, 26 Nov 2004 04:54:54 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXcoX-0001TT-4g
	for classpath@gnu.org; Fri, 26 Nov 2004 04:54:53 -0500
Received: from [212.6.122.18] (helo=mail3.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXcen-0006Cl-BF
	for classpath@gnu.org; Fri, 26 Nov 2004 04:44:49 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-083.ewetel.net
	[80.228.94.83])
	by mail3.ewetel.de (8.12.1/8.12.9) with ESMTP id iAQ9ilYN019877;
	Fri, 26 Nov 2004 10:44:48 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CXddv-0000xH-7Z; Fri, 26 Nov 2004 11:47:59 +0100
From: Michael Koch <konqueror@gmx.de>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
Date: Fri, 26 Nov 2004 10:44:47 +0100
User-Agent: KMail/1.6.2
References: <D92197D0A6547B44A1567814F851FA6802A56A@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA6802A56A@LEMBU.sumatrasoftware.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411261044.47867.konqueror@gmx.de>
X-CheckCompat: OK
Cc: classpath@gnu.org
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 09:54:56 -0000

Am Freitag, 26. November 2004 10:38 schrieb Jeroen Frijters:
> Michael Koch wrote:
> > Did I said I don't like it ?
>
> That's the impression I got when we first discussed this.
>
> > I read some interesting paper from Marc Schoenefeld latetly about
> > how he exploited bugs in SUNs JDK. He has written some tool that
> > uses reflection to test public constructors and methods in sun.*
> > packages.
>
> That doesn't make sense. Untrusted code is not allowed access to
> the sun.* packages (unless you're running on Opera, which
> apparently had a bug), so there is no point.
>
> > We should really make this impossible. Limiting access to some
> > packages in gnu.* namespace (not all) is a good idea. E.g.
> > gnu.java.nio.* should be restricted, gnu.regexp.* not.
>
> Right. We can disallow gnu.* and then selectively allow some
> packages.

What do you do if someone writes a package gnu.foobar and wants to 
access it ? There are some gnu.* packages out there. Do you want to 
maintain the list of packages to allow ? The list of packages we need 
to limit access too is much leaner and well known to us as the 
packages are maintained under our control.

> > This restriction should allow access from java.io, java.nio,
>
> java.lang,
>
> > java.net, etc. but not from non-standard packages like
> > java.foobar. And we have to somehow make sure malicious code can
> > not introduce classes into the standard packages.
>
> That isn't how it works. It's class loader based, all code loaded
> by the bootstrap class loader will have access to the gnu.*
> packages.

Sorry, you are right.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Fri Nov 26 05:55:27 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXdl6-0001de-Qd
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 05:55:27 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXdl0-0001cd-6U
	for classpath@gnu.org; Fri, 26 Nov 2004 05:55:19 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXdkx-0001bx-J9
	for classpath@gnu.org; Fri, 26 Nov 2004 05:55:16 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXdkw-0001bV-DC
	for classpath@gnu.org; Fri, 26 Nov 2004 05:55:15 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXdba-0004Ef-7c
	for classpath@gnu.org; Fri, 26 Nov 2004 05:45:34 -0500
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.6944.0
Date: Fri, 26 Nov 2004 11:45:29 +0100
Message-ID: <D92197D0A6547B44A1567814F851FA6802A56E@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: gnu.java.nio.FileChannelImpl
thread-index: AcTTnJHZlucoQblPRmq9yw9T8AD2kwACBlGQ
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Michael Koch" <konqueror@gmx.de>,
	<classpath@gnu.org>
Cc: 
Subject: RE: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 10:55:19 -0000

Michael Koch wrote:
> What do you do if someone writes a package gnu.foobar and wants to=20
> access it ? There are some gnu.* packages out there.

Hmm. Typically these won't be loaded by the bootstrap class loader, so
it shouldn't be a problem, but if you want to avoid any possible
problems we can also introduce a gnu.classpath.private.* package for all
the classes that are privileged.

> Do you want to=20
> maintain the list of packages to allow ? The list of packages we need=20
> to limit access too is much leaner and well known to us as the=20
> packages are maintained under our control.

Black listing isn't as secure as white listing. It's easy to forget to
add a package and not having access to a package is better than having a
security hole.

Regards,
Jeroen



From MAILER-DAEMON Fri Nov 26 06:07:49 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXdx6-0005RD-Qs
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 06:07:49 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXdx5-0005Qh-7Y
	for classpath@gnu.org; Fri, 26 Nov 2004 06:07:47 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXdx3-0005QC-K0
	for classpath@gnu.org; Fri, 26 Nov 2004 06:07:46 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXdx2-0005Pe-Iw
	for classpath@gnu.org; Fri, 26 Nov 2004 06:07:45 -0500
Received: from [212.6.122.32] (helo=mail5.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXdnY-0007Kj-6G
	for classpath@gnu.org; Fri, 26 Nov 2004 05:57:56 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-083.ewetel.net
	[80.228.94.83])
	by mail5.ewetel.de (8.12.1/8.12.9) with ESMTP id iAQAvraL017032;
	Fri, 26 Nov 2004 11:57:53 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CXemf-00016H-FO; Fri, 26 Nov 2004 13:01:05 +0100
From: Michael Koch <konqueror@gmx.de>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
Date: Fri, 26 Nov 2004 11:57:53 +0100
User-Agent: KMail/1.6.2
References: <D92197D0A6547B44A1567814F851FA6802A56E@LEMBU.sumatrasoftware.com>
In-Reply-To: <D92197D0A6547B44A1567814F851FA6802A56E@LEMBU.sumatrasoftware.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411261157.53903.konqueror@gmx.de>
X-CheckCompat: OK
Cc: classpath@gnu.org
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 11:07:47 -0000

Am Freitag, 26. November 2004 11:45 schrieb Jeroen Frijters:
> Michael Koch wrote:
> > What do you do if someone writes a package gnu.foobar and wants
> > to access it ? There are some gnu.* packages out there.
>
> Hmm. Typically these won't be loaded by the bootstrap class loader,
> so it shouldn't be a problem, but if you want to avoid any possible
> problems we can also introduce a gnu.classpath.private.* package
> for all the classes that are privileged.
>
> > Do you want to
> > maintain the list of packages to allow ? The list of packages we
> > need to limit access too is much leaner and well known to us as
> > the packages are maintained under our control.
>
> Black listing isn't as secure as white listing. It's easy to forget
> to add a package and not having access to a package is better than
> having a security hole.

Thats true. We could automate it. E.g. we could write a script which 
generates the list automatically during build time. Perhaps too much 
overhead. The bootstrap class loader should to the trick. Hopefully.
 

Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Fri Nov 26 06:28:49 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXeHQ-0002ki-Pd
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 06:28:49 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXeHN-0002ip-Pr
	for classpath@gnu.org; Fri, 26 Nov 2004 06:28:46 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXeHM-0002i7-IN
	for classpath@gnu.org; Fri, 26 Nov 2004 06:28:45 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXeHL-0002hg-OB
	for classpath@gnu.org; Fri, 26 Nov 2004 06:28:44 -0500
Received: from [212.162.56.50] (helo=d59.x-mailer.de)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CXe7v-000406-9V
	for classpath@gnu.org; Fri, 26 Nov 2004 06:18:59 -0500
Received: from [216.239.55.7] (helo=[172.30.10.49])
	by d59.x-mailer.de with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.43)
	id 1CXe7u-0000tR-EL
	for classpath@gnu.org; Fri, 26 Nov 2004 12:18:58 +0100
Mime-Version: 1.0 (Apple Message framework v619)
In-Reply-To: <D92197D0A6547B44A1567814F851FA6802A56E@LEMBU.sumatrasoftware.com>
References: <D92197D0A6547B44A1567814F851FA6802A56E@LEMBU.sumatrasoftware.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <04BCA072-3F9D-11D9-99A7-000A95C2681C@brawer.ch>
Content-Transfer-Encoding: 7bit
From: Sascha Brawer <sascha@brawer.ch>
Date: Fri, 26 Nov 2004 12:19:20 +0100
To: classpath@gnu.org
X-Mailer: Apple Mail (2.619)
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 11:28:47 -0000

Michael Koch wrote:
> What do you do if someone writes a package gnu.foobar and wants to
> access it ? There are some gnu.* packages out there.

How about disallowing java.*, gnu.java.* and gnu.classpath.*?

-- Sascha




From MAILER-DAEMON Fri Nov 26 06:34:18 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXeMk-0004QV-LP
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 06:34:18 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXeMh-0004Od-Dy
	for classpath@gnu.org; Fri, 26 Nov 2004 06:34:15 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXeMf-0004Nt-UG
	for classpath@gnu.org; Fri, 26 Nov 2004 06:34:14 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXeMf-0004Nm-PF
	for classpath@gnu.org; Fri, 26 Nov 2004 06:34:13 -0500
Received: from [212.6.122.10] (helo=mail0.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXeDO-0005Kz-R8
	for classpath@gnu.org; Fri, 26 Nov 2004 06:24:39 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-083.ewetel.net
	[80.228.94.83])
	by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id iAQBOWbH021054;
	Fri, 26 Nov 2004 12:24:32 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CXfCS-0001Dm-A1; Fri, 26 Nov 2004 13:27:44 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Fri, 26 Nov 2004 12:24:24 +0100
User-Agent: KMail/1.6.2
References: <D92197D0A6547B44A1567814F851FA6802A56E@LEMBU.sumatrasoftware.com>
	<04BCA072-3F9D-11D9-99A7-000A95C2681C@brawer.ch>
In-Reply-To: <04BCA072-3F9D-11D9-99A7-000A95C2681C@brawer.ch>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411261224.25009.konqueror@gmx.de>
X-CheckCompat: OK
Cc: Sascha Brawer <sascha@brawer.ch>
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 11:34:15 -0000

Am Freitag, 26. November 2004 12:19 schrieb Sascha Brawer:
> Michael Koch wrote:
> > What do you do if someone writes a package gnu.foobar and wants
> > to access it ? There are some gnu.* packages out there.
>
> How about disallowing java.*, gnu.java.* and gnu.classpath.*?

The question is: Is it legal by 3rd party to use java.foobar as 
package name ? I don't know. We have to make sure malicious code does 
not to this. Its really time to start to write testcases for such 
stuff.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Fri Nov 26 07:17:14 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXf2I-0006gD-Jf
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 07:17:14 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXf2H-0006fF-Is
	for classpath@gnu.org; Fri, 26 Nov 2004 07:17:13 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXf2G-0006eq-P6
	for classpath@gnu.org; Fri, 26 Nov 2004 07:17:12 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXf2G-0006en-My
	for classpath@gnu.org; Fri, 26 Nov 2004 07:17:12 -0500
Received: from [212.250.162.8] (helo=mta05-winn.mailhost.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXesw-0006ou-Nz
	for classpath@gnu.org; Fri, 26 Nov 2004 07:07:35 -0500
Received: from aamta04-winn.mailhost.ntl.com ([212.250.162.8])
	by mta05-winn.mailhost.ntl.com with ESMTP id
	<20041126120728.JOTM540.mta05-winn.mailhost.ntl.com@aamta04-winn.mailhost.ntl.com>;
	Fri, 26 Nov 2004 12:07:28 +0000
Received: from cuddles.cambridge.redhat.com ([82.16.12.40])
	by aamta04-winn.mailhost.ntl.com with ESMTP id
	<20041126120718.MHLR2076.aamta04-winn.mailhost.ntl.com@cuddles.cambridge.redhat.com>;
	Fri, 26 Nov 2004 12:07:18 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	iAQC6Enq019861; Fri, 26 Nov 2004 12:06:25 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id iAQC6DQo019857;
	Fri, 26 Nov 2004 12:06:13 GMT
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16807.7221.497795.989372@cuddles.cambridge.redhat.com>
Date: Fri, 26 Nov 2004 12:06:13 +0000
From: Andrew Haley <aph@redhat.com>
To: Michael Koch <konqueror@gmx.de>
In-Reply-To: <200411261224.25009.konqueror@gmx.de>
References: <D92197D0A6547B44A1567814F851FA6802A56E@LEMBU.sumatrasoftware.com>
	<04BCA072-3F9D-11D9-99A7-000A95C2681C@brawer.ch>
	<200411261224.25009.konqueror@gmx.de>
X-Mailer: VM 7.14 under Emacs 21.3.50.1 gnu.* packages out there. > >
	> > How about disallowing java.*, gnu.java.* and gnu.classpath.*? > 
	> The question is: Is it legal by 3rd party to use java.foobar as 
	> package name ? I don't know.
Cc: Sascha Brawer <sascha@brawer.ch>, classpath@gnu.org
Subject: Re: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 12:17:13 -0000

Michael Koch writes:
 > Am Freitag, 26. November 2004 12:19 schrieb Sascha Brawer:
 > > Michael Koch wrote:
 > > > What do you do if someone writes a package gnu.foobar and wants
 > > > to access it ? There are someI think it's OK iff that class is loaded by the boot class loader on
the boot class path.

Andrew.



From MAILER-DAEMON Fri Nov 26 07:22:48 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXf7g-0008JB-A8
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 07:22:48 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXf7c-0008Hg-6F
	for classpath@gnu.org; Fri, 26 Nov 2004 07:22:44 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXf7b-0008HU-Q0
	for classpath@gnu.org; Fri, 26 Nov 2004 07:22:43 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXf7b-0008HQ-NW
	for classpath@gnu.org; Fri, 26 Nov 2004 07:22:43 -0500
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXexK-0007t2-FT
	for classpath@gnu.org; Fri, 26 Nov 2004 07:12:06 -0500
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.6944.0
Date: Fri, 26 Nov 2004 13:12:00 +0100
Message-ID: <D92197D0A6547B44A1567814F851FA6802A56F@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: gnu.java.nio.FileChannelImpl
thread-index: AcTTqpvCDEGM4rgZRPOwXC4r7hMMxgABleZg
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Michael Koch" <konqueror@gmx.de>,
	<classpath@gnu.org>
Cc: Sascha Brawer <sascha@brawer.ch>
Subject: RE: gnu.java.nio.FileChannelImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 12:22:44 -0000

Michael Koch wrote:
> The question is: Is it legal by 3rd party to use java.foobar as=20
> package name ?

No, it isn't allowed, but it really doesn't matter. Untrusted code is
always loaded by a different class loader than the trusted code, so the
packages are different (even if they share the same name).

Regards,
Jeroen



From MAILER-DAEMON Fri Nov 26 11:55:51 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXjNv-0007Zf-JO
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 11:55:51 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXjNu-0007ZT-4D
	for classpath@gnu.org; Fri, 26 Nov 2004 11:55:50 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXjNt-0007Z2-7w
	for classpath@gnu.org; Fri, 26 Nov 2004 11:55:49 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXjNt-0007Yg-0z
	for classpath@gnu.org; Fri, 26 Nov 2004 11:55:49 -0500
Received: from [24.25.9.100] (helo=ms-smtp-01-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXjEP-0001sK-Rw
	for classpath@gnu.org; Fri, 26 Nov 2004 11:46:02 -0500
Received: from [192.168.0.3] (rdu74-160-248.nc.rr.com [24.74.160.248])
	by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	iAQGjnKj013363; Fri, 26 Nov 2004 11:45:50 -0500 (EST)
From: "C. Brian Jones" <cbj@gnu.org>
To: Michael Koch <konqueror@gmx.de>
In-Reply-To: <200411252052.03489.konqueror@gmx.de>
References: <41A60D64.8010207@dellroad.org>
	<200411251914.43413.konqueror@gmx.de> <41A625DB.6010405@dellroad.org>
	<200411252052.03489.konqueror@gmx.de>
Content-Type: text/plain
Message-Id: <1101487549.6410.29.camel@fencepost.haphazard.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Fri, 26 Nov 2004 11:45:49 -0500
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: classpath@gnu.org
Subject: Re: Build and install without compiling java files?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 16:55:50 -0000

On Thu, 2004-11-25 at 14:52, Michael Koch wrote:
> Am Donnerstag, 25. November 2004 19:35 schrieb Archie Cobbs:
> > Michael Koch wrote:
> > >>Assuming that this glibj.zip has the default Configuration.java
> > >> and that is acceptable to the builder, why not provide a way to
> > >> configure the build so you can just install glibj.zip as
> > >> shipped?
> > >
> > > I think shipping a glibj.zip is not good. This should be removed
> > > from source tarball.
> >
> > Just curious.. why do you say that?
> 
> I think there is no real need for it. It just bloats the source 
> tarball. All sources are included inside to tarball to build it.

Actually there is a pretty good reason to have the built classes
distributed.  The fact is that results vary according to which "free"
and broken compiler you use to compile Classpath.  None of them really
pass Jacks that I know of.  New 1.5 features aren't supported anywhere
in a production ready and easily available compiler (as in is already
part of a popular distribution), and we thankfully don't include those
in the main branch yet.

And actually including the glibj.zip is a very popular thing, at least
from actual users.  For the rest of us who would rather change or fix
things it matters very little.  Again this can probably be solved by
someone with a lot of initiative making something available to easily
integrate into jpackage environments or the like to handle the actual
distribution requirements vs. the developer requirements to only ship
source and no binaries.

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




From MAILER-DAEMON Fri Nov 26 12:16:21 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXjhk-0007ee-PX
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 12:16:21 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXjhi-0007c2-Fk
	for classpath@gnu.org; Fri, 26 Nov 2004 12:16:18 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXjhh-0007bA-Hx
	for classpath@gnu.org; Fri, 26 Nov 2004 12:16:17 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXjhh-0007ax-Ci
	for classpath@gnu.org; Fri, 26 Nov 2004 12:16:17 -0500
Received: from [207.203.42.3] (helo=STVAVAPPL1.BHMSTV)
	by monty-python.gnu.org with smtp (Exim 4.34)
	id 1CXjXp-0006lC-Ss; Fri, 26 Nov 2004 12:06:06 -0500
Received: from unknown(10.104.145.22) by STVAVAPPL1.BHMSTV via csmap 
	id bfe63d68_3fcb_11d9_97c6_00304811e8c8_13684;
	Fri, 26 Nov 2004 10:53:51 -0600 (CST)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.9) with ESMTP id iAQH2PPC000458; 
	Fri, 26 Nov 2004 11:02:26 -0600 (CST)
	(envelope-from archie@dellroad.org)
Message-ID: <41A761A1.70007@dellroad.org>
Date: Fri, 26 Nov 2004 11:02:25 -0600
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040714
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "C. Brian Jones" <cbj@gnu.org>
References: <41A60D64.8010207@dellroad.org>	
	<200411251914.43413.konqueror@gmx.de>
	<41A625DB.6010405@dellroad.org>	
	<200411252052.03489.konqueror@gmx.de>
	<1101487549.6410.29.camel@fencepost.haphazard.org>
In-Reply-To: <1101487549.6410.29.camel@fencepost.haphazard.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-NAIMIME-Disclaimer: 1
X-NAIMIME-Modified: 1
Cc: classpath@gnu.org, Michael Koch <konqueror@gmx.de>
Subject: Re: Build and install without compiling java files?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 17:16:18 -0000

C. Brian Jones wrote:
>>I think there is no real need for it. It just bloats the source 
>>tarball. All sources are included inside to tarball to build it.
> 
> Actually there is a pretty good reason to have the built classes
> distributed.  The fact is that results vary according to which "free"
> and broken compiler you use to compile Classpath.  None of them really
> pass Jacks that I know of.  New 1.5 features aren't supported anywhere
> in a production ready and easily available compiler (as in is already
> part of a popular distribution), and we thankfully don't include those
> in the main branch yet.
> 
> And actually including the glibj.zip is a very popular thing, at least
> from actual users.  For the rest of us who would rather change or fix
> things it matters very little.  Again this can probably be solved by
> someone with a lot of initiative making something available to easily
> integrate into jpackage environments or the like to handle the actual
> distribution requirements vs. the developer requirements to only ship
> source and no binaries.

For what it's worth, I'm an actual user :-) and would like to see it
remain, along with a ./configure flag added allowing installing it
without rebuilding it. This would particularly help with people using
JC because when people build Classpath with the "wrong" Java compiler,
this causes all the pre-generated C source files that ship with JC to
become invalid and have to be regenerated, which takes a long time.

Thanks,
-Archie

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


*
Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
*




From MAILER-DAEMON Fri Nov 26 12:23:14 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXjoQ-0000fQ-Jy
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 12:23:14 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXjoO-0000f3-No
	for classpath@gnu.org; Fri, 26 Nov 2004 12:23:12 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXjoN-0000ej-Um
	for classpath@gnu.org; Fri, 26 Nov 2004 12:23:12 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXjoN-0000eS-PY
	for classpath@gnu.org; Fri, 26 Nov 2004 12:23:11 -0500
Received: from [212.6.122.18] (helo=mail3.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CXjeE-0008Rg-1w; Fri, 26 Nov 2004 12:12:42 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-94-083.ewetel.net
	[80.228.94.83])
	by mail3.ewetel.de (8.12.1/8.12.9) with ESMTP id iAQHCEYN027243;
	Fri, 26 Nov 2004 18:12:14 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CXkcx-00021d-D7; Fri, 26 Nov 2004 19:15:27 +0100
From: Michael Koch <konqueror@gmx.de>
To: Archie Cobbs <archie@dellroad.org>
Date: Fri, 26 Nov 2004 18:12:13 +0100
User-Agent: KMail/1.6.2
References: <41A60D64.8010207@dellroad.org>
	<1101487549.6410.29.camel@fencepost.haphazard.org>
	<41A761A1.70007@dellroad.org>
In-Reply-To: <41A761A1.70007@dellroad.org>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200411261812.13474.konqueror@gmx.de>
X-CheckCompat: OK
Cc: "C. Brian Jones" <cbj@gnu.org>, classpath@gnu.org
Subject: Re: Build and install without compiling java files?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 17:23:13 -0000

Am Freitag, 26. November 2004 18:02 schrieb Archie Cobbs:
> C. Brian Jones wrote:
> >>I think there is no real need for it. It just bloats the source
> >>tarball. All sources are included inside to tarball to build it.
> >
> > Actually there is a pretty good reason to have the built classes
> > distributed.  The fact is that results vary according to which
> > "free" and broken compiler you use to compile Classpath.  None of
> > them really pass Jacks that I know of.  New 1.5 features aren't
> > supported anywhere in a production ready and easily available
> > compiler (as in is already part of a popular distribution), and
> > we thankfully don't include those in the main branch yet.
> >
> > And actually including the glibj.zip is a very popular thing, at
> > least from actual users.  For the rest of us who would rather
> > change or fix things it matters very little.  Again this can
> > probably be solved by someone with a lot of initiative making
> > something available to easily integrate into jpackage
> > environments or the like to handle the actual distribution
> > requirements vs. the developer requirements to only ship source
> > and no binaries.
>
> For what it's worth, I'm an actual user :-) and would like to see
> it remain, along with a ./configure flag added allowing installing
> it without rebuilding it. This would particularly help with people
> using JC because when people build Classpath with the "wrong" Java
> compiler, this causes all the pre-generated C source files that
> ship with JC to become invalid and have to be regenerated, which
> takes a long time.

What about installation specific files like 
gnu.classpath.Configuration (I think this is the only one 
currently) ? Not all stuff is overwritable. Configuration.DEBUG comes 
to my mind.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Fri Nov 26 12:59:46 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CXkNm-0005Oi-6b
	for mharc-classpath@gnu.org; Fri, 26 Nov 2004 12:59:46 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CXkNk-0005OW-Fg
	for classpath@gnu.org; Fri, 26 Nov 2004 12:59:44 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CXkNj-0005OI-U9
	for classpath@gnu.org; Fri, 26 Nov 2004 12:59:44 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CXkNj-0005OE-M8
	for classpath@gnu.org; Fri, 26 Nov 2004 12:59:43 -0500
Received: from [207.203.42.3] (helo=STVAVAPPL1.BHMSTV)
	by monty-python.gnu.org with smtp (Exim 4.34)
	id 1CXkEQ-0001NN-SJ; Fri, 26 Nov 2004 12:50:07 -0500
Received: from unknown(10.104.145.22) by STVAVAPPL1.BHMSTV via csmap 
	id 28714606_3fd2_11d9_97c6_00304811e8c8_17848;
	Fri, 26 Nov 2004 11:39:43 -0600 (CST)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.9) with ESMTP id iAQHmIPC000531; 
	Fri, 26 Nov 2004 11:48:19 -0600 (CST)
	(envelope-from archie@dellroad.org)
Message-ID: <41A76C62.5080904@dellroad.org>
Date: Fri, 26 Nov 2004 11:48:18 -0600
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040714
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael Koch <konqueror@gmx.de>
References: <41A60D64.8010207@dellroad.org>
	<1101487549.6410.29.camel@fencepost.haphazard.org>
	<41A761A1.70007@dellroad.org> <200411261812.13474.konqueror@gmx.de>
In-Reply-To: <200411261812.13474.konqueror@gmx.de>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-NAIMIME-Disclaimer: 1
X-NAIMIME-Modified: 1
Cc: "C. Brian Jones" <cbj@gnu.org>, classpath@gnu.org
Subject: Re: Build and install without compiling java files?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2004 17:59:44 -0000

Michael Koch wrote:
>>For what it's worth, I'm an actual user :-) and would like to see
>>it remain, along with a ./configure flag added allowing installing
>>it without rebuilding it. This would particularly help with people
>>using JC because when people build Classpath with the "wrong" Java
>>compiler, this causes all the pre-generated C source files that
>>ship with JC to become invalid and have to be regenerated, which
>>takes a long time.
> 
> What about installation specific files like 
> gnu.classpath.Configuration (I think this is the only one 
> currently) ? Not all stuff is overwritable. Configuration.DEBUG comes 
> to my mind.

That's true.. JC uses the default configuration, as do most VM's
I would guess, so the default Configuration.class should work fine.

Hmm... now I see Configuration.CLASSPATH_HOME, which of course will
be different depending on your configured --prefix... that one pretty
much kills the idea I guess.

This could still work if these variables were stored in properties
file within glibj.zip instead of as static final Java constants.
Then this file could be generated during the build and glibj.zip
updated accordingly (via 'zip -r').

However, that might break initialization dependencies, because we'd
have to do Properties.load(Class.getResourceAsStream()) early in
the startup process to get these values.

-Archie

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


*
Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
*




From MAILER-DAEMON Sun Nov 28 15:40:02 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CYVpy-0002oe-Hw
	for mharc-classpath@gnu.org; Sun, 28 Nov 2004 15:40:02 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CYVpw-0002oZ-RG
	for classpath@gnu.org; Sun, 28 Nov 2004 15:40:00 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CYVpw-0002oL-7K
	for classpath@gnu.org; Sun, 28 Nov 2004 15:40:00 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CYVpw-0002oI-5H
	for classpath@gnu.org; Sun, 28 Nov 2004 15:40:00 -0500
Received: from [209.225.28.208] (helo=mxsf08.cluster1.charter.net)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CYVgM-00029Z-7w
	for classpath@gnu.org; Sun, 28 Nov 2004 15:30:06 -0500
Received: from mxip08.cluster1.charter.net (mxip08a.cluster1.charter.net
	[209.225.28.138])
	by mxsf08.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id
	iASKU3ss010820
	for <classpath@gnu.org>; Sun, 28 Nov 2004 15:30:03 -0500
Received: from cable-68-113-94-164.mtv.al.charter.com (HELO
	InterJet.dellroad.org) (68.113.94.164)
	by mxip08.cluster1.charter.net with ESMTP; 28 Nov 2004 15:30:03 -0500
X-Ironport-AV: i="3.87,114,1099285200"; 
	d="scan'208"; a="469318755:sNHT16134572"
Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20])
	by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id OAA67116;
	Sun, 28 Nov 2004 14:21:40 -0600 (CST)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by arch20m.dellroad.org (8.12.9p2/8.12.6) with ESMTP id iASKLdGs034365; 
	Sun, 28 Nov 2004 14:21:40 -0600 (CST)
	(envelope-from archie@dellroad.org)
Message-ID: <41AA3353.6010803@dellroad.org>
Date: Sun, 28 Nov 2004 14:21:39 -0600
From: Archie Cobbs <archie@dellroad.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040714
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: jcvm-general@lists.sourceforge.net
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: JC virtual machine release 1.2.3
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Nov 2004 20:40:01 -0000

Announcing JC virtual machine release 1.2.3.

JC is a Java virtual machine implementation that converts class files
into C source files using the Soot Java bytecode analysis framework,
compiles them with GCC, and loads them using a built-in ELF object
file loader. JC utilizes the GNU Classpath class library and provides
a fairly complete Java runtime including sophisticated optimizations
to increase runtime performance.

     http://jcvm.sourceforge.net/

Changes in version 1.2.3:

     - Added support for stack allocation of non-escaping objects.
     - Added a workaround for the completely broken implementation of
       pthread_create() that exists on certain versions of Linux.
     - Try a GC cycle to recycle fat locks before declaring we've run out.
     - Update return type of JNI function NewObjectArray() to jobjectArray
       from jarray (this was a bug in the older JNI specification).
     - Fix bug in parsing classfile CONSTANT_NameAndType constants.
     - Fixed build problem (e.g., Debian) where 'uname -p' is unsupported.
     - Made ~/.jc_src and ~/.jc_obj defaults for genobj tool.
     - Fixed several miscellaneous Soot bugs.
     - Upgrade to Classpath 0.12.

Cheers,
-Archie

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



From MAILER-DAEMON Mon Nov 29 02:30:04 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CYfz2-0007WD-2e
	for mharc-classpath@gnu.org; Mon, 29 Nov 2004 02:30:04 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CYfyx-0007Us-Po
	for classpath@gnu.org; Mon, 29 Nov 2004 02:29:59 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CYfyw-0007UL-RX
	for classpath@gnu.org; Mon, 29 Nov 2004 02:29:59 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CYfyw-0007UB-Ni
	for classpath@gnu.org; Mon, 29 Nov 2004 02:29:58 -0500
Received: from [217.24.218.112] (helo=werno.com)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.34) id 1CYfpP-0003Ca-JE
	for classpath@gnu.org; Mon, 29 Nov 2004 02:20:07 -0500
Received: from werno.com (localhost.localdomain [127.0.0.1])
	by werno.com (8.12.8/8.12.8) with ESMTP id iAT7BMSr001029
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <classpath@gnu.org>; Mon, 29 Nov 2004 08:11:22 +0100
Received: (from apache@localhost)
	by werno.com (8.12.8/8.12.8/Submit) id iAT7BMh2001026;
	Mon, 29 Nov 2004 08:11:22 +0100
X-Authentication-Warning: werno.com: apache set sender to peter@werno.biz
	using -f
Received: from 193.194.7.159 (SquirrelMail authenticated user peter)
	by mail.werno.com with HTTP; Mon, 29 Nov 2004 08:11:21 +0100 (CET)
Message-ID: <65344.193.194.7.159.1101712281.squirrel@mail.werno.com>
Date: Mon, 29 Nov 2004 08:11:21 +0100 (CET)
From: "Peter Werno" <peter@werno.biz>
To: classpath@gnu.org
User-Agent: SquirrelMail/1.4.1-2
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal
Subject: Compiled & zipped version of classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Nov 2004 07:30:00 -0000

Hello everybody,

as of version 0.11, the releases no longer come with a precompiled
glibj.zip included (or am I just too dumb to find it??). Furthermore, I
have so far failed to get it to compile on any of my machines, especially
as some of the required features/tools are not available on the target
platform that I am developing for.

Can someone please provide me (or others that may need it :) ) with a
compiled classpath? (All I need are the compiled and zipped java classes,
not the c-code)

Many thanks,

Peter



From MAILER-DAEMON Mon Nov 29 02:39:03 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CYg7i-0002Bt-R1
	for mharc-classpath@gnu.org; Mon, 29 Nov 2004 02:39:02 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CYg7g-00029s-TS
	for classpath@gnu.org; Mon, 29 Nov 2004 02:39:00 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CYg7g-00029M-EB
	for classpath@gnu.org; Mon, 29 Nov 2004 02:39:00 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CYg7g-00029E-BT
	for classpath@gnu.org; Mon, 29 Nov 2004 02:39:00 -0500
Received: from [212.6.122.28] (helo=mail4.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CYfyA-0004r7-H0
	for classpath@gnu.org; Mon, 29 Nov 2004 02:29:10 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-93-013.ewetel.net
	[80.228.93.13])
	by mail4.ewetel.de (8.12.1/8.12.9) with ESMTP id iAT7T5wj014036;
	Mon, 29 Nov 2004 08:29:06 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CYgxS-0000Zy-G6; Mon, 29 Nov 2004 09:32:30 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Mon, 29 Nov 2004 08:29:14 +0100
User-Agent: KMail/1.6.2
References: <65344.193.194.7.159.1101712281.squirrel@mail.werno.com>
In-Reply-To: <65344.193.194.7.159.1101712281.squirrel@mail.werno.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200411290829.14523.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: Compiled & zipped version of classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Nov 2004 07:39:01 -0000

Am Montag, 29. November 2004 08:11 schrieb Peter Werno:
> Hello everybody,
>
> as of version 0.11, the releases no longer come with a precompiled
> glibj.zip included (or am I just too dumb to find it??).
> Furthermore, I have so far failed to get it to compile on any of my
> machines, especially as some of the required features/tools are not
> available on the target platform that I am developing for.

I wonder what target that is.

> Can someone please provide me (or others that may need it :) ) with
> a compiled classpath? (All I need are the compiled and zipped java
> classes, not the c-code)

I can. The problem is the class gnu.classpath.Configuration which 
contains installation dependant values. If you want I can generate a 
special glibj.zip for you. Please contact me personally with your 
needed configuration.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Mon Nov 29 05:05:08 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CYiP5-0002ph-GW
	for mharc-classpath@gnu.org; Mon, 29 Nov 2004 05:05:07 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CYiOy-0002p1-P0
	for classpath@gnu.org; Mon, 29 Nov 2004 05:05:04 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CYiOw-0002oA-3a
	for classpath@gnu.org; Mon, 29 Nov 2004 05:04:59 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CYiOv-0002o7-Su
	for classpath@gnu.org; Mon, 29 Nov 2004 05:04:57 -0500
Received: from [132.208.250.6] (helo=anis.telecom.uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CYiFB-0000XR-5p
	for classpath@gnu.org; Mon, 29 Nov 2004 04:54:53 -0500
Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
	by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id iAT7Y2HQ012160;
	Mon, 29 Nov 2004 02:34:26 -0500 (EST)
Received: from antivirus.uqam.ca ([132.208.250.6])
	by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id
	M2004112902371104768 ; Mon, 29 Nov 2004 02:37:11 -0500
Received: from 66.25.internet.uqam.ca (66.25.internet.uqam.ca [132.208.25.66])
	by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id
	iAT7V6e3018036; Mon, 29 Nov 2004 02:31:06 -0500 (EST)
X-Spam-Filter: Filtre-Uqam re:  abuse@uqam.ca
From: "Grzegorz B. Prokopski" <gadek@debian.org>
To: Michael Koch <konqueror@gmx.de>
In-Reply-To: <200411252052.03489.konqueror@gmx.de>
References: <41A60D64.8010207@dellroad.org>
	<200411251914.43413.konqueror@gmx.de> <41A625DB.6010405@dellroad.org>
	<200411252052.03489.konqueror@gmx.de>
Content-Type: text/plain
Message-Id: <1101713446.11648.488.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Mon, 29 Nov 2004 02:30:47 -0500
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Build and install without compiling java files?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Nov 2004 10:05:04 -0000

On Thu, 2004-11-25 at 14:52, Michael Koch wrote:
> Am Donnerstag, 25. November 2004 19:35 schrieb Archie Cobbs:
> > Michael Koch wrote:
> > >>Assuming that this glibj.zip has the default Configuration.java
> > >> and that is acceptable to the builder, why not provide a way to
> > >> configure the build so you can just install glibj.zip as
> > >> shipped?
> > >
> > > I think shipping a glibj.zip is not good. This should be removed
> > > from source tarball.
> >
> > Just curious.. why do you say that?
> 
> I think there is no real need for it. It just bloats the source 
> tarball. All sources are included inside to tarball to build it.

I agree.

As you've just said this is a *source* tarball.  A .zip file containing
.class files definitely does not count as a source.  Altough this way
of distributing is popular in java world, I think it'd be much nicer
to simply have separate *binary* distribution of the glibj.zip.

glibj-0.12.zip anyone?

				Grzegorz B. Prokopski
-- 
Grzegorz B. Prokopski      <gadek@debian.org>
Debian GNU/Linux           http://www.debian.org
SableVM - LGPL'ed Java VM  http://www.sablevm.org
Why SableVM ?!?            http://sablevm.org/wiki/Features





From MAILER-DAEMON Mon Nov 29 05:19:47 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CYidG-0006sA-Hl
	for mharc-classpath@gnu.org; Mon, 29 Nov 2004 05:19:46 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CYidD-0006rp-CU
	for classpath@gnu.org; Mon, 29 Nov 2004 05:19:43 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CYidB-0006rO-Oz
	for classpath@gnu.org; Mon, 29 Nov 2004 05:19:41 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CYidB-0006rK-Fb
	for classpath@gnu.org; Mon, 29 Nov 2004 05:19:41 -0500
Received: from [212.6.122.32] (helo=mail5.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CYiTE-0003HU-Rl
	for classpath@gnu.org; Mon, 29 Nov 2004 05:09:25 -0500
Received: from majestix.konqueror.de (dynadsl-080-228-93-013.ewetel.net
	[80.228.93.13])
	by mail5.ewetel.de (8.12.1/8.12.9) with ESMTP id iATA94aL017015;
	Mon, 29 Nov 2004 11:09:05 +0100 (MET)
Received: from [192.168.1.3] (helo=asterix.konqueror.de)
	by majestix.konqueror.de with esmtp (Exim 4.34)
	id 1CYjSI-0002fl-DS; Mon, 29 Nov 2004 12:12:30 +0100
From: Michael Koch <konqueror@gmx.de>
To: classpath@gnu.org
Date: Mon, 29 Nov 2004 11:09:13 +0100
User-Agent: KMail/1.6.2
References: <41A60D64.8010207@dellroad.org>
	<200411252052.03489.konqueror@gmx.de>
	<1101713446.11648.488.camel@localhost.localdomain>
In-Reply-To: <1101713446.11648.488.camel@localhost.localdomain>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <200411291109.13509.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: Build and install without compiling java files?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Nov 2004 10:19:43 -0000

Am Montag, 29. November 2004 08:30 schrieb Grzegorz B. Prokopski:
> On Thu, 2004-11-25 at 14:52, Michael Koch wrote:
> > Am Donnerstag, 25. November 2004 19:35 schrieb Archie Cobbs:
> > > Michael Koch wrote:
> > > >>Assuming that this glibj.zip has the default
> > > >> Configuration.java and that is acceptable to the builder,
> > > >> why not provide a way to configure the build so you can just
> > > >> install glibj.zip as shipped?
> > > >
> > > > I think shipping a glibj.zip is not good. This should be
> > > > removed from source tarball.
> > >
> > > Just curious.. why do you say that?
> >
> > I think there is no real need for it. It just bloats the source
> > tarball. All sources are included inside to tarball to build it.
>
> I agree.
>
> As you've just said this is a *source* tarball.  A .zip file
> containing .class files definitely does not count as a source. 
> Altough this way of distributing is popular in java world, I think
> it'd be much nicer to simply have separate *binary* distribution of
> the glibj.zip.
>
> glibj-0.12.zip anyone?

And what defaults will you use in gnu.classpath.Configuration ? Some 
stuff is optimized by the compiler based on constants in this class 
during build time. E.g. when Cconfiguration.DEBUG is false all code 
using

if (Configuration.DEBUG) ...

is optimized away. for DEBUG thats not really critical but what about 
INIT_LOAD_LIBRARY. JNI libraries are loaded based on this. When this 
is false the loading code is optimized away.


Michael
-- 
Homepage: http://www.worldforge.org/



From MAILER-DAEMON Mon Nov 29 05:23:32 2004
Received: from mailman by lists.gnu.org with archive (Exim 4.33)
	id 1CYigu-0007Sq-95
	for mharc-classpath@gnu.org; Mon, 29 Nov 2004 05:23:32 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CYigs-0007SP-4c
	for classpath@gnu.org; Mon, 29 Nov 2004 05:23:30 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CYigq-0007S4-LG
	for classpath@gnu.org; Mon, 29 Nov 2004 05:23:29 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CYigq-0007S0-5o
	for classpath@gnu.org; Mon, 29 Nov 2004 05:23:28 -0500
Received: from [212.250.162.8] (helo=mta09-winn.mailhost.ntl.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CYiXL-0004Dw-FN
	for classpath@gnu.org; Mon, 29 Nov 2004 05:13:39 -0500
Received: from aamta02-winn.mailhost.ntl.com ([212.250.162.8])
	by mta09-winn.mailhost.ntl.com with ESMTP id
	<20041129101333.RYUZ29450.mta09-winn.mailhost.ntl.com@aamta02-winn.mailhost.ntl.com>;
	Mon, 29 Nov 2004 10:13:33 +0000
Received: from cuddles.cambridge.redhat.com ([82.16.12.40])
	by aamta02-winn.mailhost.ntl.com with ESMTP id
	<20041129101312.IEJY20377.aamta02-winn.mailhost.ntl.com@cuddles.cambridge.redhat.com>;
	Mon, 29 Nov 2004 10:13:12 +0000
Received: from redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	iATAC7nq008791; Mon, 29 Nov 2004 10:12:17 GMT
Received: (from aph@localhost)
	by redhat.com (8.12.8/8.12.8/Submit) id iATAC6tK008787;
	Mon, 29 Nov 2004 10:12:06 GMT
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16810.62966.131995.507278@cuddles.cambridge.redhat.com>
Date: Mon, 29 Nov 2004 10:12:06 +0000
From: Andrew Haley <aph@redhat.com>
To: "Grzegorz B. Prokopski" <gadek@debian.org>
In-Reply-To: <1101713446.11648.488.camel@localhost.localdomain>
References: <41A60D64.8010207@dellroad.org>
	<200411251914.43413.konqueror@gmx.de>
	<41A625DB.6010405@dellroad.org>
	<200411252052.03489.konqueror@gmx.de>
	<1101713446.11648.488.camel@localhost.localdomain>
X-Mailer: VM 7.14 under Emacs 21.3.50.1
Cc: GNU Classpath <classpath@gnu.org>, Michael Koch <konqueror@gmx.de>
Subject: Re: Build and install without compiling java files?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of the implementation of GNU Classpath libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Nov 2004 10:23:30 -0000

Grzegorz B. Prokopski writes:
 > On Thu, 2004-11-25 at 14:52, Michael Koch wrote:
 > > Am Donnerstag, 25. November 2004 19:35 schrieb Archie Cobbs:
 > > > Michael Koch wrote:
 > > > >>Assuming that this glibj.zip has the default Configuration.java
 > > > >> and that is acceptable to the builder, why not provide a way to
 > > > >> configure the build so you can just install glibj.zip as
 > > > >> shipped?
 > > > >
 > > > > I think shipping a glibj.zip is not good. This should be removed
 > > > > from source tarball.
 > > >
 > > > Just curious.. why do you say that?
 > > 
 > > I think there is no real need for it. It just bloats the source 
 > > tarball. All sources are included inside to tarball to build it.
 > 
 > I agree.
 > 
 > As you've just said this is a *source* tarball.  A .zip file containing
 > .class files definitely does not count as a source.  Altough this way
 > of distributing is popular in java world, I think it'd be much nicer
 > to simply have separate *binary* distribution of the glibj.zip.

Absolutely right.  Binaries have no place in source tarballs, even for
java.

Andrew.



