From MAILER-DAEMON Fri Oct 03 09:13:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A5Pkg-0000Cx-6A
	for mharc-classpath@gnu.org; Fri, 03 Oct 2003 09:13:46 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A5Pkd-0000CH-Du
	for classpath@gnu.org; Fri, 03 Oct 2003 09:13:43 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A5Pk7-0008W5-EE
	for classpath@gnu.org; Fri, 03 Oct 2003 09:13:42 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A5Pk7-0008W2-1A
	for classpath@gnu.org; Fri, 03 Oct 2003 09:13:11 -0400
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 3 Oct 2003 15:11:23 +0200
Content-class: urn:content-classes:message
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC4641@LEMBU.sumatrasoftware.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Recent move of Plain[Datagram]SocketImpl
Thread-Index: AcOJr9hEvgL8orS1SjWn0wMYXQRAnw==
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: <konqueror@gmx.de>
Cc: classpath <classpath@gnu.org>
Subject: Recent move of Plain[Datagram]SocketImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Oct 2003 13:13:44 -0000

Hi Michael,

You recently moved PlainSocketImpl and PlainDatagramSocketImpl to the
gnu package. Is there any particular reason for this? For me this change
is very inconvenient, because my implementations of PlainSocketImpl and
PlainDatagramSocketImpl are written in Java, so I would like them to be
in the same package (to be able to set the protected fields of
SocketImpl and DatagramSocketImpl without using reflection).

Regards,
Jeroen



From MAILER-DAEMON Sat Oct 04 17:06:31 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A5tbj-0001mx-HP
	for mharc-classpath@gnu.org; Sat, 04 Oct 2003 17:06:31 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A5tbg-0001iQ-Hl
	for classpath@gnu.org; Sat, 04 Oct 2003 17:06:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A5tbA-0001Bx-QA
	for classpath@gnu.org; Sat, 04 Oct 2003 17:06:27 -0400
Received: from [139.165.32.78] (helo=serv09.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A5tb4-00019L-UO
	for classpath@gnu.org; Sat, 04 Oct 2003 17:05:51 -0400
Received: (qmail 17148 invoked by uid 504); 4 Oct 2003 23:05:48 +0200
Received: from arnaud.vandyck@ulg.ac.be by serv09.segi.ulg.ac.be by uid 501
	with qmail-scanner-1.16 
	(clamscan: 0.60. spamassassin: 2.55.  Clear:. 
	Processed in 0.473789 secs); 04 Oct 2003 21:05:48 -0000
Received: from unknown (HELO localhost) ([139.165.77.48])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 4 Oct 2003 23:05:47 +0200
Date: Sat, 04 Oct 2003 23:05:45 +0200 (CEST)
Message-Id: <20031004.230545.37222547.arnaud.vandyck@ulg.ac.be>
To: classpath@gnu.org
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Organization: STE-Formations Informatiques, ULg
X-Fingerprint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2
X-URL: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
X-Face: ".{A?<Dzy|V1IPZL0O-B-~G{n+`j%t7K$Y`:u[w54'>P>_0mS1E$Wn4RK&CR)_yvw`),0&;
	?-]upzJvA]->#pP:$si]X039T'Qrd}9t=!EstonSVE1F$dtgGsRC"lyQnP+H6/g:f^d:,0@)P#xCy9?MmW[8n{8B75hA_=]O7TRZ~r9SE6CL*xpR8k4'~!5B8"|u
X-Mailer: Mew version 4.0.58 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Multipart/Signed; protocol="application/pgp-signature";
	micalg=pgp-sha1;
	boundary="--Security_Multipart(Sat_Oct__4_23:05:45_2003_921)--"
Content-Transfer-Encoding: 7bit
Subject: RFC: Spin Java petition
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Oct 2003 21:06:29 -0000

----Security_Multipart(Sat_Oct__4_23:05:45_2003_921)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I've just read an article on Newsforge:
http://newsforge.com/newsforge/03/10/02/1240243.shtml?tid=3

And in a comment, I saw this reference:
http://www.petitiononline.com/spinjava/petition.html

I copy the text below. I did not sign the petition right now because I'd
like to have your comments before doing it (or not!) ;)

Thanks for your attention.

--- START ---

To: Sun Microsystems and Scott McNealy

Firstly, we, Java  developers, give you our most  heartfelt and grateful
thanks. Your  dedication, insight, and  innovation have given  the world
what is the premier platform  for computer programming, and ushered in a
new era of  pervasive computing that will impact  all facets of people's
daily lives  for decades or more to  come. When Sun is  talked about 100
years from today,  it is Java that will be the  main focus of attention,
and rightly so.  It is rare for  a company that started out  as a "mere"
hardware company to  aspire to such immortality, but  by your hard work,
perseverance,  and  tenaciousness  you  have  granted  Sun  a  place  in
history. 

Alas, there now comes a time when  we must consider whether it is in the
best interest of your creation, Java, to be set free. 

Spinning off  Java as part  of a closely  aligned sister company  of Sun
would seal Java's dominance in  programming for the next several decades
and lift  it to heights yet  unseen. As a  parent, I'm sure I  too would
grieve if  my children grew  up and  left, but I  know that this  is the
natural progression of  life, and that they would be  the better off for
it. 

For Java,  the advantages are  clear enough. For example,  parties which
had maintained  a distance  from Java because  of its  relationship with
what  they believe  to be  a threatening  and gigantic  hardware company
would  be  more  likely to  embrace  Java  (e.g.  the Linux  crowd).  In
addition, Sun competitors like IBM, HP,  and BEA would be more likely to
continue to  stick with Java and market  Java if they knew  it would not
benefit a direct competitor. 

Please consider our petition, and thank you again. 

Sincerely,

The Undersigned

--- END ---

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

----Security_Multipart(Sat_Oct__4_23:05:45_2003_921)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

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

iD8DBQA/fzYp4vzFZu62tMIRAt3DAJ9XKF/oa4r7rZBgoOW+LP0lNdvv+QCdFSlD
q/0j2b+3yQFQA6a7JV2JdOI=
=/qWS
-----END PGP SIGNATURE-----

----Security_Multipart(Sat_Oct__4_23:05:45_2003_921)----



From MAILER-DAEMON Sun Oct 05 00:23:40 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A60Ql-0004Bu-NN
	for mharc-classpath@gnu.org; Sun, 05 Oct 2003 00:23:39 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A60Qj-0004Bk-VI
	for classpath@gnu.org; Sun, 05 Oct 2003 00:23:37 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A60QD-00043G-4v
	for classpath@gnu.org; Sun, 05 Oct 2003 00:23:36 -0400
Received: from [24.93.67.84] (helo=ms-smtp-03.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A60QC-000431-PQ
	for classpath@gnu.org; Sun, 05 Oct 2003 00:23:04 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-03.southeast.rr.com (8.12.10/8.12.2) with ESMTP id
	h954KkVx014330; Sun, 5 Oct 2003 00:20:46 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 1B204BE641; Sun,  5 Oct 2003 00:19:08 -0400 (EDT)
Sender: cbj@haphazard.org
To: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
References: <20031004.230545.37222547.arnaud.vandyck@ulg.ac.be>
From: Brian Jones <cbj@gnu.org>
Date: 05 Oct 2003 00:19:08 -0400
In-Reply-To: <20031004.230545.37222547.arnaud.vandyck@ulg.ac.be>
Message-ID: <m3brswuxj7.fsf@lyta.haphazard.org>
Lines: 27
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: RFC: Spin Java petition
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Oct 2003 04:23:38 -0000

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

> Hi,
> 
> I've just read an article on Newsforge:
> http://newsforge.com/newsforge/03/10/02/1240243.shtml?tid=3
> 
> And in a comment, I saw this reference:
> http://www.petitiononline.com/spinjava/petition.html
> 
> I copy the text below. I did not sign the petition right now because I'd
> like to have your comments before doing it (or not!) ;)

Sun has a lot of reorganization to do in order to stop bleeding cash
each quarter.  I don't really care about this petition because what
would really useful is for Sun to 'let go' of Java by releasing the
core development kit/runtime under a free software license as defined
by the FSF; hopefully something gcj could use.

They could actually just release under SCSL and BSD for example,
continue to drive the platform from industry perspective via JCP and
perhaps lighten up the resources devoted to the core platform.  But
don't hold your breath, the IP is probably considered too valuable.

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



From MAILER-DAEMON Sun Oct 05 06:02:34 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A65ij-0004fx-Kk
	for mharc-classpath@gnu.org; Sun, 05 Oct 2003 06:02:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A65if-0004dJ-Nj
	for classpath@gnu.org; Sun, 05 Oct 2003 06:02:29 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A65i7-0003ej-Qi
	for classpath@gnu.org; Sun, 05 Oct 2003 06:02:26 -0400
Received: from [193.74.71.23] (helo=oola.is.kpn.be)
	by monty-python.gnu.org with esmtp (Exim 4.24)
	id 1A65i5-0003WG-HD; Sun, 05 Oct 2003 06:01:53 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by oola.is.kpn.be  with SMTP id h95A1oS17204; 
	Sun, 5 Oct 2003 12:01:50 +0200
Message-Id: <200310051001.h95A1oS17204@oola.is.kpn.be>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: Brian Jones <cbj@gnu.org>, Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Date: Sun, 5 Oct 2003 12:02:58 +0200
X-Mailer: KMail [version 1.3]
References: <20031004.230545.37222547.arnaud.vandyck@ulg.ac.be>
	<m3brswuxj7.fsf@lyta.haphazard.org>
In-Reply-To: <m3brswuxj7.fsf@lyta.haphazard.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: classpath@gnu.org
Subject: Re: RFC: Spin Java petition
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Oct 2003 10:02:31 -0000


I was actually contemplating the idea of an open letter to Arnold Gosling. It 
wouldn't have looked like this petition though, much more like what Brian is 
saying. Spinning off Java into a business unit is just irrelevant (isn't that 
what javasoft.com was supposed to be anyway).

I think the message that needs to be got across is that the status of Sun's 
Java source code is not the real issue - there are open-source alternatives 
already. What needs to be opened up is the testing and licensing issue, so 
that open source (and other independent) implementations can compete fairly 
with Sun licensees and JCP sycophants.

Brian is probably right that the IP probably has a high book value, based on 
the amount of money that Sun has poured into it over the years. Well, at a 
certain moment they're going to have to reassess that value, and admit to 
themselves that actually it ain't worth all that much. A lot of doing 
business is about knowing when to write off a loss.

Maybe we could thrash something out here and make a Statement in Saarbruecken?

Up the revolution!

Chris

On Sunday 05 October 2003 06:19, Brian Jones wrote:
> Arnaud Vandyck <arnaud.vandyck@ulg.ac.be> writes:
> > Hi,
> >
> > I've just read an article on Newsforge:
> > http://newsforge.com/newsforge/03/10/02/1240243.shtml?tid=3
> >
> > And in a comment, I saw this reference:
> > http://www.petitiononline.com/spinjava/petition.html
> >
> > I copy the text below. I did not sign the petition right now because I'd
> > like to have your comments before doing it (or not!) ;)
>
> Sun has a lot of reorganization to do in order to stop bleeding cash
> each quarter.  I don't really care about this petition because what
> would really useful is for Sun to 'let go' of Java by releasing the
> core development kit/runtime under a free software license as defined
> by the FSF; hopefully something gcj could use.
>
> They could actually just release under SCSL and BSD for example,
> continue to drive the platform from industry perspective via JCP and
> perhaps lighten up the resources devoted to the core platform.  But
> don't hold your breath, the IP is probably considered too valuable.
>
> Brian

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



From MAILER-DAEMON Sun Oct 05 06:26:18 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A665d-00013l-UC
	for mharc-classpath@gnu.org; Sun, 05 Oct 2003 06:26:13 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A665Z-00011g-Iy
	for classpath@gnu.org; Sun, 05 Oct 2003 06:26:09 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A664t-0000jL-S6
	for classpath@gnu.org; Sun, 05 Oct 2003 06:25:59 -0400
Received: from [213.228.0.44] (helo=postfix3-1.free.fr)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A664l-0000hE-UC
	for classpath@gnu.org; Sun, 05 Oct 2003 06:25:20 -0400
Received: from kaffe.org (cachan-3-82-66-125-112.fbx.proxad.net
	[82.66.125.112])
	by postfix3-1.free.fr (Postfix) with ESMTP id 2E781C4212
	for <classpath@gnu.org>; Sun,  5 Oct 2003 12:25:14 +0200 (CEST)
Message-ID: <3F7FF181.6030109@kaffe.org>
Date: Sun, 05 Oct 2003 12:25:05 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Classpath List <classpath@gnu.org>
X-Enigmail-Version: 0.73.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Modular DNS resolution
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Oct 2003 10:26:10 -0000

Hi !

I would like to introduce in classpath a concept which used to be in 
kaffe but was recently removed because of the merging with classes from 
classpath: DNS solver modularity. Previously it was possible to specify 
to kaffe (using -Ddns.resolve=class or something like this). That used 
to give an advantage: use a native method (using e.g. gethostbyname) or 
a Java method to resolve internet name. The java method is already 
implemented and we can get a lot of other useful insights to resolved 
name than we can get with gethostbyname. As the code to add if fairly 
simple (add an interface and a if branch at class initialization), I 
think it can be added painlessly.

Anyway if you are furiously against it (;-)) just tell me so it can be 
discussed...

Cheers,
Guilhem.




From MAILER-DAEMON Sun Oct 05 12:04:24 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A6BMt-0005jC-GK
	for mharc-classpath@gnu.org; Sun, 05 Oct 2003 12:04:23 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A6BMq-0005iY-EF
	for classpath@gnu.org; Sun, 05 Oct 2003 12:04:20 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A6BMJ-0005Wu-Np
	for classpath@gnu.org; Sun, 05 Oct 2003 12:04:18 -0400
Received: from [212.6.122.116] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A6BMJ-0005Wd-7e
	for classpath@gnu.org; Sun, 05 Oct 2003 12:03:47 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-75-208.ewetel.net
	[80.228.75.208])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id h95G3hEK019334;
	Sun, 5 Oct 2003 18:03:44 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1A6BMF-0001Cf-00; Sun, 05 Oct 2003 18:03:43 +0200
From: Michael Koch <konqueror@gmx.de>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
Date: Sun, 5 Oct 2003 18:06:23 +0200
User-Agent: KMail/1.5.2
References: <788B535AB1F9CB49BB9C229372B50ACC4641@LEMBU.sumatrasoftware.com>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC4641@LEMBU.sumatrasoftware.com>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Description: clearsigned data
Content-Disposition: inline
Message-Id: <200310051806.27034.konqueror@gmx.de>
X-CheckCompat: OK
Cc: classpath <classpath@gnu.org>
Subject: Re: Recent move of Plain[Datagram]SocketImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Oct 2003 16:04:21 -0000

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

Am Freitag, 3. Oktober 2003 15:11 schrieb Jeroen Frijters:
> Hi Michael,
>
> You recently moved PlainSocketImpl and PlainDatagramSocketImpl to
> the gnu package. Is there any particular reason for this? For me
> this change is very inconvenient, because my implementations of
> PlainSocketImpl and PlainDatagramSocketImpl are written in Java, so
> I would like them to be in the same package (to be able to set the
> protected fields of SocketImpl and DatagramSocketImpl without using
> reflection).

Well the special reason was to use these two classes from java.nio. To=20
make this possible it was needed to make this classes public. Making=20
them public in java.net would violate the JDK API compliance of=20
classpath and libgcj.


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

iD8DBQE/gEGCWSOgCCdjSDsRAjQCAJ9dEotx1+CcoOUP+bZ0Kkms5OP8PACfbIov
ztizoO7MrDGNlVadROGJSWY=3D
=3DsiL+
=2D----END PGP SIGNATURE-----




From MAILER-DAEMON Sun Oct 05 13:34:42 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A6CmI-0008OA-1M
	for mharc-classpath@gnu.org; Sun, 05 Oct 2003 13:34:42 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A6CmG-0008KY-4c
	for classpath@gnu.org; Sun, 05 Oct 2003 13:34:40 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A6Clj-0007q5-TQ
	for classpath@gnu.org; Sun, 05 Oct 2003 13:34:38 -0400
Received: from [212.6.122.106] (helo=mail1.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A6Clj-0007pj-D5
	for classpath@gnu.org; Sun, 05 Oct 2003 13:34:07 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-74-230.ewetel.net
	[80.228.74.230])
	by mail1.ewetel.de (8.12.1/8.12.9) with ESMTP id h95HXWeo027475;
	Sun, 5 Oct 2003 19:33:34 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1A6ClA-0002nT-00; Sun, 05 Oct 2003 19:33:32 +0200
From: Michael Koch <konqueror@gmx.de>
To: Guilhem Lavaux <guilhem@kaffe.org>, Classpath List <classpath@gnu.org>
Date: Sun, 5 Oct 2003 19:36:14 +0200
User-Agent: KMail/1.5.2
References: <3F7FF181.6030109@kaffe.org>
In-Reply-To: <3F7FF181.6030109@kaffe.org>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Description: clearsigned data
Content-Disposition: inline
Message-Id: <200310051936.18793.konqueror@gmx.de>
X-CheckCompat: OK
Cc: 
Subject: Re: Modular DNS resolution
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Oct 2003 17:34:40 -0000

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

Am Sonntag, 5. Oktober 2003 12:25 schrieb Guilhem Lavaux:
> Hi !
>
> I would like to introduce in classpath a concept which used to be
> in kaffe but was recently removed because of the merging with
> classes from classpath: DNS solver modularity. Previously it was
> possible to specify to kaffe (using -Ddns.resolve=3Dclass or
> something like this). That used to give an advantage: use a native
> method (using e.g. gethostbyname) or a Java method to resolve
> internet name. The java method is already implemented and we can
> get a lot of other useful insights to resolved name than we can get
> with gethostbyname. As the code to add if fairly simple (add an
> interface and a if branch at class initialization), I think it can
> be added painlessly.
>
> Anyway if you are furiously against it (;-)) just tell me so it can
> be discussed...

Thats generally nice but before you start anything I would like to=20
merge some java.net stuff (mainly InetAddress) with libgcj.


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

iD8DBQE/gFaSWSOgCCdjSDsRAlC9AJ41CA0dxIFQoQaKaoNAoI298tFTCQCgj1LP
UCXSFOOut1hzUMc78cq1L1A=3D
=3Dipv/
=2D----END PGP SIGNATURE-----




From MAILER-DAEMON Sun Oct 05 18:26:18 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A6HKN-0003hx-Rx
	for mharc-classpath@gnu.org; Sun, 05 Oct 2003 18:26:11 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A6HKI-0003VT-Or
	for classpath@gnu.org; Sun, 05 Oct 2003 18:26:06 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A6HJc-0002G0-CA
	for classpath@gnu.org; Sun, 05 Oct 2003 18:25:55 -0400
Received: from [210.55.57.198] (helo=server.flinders.co.nz)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1A6HJb-0002Ex-HZ
	for classpath@gnu.org; Sun, 05 Oct 2003 18:25:23 -0400
Received: from [192.168.0.191] by server.flinders.co.nz (AppleMailServer
	10.2.3.0) id 75013 via TCP with SMTP; Mon, 06 Oct 2003 11:34:06 +1300
Date: Mon, 6 Oct 2003 11:28:57 +1300
Content-Type: text/plain; charset=US-ASCII; format=flowed
Mime-Version: 1.0 (Apple Message framework v552)
To: Guilhem Lavaux <guilhem@kaffe.org>
From: Bryce McKinlay <bryce@mckinlay.net.nz>
In-Reply-To: <3F7FF181.6030109@kaffe.org>
Message-Id: <4F239448-F783-11D7-BE22-003065F97F7C@mckinlay.net.nz>
Content-Transfer-Encoding: 7bit
X-Mailer: Apple Mail (2.552)
Cc: Classpath List <classpath@gnu.org>
Subject: Re: Modular DNS resolution
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Oct 2003 22:26:10 -0000

On Sunday, Oct 5, 2003, at 23:25 Pacific/Auckland, Guilhem Lavaux wrote:

> I would like to introduce in classpath a concept which used to be in 
> kaffe but was recently removed because of the merging with classes 
> from classpath: DNS solver modularity. Previously it was possible to 
> specify to kaffe (using -Ddns.resolve=class or something like this). 
> That used to give an advantage: use a native method (using e.g. 
> gethostbyname) or a Java method to resolve internet name. The java 
> method is already implemented and we can get a lot of other useful 
> insights to resolved name than we can get with gethostbyname. As the 
> code to add if fairly simple (add an interface and a if branch at 
> class initialization), I think it can be added painlessly.

I think we want to stick with always using the OS's gethostbyname(). 
This ensures that the OS settings for name resolution get respected by 
Java - I suspect things like /etc/hosts, and other name resolution 
schemes like zeroconf/rendevous, etc may not get recognized by a Java 
resolver without additional Java-specific configuration.

The "additional insights" would certainly be useful for applications 
that need to integrate tightly with DNS, however I don't think it would 
be useful or neccessary to put this inside InetAddress itself - no more 
information can be obtained given the existing InetAddress interface, 
right?

Surely it would be better to put this code in its own class under gnu.* 
somewhere? Note that external resolvers can now easily create 
InetAddress objects using the JDK 1.4 getByAddress() methods, which are 
already implemented in classpath.

Regards

Bryce.





From MAILER-DAEMON Mon Oct 06 11:13:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A6X3K-0001ts-BC
	for mharc-classpath@gnu.org; Mon, 06 Oct 2003 11:13:38 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A6X3I-0001tF-Cx
	for classpath@gnu.org; Mon, 06 Oct 2003 11:13:36 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A6X2m-0001fx-Ea
	for classpath@gnu.org; Mon, 06 Oct 2003 11:13:35 -0400
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A6X2l-0001ff-SF
	for classpath@gnu.org; Mon, 06 Oct 2003 11:13:04 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 1A6X2k-00065f-00
	for <classpath@gnu.org>; Mon, 06 Oct 2003 17:13:02 +0200
Received: from mpiat2305.ag2.mpi-sb.mpg.de
	([139.19.20.94] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1A6X2h-000656-00; Mon, 06 Oct 2003 17:12:59 +0200
Message-ID: <3F81867B.90508@kaffe.org>
Date: Mon, 06 Oct 2003 17:12:59 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Bryce McKinlay <bryce@mckinlay.net.nz>
References: <4F239448-F783-11D7-BE22-003065F97F7C@mckinlay.net.nz>
In-Reply-To: <4F239448-F783-11D7-BE22-003065F97F7C@mckinlay.net.nz>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: Classpath List <classpath@gnu.org>
Subject: Re: Modular DNS resolution
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Oct 2003 15:13:36 -0000

Hi Bryce,

Bryce McKinlay wrote:
> On Sunday, Oct 5, 2003, at 23:25 Pacific/Auckland, Guilhem Lavaux wrote:

> I think we want to stick with always using the OS's gethostbyname(). 
> This ensures that the OS settings for name resolution get respected by 
> Java - I suspect things like /etc/hosts, and other name resolution 
> schemes like zeroconf/rendevous, etc may not get recognized by a Java 
> resolver without additional Java-specific configuration.

citing from the documentation for dnsjava on 
http://www.xbill.org/dnsjava/README :

Limitations:

There's no way to determine what the local nameserver is at runtime from 
within
the JVM.  First, the property 'dns.server' (a comma delimited list) is
checked.  These can either be IP addresses or hostnames (which are resolved
using Java's built in DNS support).  If the underlying OS is unix-based, the
dnsjava package can parse /etc/resolv.conf and determine the 
nameservers.  If
the underlying OS is Windows, winipcfg/ipconfig can be called and the output
parsed.  Note that this may fail for non-English versions of Windows.
Otherwise, or if these attempts fail, the default nameserver is
"localhost".  This is unavoidable.  Unfortunately, I have no idea how to
determine the nameserver for any other OSes.  Contributions of code
are welcome (see org/xbill/DNS/FindServer.java for the basic structure).

I don't know much about DNS resolution, but it sounds to me that the 
implementation cares about OS specific settings.

> The "additional insights" would certainly be useful for applications 
> that need to integrate tightly with DNS, however I don't think it would 
> be useful or neccessary to put this inside InetAddress itself - no more 
> information can be obtained given the existing InetAddress interface, 
> right?

I guess so.

> Surely it would be better to put this code in its own class under gnu.* 
> somewhere? Note that external resolvers can now easily create 
> InetAddress objects using the JDK 1.4 getByAddress() methods, which are 
> already implemented in classpath.

I'd prefer to move actual DNS resolution into its own VM-specific class, 
with the implementation being selectable by a system property.

That way, the traditional approach, to call the native platform's 
gethostbyname() can be capsuled in it's own class, but also allow those 
with specific needs (think bare-metal embedded systems, or VMs that 
don't have the need for native methods) to use a pure java way of doing 
DNS resolution. It wouldn't require putting the actual dnsjava code into 
Classpath's repository, or submitting it to FSF, but would allow users 
of Classpath to use it if they wish.

For the way it worked in kaffe, take a look at 
http://www.kaffe.org/doc/kaffe/FAQ.dns .

cheers,
dalibor topic




From MAILER-DAEMON Mon Oct 06 12:04:28 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A6XqW-0004ou-Fm
	for mharc-classpath@gnu.org; Mon, 06 Oct 2003 12:04:28 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A6XqT-0004oB-UJ
	for classpath@gnu.org; Mon, 06 Oct 2003 12:04:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A6Xpx-0004kf-JC
	for classpath@gnu.org; Mon, 06 Oct 2003 12:04:24 -0400
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A6Xpx-0004kZ-8M
	for classpath@gnu.org; Mon, 06 Oct 2003 12:03:53 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 1A6Xpw-00080M-00
	for <classpath@gnu.org>; Mon, 06 Oct 2003 18:03:52 +0200
Received: from mpiat2305.ag2.mpi-sb.mpg.de
	([139.19.20.94] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1A6Xpr-0007yS-00; Mon, 06 Oct 2003 18:03:47 +0200
Message-ID: <3F819262.3030202@kaffe.org>
Date: Mon, 06 Oct 2003 18:03:46 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Chris Gray <chris@kiffer.eunet.be>
References: <20031004.230545.37222547.arnaud.vandyck@ulg.ac.be>	<m3brswuxj7.fsf@lyta.haphazard.org>
	<200310051001.h95A1oS17204@oola.is.kpn.be>
In-Reply-To: <200310051001.h95A1oS17204@oola.is.kpn.be>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: Brian Jones <cbj@gnu.org>, classpath@gnu.org
Subject: Re: RFC: Spin Java petition
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Oct 2003 16:04:26 -0000

Hi Chris,

Chris Gray wrote:
> I was actually contemplating the idea of an open letter to Arnold Gosling. It 
> wouldn't have looked like this petition though, much more like what Brian is 
> saying. Spinning off Java into a business unit is just irrelevant (isn't that 
> what javasoft.com was supposed to be anyway).

Yep, the future of Sun's business is a matter of discussion for their 
shareholders. Even if Sun rolls over and dies tomorrow, Java as a 
language, set of APIs, and a VM is here to stay with us for a while. In 
any case, Classpath won;t run out of things to implement that soon. ;)

> I think the message that needs to be got across is that the status of Sun's 
> Java source code is not the real issue - there are open-source alternatives 
> already. What needs to be opened up is the testing and licensing issue, so 
> that open source (and other independent) implementations can compete fairly 
> with Sun licensees and JCP sycophants.

Exactly. That's the most valuable thing Sun could do to help the free 
java community, and make sure Java continues to prosper even if sun goes 
down.

cheers,
dalibor topic




From MAILER-DAEMON Mon Oct 06 13:04:57 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A6Ymy-0006Dt-G2
	for mharc-classpath@gnu.org; Mon, 06 Oct 2003 13:04:52 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A6Ymv-0006Ay-06
	for classpath@gnu.org; Mon, 06 Oct 2003 13:04:49 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A6YmD-0005Kq-Te
	for classpath@gnu.org; Mon, 06 Oct 2003 13:04:37 -0400
Received: from [193.74.71.22] (helo=guri.is.kpn.be)
	by monty-python.gnu.org with esmtp (Exim 4.24)
	id 1A6YmA-00059l-SQ; Mon, 06 Oct 2003 13:04:02 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by guri.is.kpn.be  with SMTP id h96H3vZ10745; 
	Mon, 6 Oct 2003 19:03:57 +0200
Message-Id: <200310061703.h96H3vZ10745@guri.is.kpn.be>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: Dalibor Topic <robilad@kaffe.org>
Date: Mon, 6 Oct 2003 19:04:41 +0200
X-Mailer: KMail [version 1.3]
References: <20031004.230545.37222547.arnaud.vandyck@ulg.ac.be>
	<200310051001.h95A1oS17204@oola.is.kpn.be>
	<3F819262.3030202@kaffe.org>
In-Reply-To: <3F819262.3030202@kaffe.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: Brian Jones <cbj@gnu.org>, classpath@gnu.org
Subject: Re: RFC: Spin Java petition
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Oct 2003 17:04:51 -0000

On Monday 06 October 2003 18:03, Dalibor Topic wrote:
> Hi Chris,
>
> Chris Gray wrote:
> > I was actually contemplating the idea of an open letter to Arnold
> > Gosling. It wouldn't have looked like this petition though, much more
> > like what Brian is saying. Spinning off Java into a business unit is just
> > irrelevant (isn't that what javasoft.com was supposed to be anyway).
>
> Yep, the future of Sun's business is a matter of discussion for their
> shareholders. Even if Sun rolls over and dies tomorrow, Java as a
> language, set of APIs, and a VM is here to stay with us for a while. In
> any case, Classpath won;t run out of things to implement that soon. ;)

Wll yes, I think that rumours of the Death of Java (and of Sun for that 
matter) are somewhat exaggerated, and in the end it'll be film at 11. But the 
"should Java be open source" debate precedes the current flap, see e.g. 
<http://www.computerworld.com/developmenttopics/development/java/story/0,10801,82157,00.html>. 
Maybe the Open Source Java Community (i.e. we) could choose this time to 
state what _we_ think are the real issues ...

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



From MAILER-DAEMON Mon Oct 06 17:59:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A6dOK-0006mR-8A
	for mharc-classpath@gnu.org; Mon, 06 Oct 2003 17:59:44 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A6dOH-0006lA-JD
	for classpath@gnu.org; Mon, 06 Oct 2003 17:59:41 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A6dNk-0006S3-TD
	for classpath@gnu.org; Mon, 06 Oct 2003 17:59:40 -0400
Received: from [80.91.224.249] (helo=main.gmane.org)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A6dNk-0006R8-2c
	for classpath@gnu.org; Mon, 06 Oct 2003 17:59:08 -0400
Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian))
	id 1A6dNi-0007l0-00
	for <classpath@gnu.org>; Mon, 06 Oct 2003 23:59:06 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: classpath@gnu.org
Received: from sea.gmane.org ([80.91.224.252])
	by main.gmane.org with esmtp (Exim 3.35 #1 (Debian))
	id 1A6dNh-0007ks-00
	for <gmane-comp-java-classpath-devel@m.gmane.org>;
	Mon, 06 Oct 2003 23:59:05 +0200
Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian))
	id 1A6dNh-0000UN-00
	for <gmane-comp-java-classpath-devel@m.gmane.org>;
	Mon, 06 Oct 2003 23:59:05 +0200
From: graydon hoare <graydon@redhat.com>
Date: 06 Oct 2003 17:59:07 -0400
Lines: 95
Message-ID: <87brsu58pg.fsf@dub.venge.net>
References: <87r82fton1.fsf@dub.venge.net>
	<20030918134128.23500@smtp.mail.ch.easynet.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: usenet@sea.gmane.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Sender: news <news@sea.gmane.org>
Subject: Re: extended peers
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Oct 2003 21:59:42 -0000

Sascha Brawer <brawer@dandelis.ch> writes:

> Hi Graydon,

hi. sorry I've taken 2 weeks to respond to this; I've been busy off
implementing a new font-access and glyph rendering system in cairo :)

> GH> (1) Font constructors [...]
> GH> (2) [static] Font.createFont, Font.decode, Font.getFont [...]
> GH> (3) Font.deriveFont [...]
> GH>
> GH> my inclination is to call peer-returning factory methods on the
> GH> Toolkit in case (1), call Font-returning factory methods on the
> GH> Toolkit in case (2), and to call a method *on the peer* in case (3).
> 
> Case (1): Agreed.
> 
> Case (2): So, you're retracting the statement that font-related
> factory methods should produce a ClasspathFontPeer instead of a
> java.awt.Font? I think either way is fine. Presumably, producing
> Font might lead to a cleaner code structure, while producing
> ClasspathFontPeer to less duplication of code between toolkits. At
> the current stage, I'd prefer simplicity (i.e., producing Fonts).

I think I probably blurred the cases in that statement. I meant to
point out that there are two significantly different sets of factory
methods we're going to put on the ClasspathToolkit, forced on us by
two separate technical concerns:

   - those factory methods called from Font, in a Font(...)
     constructor. they can *only* return ClasspathFontPeers, since
     they cannot influence the identity of the Font object being
     constructed. they have no option. it's not a matter of design or
     debate. this is the first case I pointed out in my earlier email,
     which you're asking about above.

   - those factory methods called from some other method or static
     function in the Font class namespace (deriveFont, createFont,
     whatever). in this case, as you've pointed out, it'd be nice to
     let the toolkit influence whether the resulting Font object
     implements OpenType or MultipleMaster, so the factory method
     should return a Font.

of these, the latter case actually has a (possible) subcase, in the
"deriveFont" method. as you've correctly noted (see below), this
subcase is not necessarily important. I thought I'd include it for
completeness.

> Case (3): I wonder whether this wouldn't make the peer interface
> unnecessarily complicated. Since the static getFont(Map) method
> needs to be supported anyway, I believe the following implementation
> for deriveFont should do it. Or am I missing a reason why any
> toolkit would want to override this?

(re: particular toolkit overriding the meaning of deriveFont, case 3)

I can (vaguely) imagine some toolkits may want to override the meaning
of deriveFont. there is -- in some fonts -- a way of interpreting
"derive new font from old font" as a native call on an *existing*
native font object, rather than "getting a new font object", which I
think native peers might wish to use. a small point perhaps, and
you're probably right that for now it can be implemented either way
without making anyone upset. it is unlikely to disturb the interface
much if someone in the future insists it be moved from toolkit to
peer.

> Ah, I didn't mean to suggest storing anything besides point size,
> transform, attribute map and peer in the font. For example, the
> italic angle for the unscaled/untransformed font would be retrieved
> via some platform-specific font ID. That ID would be stored inside
> the peer, not inside the font.

I don't really like the notion of spreading font state out between
multiple objects, by design. my proposal is to have a Font *only*
contain a reference to its peer, and forward all state accessor
functions to the peer. the decision of which state to "design in" to
which object (font vs. peer) is going to be arbitrary, and is just as
likely to be unsatisfactory as satisfactory, for any particular native
font library.

I would prefer this be left to the implementor of a particular
peer. if they want to share state, they can. it's always possible to
split a peer in half (shared / unshared) at some "natural" boundary
that makes sense for a particular library, but I think it will be a
different boundary for each font library.  some will have
transformations in the native library, some will not.

anyways.. we seem to be mostly converging on a design, which is good;
I'd like to get code in which actually "works" in some operational
sense with both your font system and mine. do you mind if I implement
something based on what we've discussed, and modify later to suit any
remaining nits?

-graydon





From MAILER-DAEMON Tue Oct 07 14:56:06 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A6x0A-0007xx-8X
	for mharc-classpath@gnu.org; Tue, 07 Oct 2003 14:56:06 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A6x07-0007xS-Ac
	for classpath@gnu.org; Tue, 07 Oct 2003 14:56:03 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A6wsY-0005OT-O9
	for classpath@gnu.org; Tue, 07 Oct 2003 14:48:45 -0400
Received: from [213.46.255.13] (helo=viefep14-int.chello.at)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A6wrC-0004sB-Do
	for classpath@gnu.org; Tue, 07 Oct 2003 14:46:50 -0400
Received: from 6-allhosts ([80.109.234.144]) by viefep14-int.chello.at
	(InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP
	id <20031007184647.EGKM8136.viefep14-int.chello.at@6-allhosts>
	for <classpath@gnu.org>; Tue, 7 Oct 2003 20:46:47 +0200
From: Joseph Wenninger <jowenn@kde.org>
To: classpath@gnu.org
Content-Type: text/plain
Message-Id: <1065552402.2627.28.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Tue, 07 Oct 2003 20:46:44 +0200
Content-Transfer-Encoding: 7bit
Subject: porting to another jvm/jit
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Oct 2003 18:56:04 -0000

Hi

I'm porting a jvm/jit for a university project to the gnu classpath,
since it is nearly impossible to support the sun jre, if you can't sign
the sun community license, and  therefor don't have the sun-namespaces
sources.

I have done a quick hack for testing purposes, but how would I cleanly
integrate the classpath? My question is, how other jvm developers cope
with the the VM*.c files ? Do they have to be in the classpath
hierarchy, or can I somehow create a static classpath lib and than link
that one against my own, which contains the VM specific implementations
?



Off-topic:
By the way, we would like to support jdk 1.2 class files (major 45,
minor 3). I tried to compile the classpath with jikes -source 1.2
-target 1.2, but it looks like jikes 1.18 doesn't really work with that.
Did anybody try that ? Is there another usable compiler for jre 1.2
compatible class files ?  With jikes I get wrong
[Field|Method|InterfaceMethod]Ref infos structures for many classes,
they point into the constant pool to array constants instead of object
constants. According to my knowledge that's wrong.
Could it be a problem of how the classpath is compiled ?




I'm using the 0.06 tarball

Thanks in advance for any information/help

Kind regards
Joseph Wenninger




From MAILER-DAEMON Tue Oct 07 16:00:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A6y0Y-0002Cx-TZ
	for mharc-classpath@gnu.org; Tue, 07 Oct 2003 16:00:34 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A6y0S-000270-LK
	for classpath@gnu.org; Tue, 07 Oct 2003 16:00:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A6xzk-0001sd-Ku
	for classpath@gnu.org; Tue, 07 Oct 2003 16:00:15 -0400
Received: from [132.206.3.88] (helo=relay10.cs.mcgill.ca)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A6xwl-0000er-OA
	for classpath@gnu.org; Tue, 07 Oct 2003 15:56:39 -0400
Received: from pinto.cs.mcgill.ca (pinto.CS.McGill.CA [132.206.3.79])
	by relay10.cs.mcgill.ca (Postfix) with ESMTP id 3301D536F37;
	Tue,  7 Oct 2003 15:56:36 -0400 (EDT)
Received: from pinto.cs.mcgill.ca (dbelan2@localhost [127.0.0.1])
	by pinto.cs.mcgill.ca (8.12.3/8.12.3/Debian-6.6) with ESMTP id
	h97JuZTW017368; Tue, 7 Oct 2003 15:56:36 -0400
Received: (from dbelan2@localhost)
	by pinto.cs.mcgill.ca (8.12.3/8.12.3/Debian-6.6) id h97JuR0o017366;
	Tue, 7 Oct 2003 15:56:27 -0400
Date: Tue, 7 Oct 2003 15:56:27 -0400
From: David =?iso-8859-1?Q?B=E9langer?= <dbelan2@cs.mcgill.ca>
To: Joseph Wenninger <jowenn@kde.org>
Message-ID: <20031007195627.GA17337@pinto.cs.mcgill.ca>
References: <1065552402.2627.28.camel@localhost>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <1065552402.2627.28.camel@localhost>
User-Agent: Mutt/1.3.28i
Content-Transfer-Encoding: quoted-printable
Cc: classpath@gnu.org
Subject: Re: porting to another jvm/jit
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Oct 2003 20:00:33 -0000

On Tue, Oct 07, 2003 at 08:46:44PM +0200, Joseph Wenninger wrote:
> Hi
>=20
> I'm porting a jvm/jit for a university project to the gnu classpath,
> since it is nearly impossible to support the sun jre, if you can't sign
> the sun community license, and  therefor don't have the sun-namespaces
> sources.
>=20
> I have done a quick hack for testing purposes, but how would I cleanly
> integrate the classpath? My question is, how other jvm developers cope
> with the the VM*.c files ? Do they have to be in the classpath
> hierarchy, or can I somehow create a static classpath lib and than link
> that one against my own, which contains the VM specific implementations
> ?

In SableVM, all the VM specific java_lang_VM*.c are located in the
SableVM source tree and are compiled with the other SableVM code.  Most o=
f
these need accesses to internal data structures and functions.

David

>=20
>=20
>=20
> Off-topic:
> By the way, we would like to support jdk 1.2 class files (major 45,
> minor 3). I tried to compile the classpath with jikes -source 1.2
> -target 1.2, but it looks like jikes 1.18 doesn't really work with that=
.
> Did anybody try that ? Is there another usable compiler for jre 1.2
> compatible class files ?  With jikes I get wrong
> [Field|Method|InterfaceMethod]Ref infos structures for many classes,
> they point into the constant pool to array constants instead of object
> constants. According to my knowledge that's wrong.
> Could it be a problem of how the classpath is compiled ?
>=20
>=20
>=20
>=20
> I'm using the 0.06 tarball
>=20
> Thanks in advance for any information/help
>=20
> Kind regards
> Joseph Wenninger
>=20
>=20
>=20
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath

--=20

---

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

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




From MAILER-DAEMON Tue Oct 07 20:40:09 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A72N5-0006Sl-O6
	for mharc-classpath@gnu.org; Tue, 07 Oct 2003 20:40:07 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A72N0-0006J5-0L
	for classpath@gnu.org; Tue, 07 Oct 2003 20:40:02 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A72KL-0003xD-Vm
	for classpath@gnu.org; Tue, 07 Oct 2003 20:37:50 -0400
Received: from [207.219.125.105] (helo=touchme.toronto.redhat.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A72K4-0003WA-Tc
	for classpath@gnu.org; Tue, 07 Oct 2003 20:37:01 -0400
Received: from tortoise.toronto.redhat.com (tortoise.toronto.redhat.com
	[172.16.14.92]) by touchme.toronto.redhat.com (Postfix) with ESMTP
	id AEB69800391; Tue,  7 Oct 2003 20:36:59 -0400 (EDT)
From: Thomas Fitzsimmons <fitzsim@redhat.com>
To: classpath@gnu.org
Content-Type: multipart/mixed; boundary="=-pY6CMz+Q1OuqNeCZ52s2"
Message-Id: <1065573419.16992.96.camel@tortoise.toronto.redhat.com>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-1) 
Date: Tue, 07 Oct 2003 20:36:59 -0400
Cc: java-patches@gcc.gnu.org
Subject: Patch: Eliminate GTK peer compiler warnings
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Oct 2003 00:40:03 -0000


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

Hello,

GCC emits many warnings when it is compiling the GTK peers.  Most of the
warnings are for unused parameters which must be present to satisfy JNI
and GTK interface requirements (e.g. the JNIEnv pointer and GTK callback
parameters).

This patch flags these parameters as "unused" using GCC's __attribute__
extension.  It provides a fall-back for compilers that don't support
attributes.  The patch also contains fixes that eliminate all other
compiler warnings in the GTK peers.

Any objections?

Tom

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

	* gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
	out.
	* jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
	(JCL_free): Attach "unused" attribute to env parameter.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
	jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
	parameters.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
	(initNativeState): Pass 0 as info argument to
	gtk_selection_add_target.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
	(setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
	unused method implementations.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
	(awt_event_handler): Add break statement after default label.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
	(drawPixels): Remove unused variable i.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
	(setEnabled): Remove method implementation.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
	(accel_attach): Call _gtk_accel_group_attach with G_OBJECT
	argument.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
	unused function.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
	(menu_pos): Assign TRUE to push_in.
	(setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
	argument.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
	(create): Remove unused variable layout.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
	Pass window_widget, rather than window, to
	gtk_widget_set_size_request.
	* jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
	structure initialization with NULL values.
	* jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.


--=-pY6CMz+Q1OuqNeCZ52s2
Content-Disposition: attachment; filename=attributes.diff
Content-Type: text/x-patch; name=attributes.diff; charset=
Content-Transfer-Encoding: 7bit

Index: gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,v
retrieving revision 1.2
diff -u -r1.2 GtkMenuItemPeer.java
--- gnu/java/awt/peer/gtk/GtkMenuItemPeer.java	13 Jul 2003 15:09:20 -0000	1.2
+++ gnu/java/awt/peer/gtk/GtkMenuItemPeer.java	7 Oct 2003 23:01:15 -0000
@@ -85,7 +85,10 @@
     setEnabled (true);
   }
 
-  native public void setEnabled (boolean b);
+  public void setEnabled (boolean b)
+  {
+    // do nothing, for now.
+  }
   native public void setLabel (String label);
 
   protected void postMenuActionEvent ()
Index: jni/classpath/jcl.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/classpath/jcl.c,v
retrieving revision 1.1
diff -u -r1.1 jcl.c
--- jni/classpath/jcl.c	31 Jan 2003 17:54:14 -0000	1.1
+++ jni/classpath/jcl.c	7 Oct 2003 23:01:16 -0000
@@ -39,6 +39,10 @@
 #include <jcl.h>
 #include <malloc.h>
 
+#ifndef __GNUC__
+#define __attribute__(x) /* nothing */
+#endif
+
 static char errstr[4098]; // this way the memory is pre-allocated, so that we do not have to worry if we are out of memory.
 
 JNIEXPORT void JNICALL JCL_ThrowException(JNIEnv * env, char * className, char * errMsg) {
@@ -85,7 +89,9 @@
   return(ptr);
 }
 
-JNIEXPORT void JNICALL JCL_free(JNIEnv * env, void * p) {
+JNIEXPORT void JNICALL JCL_free(JNIEnv * env __attribute__((unused)),
+				void * p)
+{
 	if(p != NULL) {
 		free(p);
 	}
Index: jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,v
retrieving revision 1.1
diff -u -r1.1 gnu_java_awt_peer_gtk_GtkChoicePeer.c
--- jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c	31 Jan 2003 17:54:14 -0000	1.1
+++ jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c	7 Oct 2003 23:01:16 -0000
@@ -177,7 +177,8 @@
 
 
 static void
-item_activate (GtkItem *item, struct item_event_hook_info *ie)
+item_activate (GtkItem *item __attribute__((unused)),
+	       struct item_event_hook_info *ie)
 {
   gdk_threads_leave ();
   (*gdk_env)->CallVoidMethod (gdk_env, ie->peer_obj,
Index: jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,v
retrieving revision 1.1
diff -u -r1.1 gnu_java_awt_peer_gtk_GtkClipboard.c
--- jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c	31 Jan 2003 17:54:14 -0000	1.1
+++ jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c	7 Oct 2003 23:01:16 -0000
@@ -82,7 +82,7 @@
 		      GTK_SIGNAL_FUNC (selection_clear), NULL);
 
   gtk_selection_add_target (clipboard, GDK_SELECTION_PRIMARY, 
-			    GDK_TARGET_STRING, GDK_TARGET_STRING);
+			    GDK_TARGET_STRING, 0);
 
   gtk_signal_connect (GTK_OBJECT(clipboard), "selection_get",
                       GTK_SIGNAL_FUNC (selection_get), NULL);
@@ -91,8 +91,8 @@
 }
 
 JNIEXPORT void JNICALL
-Java_gnu_java_awt_peer_gtk_GtkClipboard_requestStringConversion (JNIEnv *env, 
-								 jclass clazz)
+Java_gnu_java_awt_peer_gtk_GtkClipboard_requestStringConversion
+  (JNIEnv *env __attribute__((unused)), jclass clazz __attribute__((unused)))
 {
   gdk_threads_enter ();
   gtk_selection_convert (clipboard, GDK_SELECTION_PRIMARY, 
@@ -101,8 +101,10 @@
 }
 
 void
-selection_received (GtkWidget *widget, GtkSelectionData *selection_data, 
-		    guint time, gpointer data)
+selection_received (GtkWidget *widget __attribute__((unused)),
+		    GtkSelectionData *selection_data __attribute__((unused)),
+		    guint time __attribute__((unused)),
+		    gpointer data __attribute__((unused)))
 {
   /* Check to see if retrieval succeeded  */
   if (selection_data->length < 0
@@ -123,11 +125,11 @@
 }
 
 void
-selection_get (GtkWidget *widget, 
+selection_get (GtkWidget *widget __attribute__((unused)), 
                GtkSelectionData *selection_data,
-               guint      info,
-               guint      time,
-               gpointer   data)
+               guint      info __attribute__((unused)),
+               guint      time __attribute__((unused)),
+               gpointer   data __attribute__((unused)))
 {
   jstring jstr;
   const char *utf;
@@ -153,8 +155,8 @@
 }
 
 JNIEXPORT void JNICALL
-Java_gnu_java_awt_peer_gtk_GtkClipboard_selectionGet (JNIEnv *env, 
-						      jclass clazz)
+Java_gnu_java_awt_peer_gtk_GtkClipboard_selectionGet
+  (JNIEnv *env, jclass clazz __attribute__((unused)))
 {
   GdkWindow *owner;
 
@@ -172,7 +174,8 @@
 }
 
 gint
-selection_clear (GtkWidget *widget, GdkEventSelection *event)
+selection_clear (GtkWidget *widget __attribute__((unused)),
+		 GdkEventSelection *event __attribute__((unused)))
 {
   (*gdk_env)->CallVoidMethod (gdk_env, cb_obj, selectionClearID);
 
Index: jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,v
retrieving revision 1.6
diff -u -r1.6 gnu_java_awt_peer_gtk_GtkComponentPeer.c
--- jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c	2 Oct 2003 18:34:56 -0000	1.6
+++ jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c	7 Oct 2003 23:01:16 -0000
@@ -133,31 +133,6 @@
   gdk_threads_leave ();
 }
 
-
-/*
- * Show a widget (NO LONGER USED)
- */
-JNIEXPORT void JNICALL 
-Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setVisible
-  (JNIEnv *env, jobject obj, jboolean visible)
-{
-  GtkWidget *widget;
-  void *ptr;
-
-  ptr = NSA_GET_PTR (env, obj);
-
-  gdk_threads_enter ();
-  widget = GTK_WIDGET (ptr);
-
-  if (visible)
-    gtk_widget_show (widget);
-  else
-    gtk_widget_hide (widget);
-
-  gdk_flush ();
-  gdk_threads_leave ();
-}
-
 /*
  * Find the origin of a widget's window.
  */
@@ -225,104 +200,6 @@
   gdk_threads_leave ();
 }
 
-JNIEXPORT void JNICALL 
-Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkFixedNew (JNIEnv *env, 
-    jobject obj, jint width, jint height, jboolean visible)
-{
-  GtkWidget *layout;
-
-  gdk_threads_enter ();
-  layout = gtk_layout_new (NULL, NULL);
-  gtk_widget_realize (layout);
-  connect_awt_hook (env, obj, 1, GTK_LAYOUT (layout)->bin_window);
-  set_visible (layout, visible);
-  gdk_threads_leave ();
-
-  NSA_SET_PTR (env, obj, layout);
-}
-
-/*
- * Place a widget on the layout widget. 
- */
-JNIEXPORT void JNICALL 
-Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkFixedPut 
-    (JNIEnv *env, jobject obj, jobject container, jint x, jint y)
-{
-  GList *child;
-  GtkWidget *fix;
-  void *containerptr=NULL;
-  void *objptr=NULL;
-
-  /* We hawe a container which, if it is a window, will have
-     this component added to its fixed.  If it is a fixed, we add the
-     component to it. */
-  
-  containerptr=NSA_GET_PTR (env, container);
-  objptr=NSA_GET_PTR (env, obj);
-  
-  gdk_threads_enter ();
-  if (GTK_IS_WINDOW(GTK_OBJECT(containerptr)))
-    {
-      child=gtk_container_children (GTK_CONTAINER(containerptr));
-      
-      while (child && !GTK_IS_FIXED(child->data))
-	{
-	  child=g_list_next(child);
-	}
-      
-      fix=GTK_WIDGET(child->data);
-      g_list_free(child);
-    }
-  else
-    if (GTK_IS_SCROLLED_WINDOW(GTK_OBJECT(containerptr)))
-    {
-      child=gtk_container_children (GTK_CONTAINER (GTK_BIN(containerptr)->child));
-      
-      while (child && !GTK_IS_FIXED(child->data))
-	{
-	  child=g_list_next(child);
-	}
-      
-      fix=GTK_WIDGET(child->data);
-
-      g_list_free(child);
-    }
-  else
-    {
-      fix=GTK_WIDGET(containerptr);
-    }
-  
-  gtk_fixed_put(GTK_FIXED(fix),GTK_WIDGET(objptr),x,y);
-  gtk_widget_realize (GTK_WIDGET (objptr));
-  gtk_widget_show (GTK_WIDGET (objptr));
-  
-  gdk_threads_leave ();
-}
-
-JNIEXPORT void JNICALL 
-Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkFixedMove (JNIEnv *env, 
-    jobject obj, jint x, jint y)
-{
-  GtkWidget *widget;
-  void *ptr=NULL;
-
-  /* For some reason, ScrolledWindow tries to scroll its contents
-     by moving them using this function.  Since we want to use GTK's
-     nice fast scrolling, we try to second guess it here.  This
-     might cause problems later.  */
-  
-  if (x >= 0 && y >= 0) 
-    {
-      ptr = NSA_GET_PTR (env, obj);
-      
-      gdk_threads_enter ();
-      widget=GTK_WIDGET (ptr);
-      if (!GTK_IS_WINDOW (widget))
-	  gtk_fixed_move (GTK_FIXED (widget->parent), widget, x, y);
-      gdk_threads_leave ();
-    }
-}
-
 JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds
   (JNIEnv *env, jobject obj, jint x, jint y, jint width, jint height)
 {
@@ -482,7 +359,7 @@
 
 JNIEXPORT jboolean JNICALL 
 Java_gnu_java_awt_peer_gtk_GtkComponentPeer_modalHasGrab
-  (JNIEnv *env, jclass clazz)
+  (JNIEnv *env __attribute__((unused)), jclass clazz __attribute__((unused)))
 {
   GtkWidget *widget;
   jboolean retval;
Index: jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,v
retrieving revision 1.7
diff -u -r1.7 gnu_java_awt_peer_gtk_GtkEvents.c
--- jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c	7 Oct 2003 21:33:29 -0000	1.7
+++ jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c	7 Oct 2003 23:01:16 -0000
@@ -1142,6 +1142,7 @@
 				      JNI_FALSE);
 	  break;
         default:
+	  break;
 	}
       g_free (obj_ptr);
     }
Index: jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,v
retrieving revision 1.1
diff -u -r1.1 gnu_java_awt_peer_gtk_GtkImagePainter.c
--- jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c	31 Jan 2003 17:54:14 -0000	1.1
+++ jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c	7 Oct 2003 23:01:16 -0000
@@ -44,9 +44,10 @@
   (((w) << 24) | (((w) & 0xff00) << 8) | (((w) >> 8) & 0xff00) | ((w) >> 24))
 
 JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels
-(JNIEnv *env, jobject obj, jobject gc_obj, jint bg_red, jint bg_green, 
- jint bg_blue, jint x, jint y, jint width, jint height, jintArray jpixels, 
- jint offset, jint scansize, jdoubleArray jaffine)
+(JNIEnv *env, jobject obj __attribute__((unused)), jobject gc_obj,
+ jint bg_red, jint bg_green, jint bg_blue, jint x, jint y, jint width,
+ jint height, jintArray jpixels, jint offset, jint scansize,
+ jdoubleArray jaffine)
 {
   struct graphics *g;
   jint *pixels, *elems;
@@ -114,8 +115,7 @@
       ArtAlphaGamma *alphagamma = NULL;
       art_u8 *dst;
       int new_width, new_height;
-      int i;
-      
+
       affine = (*env)->GetDoubleArrayElements (env, jaffine, NULL);
 
       new_width = abs (width * affine[0]);
Index: jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,v
retrieving revision 1.2
diff -u -r1.2 gnu_java_awt_peer_gtk_GtkListPeer.c
--- jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c	30 Jun 2003 23:53:29 -0000	1.2
+++ jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c	7 Oct 2003 23:01:16 -0000
@@ -322,7 +322,9 @@
 }
 
 static void
-item_select (GtkCList *list, int row, int col, GdkEventButton *event, 
+item_select (GtkCList *list __attribute__((unused)),
+	     int row, int col __attribute__((unused)),
+	     GdkEventButton *event __attribute__((unused)), 
 	     jobject *peer_obj)
 {
   (*gdk_env)->CallVoidMethod (gdk_env, *peer_obj,
@@ -332,8 +334,11 @@
 }
 
 static void
-item_unselect (GtkCList *list, int row, int col, GdkEventButton *event, 
-	     jobject *peer_obj)
+item_unselect (GtkCList *list __attribute__((unused)),
+	       int row,
+	       int col __attribute__((unused)),
+	       GdkEventButton *event __attribute__((unused)),
+	       jobject *peer_obj)
 {
   (*gdk_env)->CallVoidMethod (gdk_env, *peer_obj,
 			      postListItemEventID,
Index: jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,v
retrieving revision 1.6
diff -u -r1.6 gnu_java_awt_peer_gtk_GtkMainThread.c
--- jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c	2 Oct 2003 18:34:56 -0000	1.6
+++ jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c	7 Oct 2003 23:01:16 -0000
@@ -185,7 +185,8 @@
  * Run gtk_main and block.
  */ 
 JNIEXPORT void JNICALL 
-Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkMain (JNIEnv *env, jobject obj)
+Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkMain
+  (JNIEnv *env __attribute__((unused)), jobject obj __attribute__((unused)))
 {
   gdk_threads_enter ();
   gtk_main ();
Index: jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,v
retrieving revision 1.1
diff -u -r1.1 gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
--- jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c	31 Jan 2003 17:54:14 -0000	1.1
+++ jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c	7 Oct 2003 23:01:16 -0000
@@ -94,14 +94,8 @@
   (*env)->ReleaseStringUTFChars (env, label, str);
 }
 
-JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_setEnabled
-  (JNIEnv *env, jobject obj, jboolean enabled)
-{
-/*    Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setEnabled (env, obj, enabled); */
-}
-
 static void
-item_activate (GtkMenuItem *item, jobject *peer_obj)
+item_activate (GtkMenuItem *item __attribute__((unused)), jobject *peer_obj)
 {
   (*gdk_env)->CallVoidMethod (gdk_env, *peer_obj,
 			      postMenuActionEventID);
Index: jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,v
retrieving revision 1.1
diff -u -r1.1 gnu_java_awt_peer_gtk_GtkMenuPeer.c
--- jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c	31 Jan 2003 17:54:14 -0000	1.1
+++ jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c	7 Oct 2003 23:01:16 -0000
@@ -40,13 +40,14 @@
 #include "gnu_java_awt_peer_gtk_GtkMenuPeer.h"
 
 static void
-accel_attach (GtkMenuItem *menu_item, gpointer *user_data)
+accel_attach (GtkMenuItem *menu_item,
+	      gpointer *user_data __attribute__((unused)))
 {
   GtkAccelGroup *accel;
 
   accel = gtk_menu_get_accel_group (GTK_MENU (menu_item->submenu));
-  gtk_accel_group_attach (accel, 
-    GTK_OBJECT (gtk_widget_get_toplevel (GTK_WIDGET(menu_item))));
+  _gtk_accel_group_attach (accel, 
+    G_OBJECT (gtk_widget_get_toplevel (GTK_WIDGET(menu_item))));
 }
 
 JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GtkMenuPeer_setupAccelGroup
Index: jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,v
retrieving revision 1.1
diff -u -r1.1 gnu_java_awt_peer_gtk_GtkPanelPeer.c
--- jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c	31 Jan 2003 17:54:14 -0000	1.1
+++ jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c	7 Oct 2003 23:01:16 -0000
@@ -60,38 +60,6 @@
   gint y;
 };
 
-static
-void sr (GtkWidget *widget, GtkRequisition *requisition, gpointer user_data)
-{
-  GtkLayout *layout;
-  GtkLayoutChild *child;
-  GList *children;
-
-  layout = GTK_LAYOUT (widget);
-  requisition->width = GTK_WIDGET (widget)->allocation.width;
-  requisition->height = GTK_WIDGET (widget)->allocation.height;
-
-  children = layout->children;
-  while (children)
-    {
-      child = children->data;
-      children = children->next;
-
-      if (GTK_WIDGET_VISIBLE (child->widget))
-	{
-          requisition->height = MAX (requisition->height,
-                                     child->y +
-                                     child->widget->allocation.height);
-          requisition->width = MAX (requisition->width,
-                                    child->x +
-                                    child->widget->allocation.width);
-	}
-    }
-
-  requisition->height += GTK_CONTAINER (layout)->border_width * 2;
-  requisition->width += GTK_CONTAINER (layout)->border_width * 2;
-}
-
 JNIEXPORT void JNICALL 
 Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectHooks
   (JNIEnv *env, jobject obj)
Index: jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,v
retrieving revision 1.1
diff -u -r1.1 gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
--- jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c	31 Jan 2003 17:54:14 -0000	1.1
+++ jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c	7 Oct 2003 23:01:16 -0000
@@ -46,12 +46,16 @@
 };
 
 void 
-menu_pos (GtkMenu *menu, gint *x, gint *y, gpointer user_data)
+menu_pos (GtkMenu *menu __attribute__((unused)),
+	  gint *x, gint *y,
+	  gboolean *push_in,
+	  gpointer user_data)
 {
   struct pos *p = (struct pos *) user_data;
 
   *x = p->x;
   *y = p->y;
+  *push_in = TRUE;
 }
 
 JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show
@@ -87,7 +91,7 @@
   gdk_threads_enter ();
   menu = GTK_MENU (GTK_MENU_ITEM (ptr1)->submenu);
   gtk_menu_set_accel_group (menu, gtk_accel_group_new ());
-  gtk_accel_group_attach (gtk_menu_get_accel_group (menu),
-			  GTK_OBJECT (gtk_widget_get_toplevel (ptr2)));
+  _gtk_accel_group_attach (gtk_menu_get_accel_group (menu),
+			   G_OBJECT (gtk_widget_get_toplevel (ptr2)));
   gdk_threads_leave ();
 }
Index: jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,v
retrieving revision 1.1
diff -u -r1.1 gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
--- jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c	31 Jan 2003 17:54:14 -0000	1.1
+++ jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c	7 Oct 2003 23:01:16 -0000
@@ -44,7 +44,6 @@
   (JNIEnv *env, jobject obj)
 {
   gpointer window;
-  GtkWidget *layout;
 
   gdk_threads_enter ();
   window = gtk_scrolled_window_new (NULL, NULL);
Index: jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,v
retrieving revision 1.6
diff -u -r1.6 gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
--- jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c	7 Oct 2003 21:33:29 -0000	1.6
+++ jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c	7 Oct 2003 23:01:16 -0000
@@ -450,7 +450,7 @@
 }
 
 static void
-textcomponent_commit_cb (GtkIMContext *context,
+textcomponent_commit_cb (GtkIMContext *context __attribute__((unused)),
                          const gchar  *str,
                          jobject peer)
 {
@@ -472,7 +472,7 @@
 }
 
 static void
-textcomponent_changed_cb (GtkEditable *editable,
+textcomponent_changed_cb (GtkEditable *editable __attribute__((unused)),
 			  jobject peer)
 {
   (*gdk_env)->CallVoidMethod (gdk_env, peer, postTextEventID);
Index: jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,v
retrieving revision 1.1
diff -u -r1.1 gnu_java_awt_peer_gtk_GtkToolkit.c
--- jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c	31 Jan 2003 17:54:14 -0000	1.1
+++ jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c	7 Oct 2003 23:01:16 -0000
@@ -40,7 +40,8 @@
 #include "gnu_java_awt_peer_gtk_GtkToolkit.h"
 
 JNIEXPORT void JNICALL 
-Java_gnu_java_awt_peer_gtk_GtkToolkit_beep (JNIEnv *env, jobject obj)
+Java_gnu_java_awt_peer_gtk_GtkToolkit_beep
+  (JNIEnv *env __attribute__((unused)), jobject obj __attribute__((unused)))
 {
   gdk_threads_enter ();
   gdk_beep ();
@@ -48,7 +49,8 @@
 }
 
 JNIEXPORT void JNICALL 
-Java_gnu_java_awt_peer_gtk_GtkToolkit_sync (JNIEnv *env, jobject obj)
+Java_gnu_java_awt_peer_gtk_GtkToolkit_sync
+  (JNIEnv *env __attribute__((unused)), jobject obj __attribute__((unused)))
 {
   gdk_threads_enter ();
   gdk_flush ();
@@ -57,7 +59,8 @@
 
 JNIEXPORT void JNICALL 
 Java_gnu_java_awt_peer_gtk_GtkToolkit_getScreenSizeDimensions
-(JNIEnv *env, jobject obj, jintArray jdims)
+  (JNIEnv *env __attribute__((unused)), jobject obj __attribute__((unused)),
+   jintArray jdims)
 {
   jint *dims = (*env)->GetIntArrayElements (env, jdims, 0);  
 
@@ -72,8 +75,8 @@
 }
 
 JNIEXPORT jint JNICALL 
-Java_gnu_java_awt_peer_gtk_GtkToolkit_getScreenResolution (JNIEnv *env, 
-							   jobject obj)
+Java_gnu_java_awt_peer_gtk_GtkToolkit_getScreenResolution
+  (JNIEnv *env __attribute__((unused)), jobject obj __attribute__((unused)))
 {
   jint res;
 
Index: jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,v
retrieving revision 1.6
diff -u -r1.6 gnu_java_awt_peer_gtk_GtkWindowPeer.c
--- jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c	2 Oct 2003 18:34:56 -0000	1.6
+++ jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c	7 Oct 2003 23:01:16 -0000
@@ -67,7 +67,7 @@
      window will snap to its default requisition of 0x0.  If we omit
      this call, Frames and Dialogs shrink to degenerate 1x1 windows
      when their resizable property changes. */
-  gtk_widget_set_size_request (window, width, height);
+  gtk_widget_set_size_request (window_widget, width, height);
 
   /* Keep this window in front of its parent, if it has one. */
   if (parent)
@@ -235,8 +235,8 @@
 
 JNIEXPORT void JNICALL
 Java_gnu_java_awt_peer_gtk_GtkWindowPeer_setBoundsCallback
-  (JNIEnv *env, jobject obj, jobject window,
-   jint x, jint y, jint width, jint height)
+  (JNIEnv *env __attribute__((unused)), jobject obj __attribute__((unused)),
+   jobject window, jint x, jint y, jint width, jint height)
 {
   /* Circumvent package-private access to call Window's
      setBoundsCallback method. */
Index: jni/gtk-peer/gthread-jni.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gthread-jni.c,v
retrieving revision 1.2
diff -u -r1.2 gthread-jni.c
--- jni/gtk-peer/gthread-jni.c	30 Jun 2003 23:53:29 -0000	1.2
+++ jni/gtk-peer/gthread-jni.c	7 Oct 2003 23:01:16 -0000
@@ -189,7 +189,7 @@
 }
 
 /* Lock a mutex. */
-static void g_mutex_lock_jni_impl (GMutex *mutex) {
+static void g_mutex_lock_jni_impl (GMutex *mutex __attribute__((unused))) {
   JNIEnv *gdk_env;
 
   (*gdk_vm)->GetEnv(gdk_vm, (void **)&gdk_env, JNI_VERSION_1_1);
@@ -201,7 +201,9 @@
  * do not provide such an interface.  To be at least minimally correct,
  * pretend we tried and failed.
  */
-static gboolean g_mutex_trylock_jni_impl (GMutex *mutex) {
+static gboolean g_mutex_trylock_jni_impl
+  (GMutex *mutex __attribute__((unused)))
+{
   // Shall we implement this in a JikesRVM-specific way under a flag?
   return FALSE;
 }
@@ -285,7 +287,9 @@
 /*  Wait on a condition variable.  For us, this simply means call
  * Object.wait.
  */
-static void g_cond_wait_jni_impl (GCond *cond, GMutex *mutex) {
+static void g_cond_wait_jni_impl
+  (GCond *cond, GMutex *mutex __attribute__((unused)))
+{
   jclass lcl_class;
   jmethodID wait_mth;
   JNIEnv *gdk_env;
@@ -313,7 +317,10 @@
  * so, that is Java-speak for wait timing out.
  */
 static gboolean
-g_cond_timed_wait_jni_impl (GCond *cond, GMutex *mutex, GTimeVal *end_time) {
+g_cond_timed_wait_jni_impl
+  (GCond *cond, GMutex *mutex __attribute__((unused)),
+   GTimeVal *end_time)
+{
   jclass lcl_class;
   jmethodID wait_mth;
   JNIEnv *gdk_env;
@@ -364,7 +371,9 @@
 /*  Create a new thread-local key.  We use java.lang.ThreadLocal objects
  * for this.
  */
-static GPrivate *g_private_new_jni_impl (GDestroyNotify notify) {
+static GPrivate *g_private_new_jni_impl
+  (GDestroyNotify notify __attribute__((unused)))
+{
   jclass lcl_class;
   jobject *local;
   JNIEnv *gdk_env;
@@ -474,7 +483,14 @@
   g_cond_free_jni_impl,       /* cond_free */
   g_private_new_jni_impl,     /* private_new */
   g_private_get_jni_impl,     /* private_get */
-  g_private_set_jni_impl      /* private_set */
+  g_private_set_jni_impl,     /* private_set */
+  NULL,
+  NULL,
+  NULL,
+  NULL,
+  NULL,
+  NULL,
+  NULL
 };
 
 /* ??? */
Index: jni/gtk-peer/gtkpeer.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gtkpeer.h,v
retrieving revision 1.5
diff -u -r1.5 gtkpeer.h
--- jni/gtk-peer/gtkpeer.h	7 Oct 2003 21:33:29 -0000	1.5
+++ jni/gtk-peer/gtkpeer.h	7 Oct 2003 23:01:16 -0000
@@ -54,6 +54,10 @@
 #ifndef __GTKPEER_H__
 #define __GTKPEER_H__
 
+#ifndef __GNUC__
+#define __attribute__(x) /* nothing */
+#endif
+
 #ifdef JVM_SUN
 
 extern struct state_table *native_state_table;

--=-pY6CMz+Q1OuqNeCZ52s2--




From MAILER-DAEMON Tue Oct 07 22:10:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A73mO-0005Vq-1M
	for mharc-classpath@gnu.org; Tue, 07 Oct 2003 22:10:20 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A73mL-0005Vj-Sa
	for classpath@gnu.org; Tue, 07 Oct 2003 22:10:17 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A73lo-0005Aj-Uk
	for classpath@gnu.org; Tue, 07 Oct 2003 22:10:16 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A73lo-0005Ab-Io
	for classpath@gnu.org; Tue, 07 Oct 2003 22:09:44 -0400
Received: from fleche.redhat.com (tf0021.peakpeak.com [204.144.239.21])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id UAB31283;
	Tue, 7 Oct 2003 20:09:36 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 0F42D4F8880; Tue,  7 Oct 2003 20:01:15 -0600 (MDT)
To: Thomas Fitzsimmons <fitzsim@redhat.com>
References: <1065573419.16992.96.camel@tortoise.toronto.redhat.com>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: Does that mean I'm not a well-adjusted person??
Date: 07 Oct 2003 20:01:14 -0600
In-Reply-To: <1065573419.16992.96.camel@tortoise.toronto.redhat.com>
Message-ID: <87d6d8fpxx.fsf@fleche.redhat.com>
Lines: 12
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, java-patches@gcc.gnu.org
Subject: Re: Patch: Eliminate GTK peer compiler warnings
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Oct 2003 02:10:18 -0000

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

Tom> This patch flags these parameters as "unused" using GCC's __attribute__
Tom> extension.  It provides a fall-back for compilers that don't support
Tom> attributes.  The patch also contains fixes that eliminate all other
Tom> compiler warnings in the GTK peers.

Tom> Any objections?

Looks great to me.

Tom



From MAILER-DAEMON Wed Oct 08 05:46:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A7Atz-0007QF-Bd
	for mharc-classpath@gnu.org; Wed, 08 Oct 2003 05:46:39 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A7Atq-0007Im-VS
	for classpath@gnu.org; Wed, 08 Oct 2003 05:46:30 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A7AtF-0006WY-Gw
	for classpath@gnu.org; Wed, 08 Oct 2003 05:46:25 -0400
Received: from [146.87.255.98] (helo=iapetus.salford.ac.uk)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1A7At3-00067V-KO
	for classpath@gnu.org; Wed, 08 Oct 2003 05:45:41 -0400
Received: (qmail 6064 invoked by uid 85); 8 Oct 2003 09:45:40 -0000
Received: from ricky_clarkson@yahoo.com by iapetus.salford.ac.uk by uid 401
	with qmail-scanner-1.16 
	(uvscan: v4.2.40/v4296. spamassassin: 2.55.  Clear:. 
	Processed in 0.346166 secs); 08 Oct 2003 09:45:40 -0000
X-Qmail-Scanner-Mail-From: ricky_clarkson@yahoo.com via iapetus.salford.ac.uk
X-Qmail-Scanner: 1.16 (Clear:. Processed in 0.346166 secs)
Received: (ofmipd 146.87.133.141); 8 Oct 2003 09:45:39 -0000
Received: from ricky by debian with local (Exim 4.22)
	id 1A7Ar6-0000G1-V3; Wed, 08 Oct 2003 10:43:40 +0100
Date: 8 Oct 2003 10:43:40 +0100
Message-ID: <20031008094340.GA946@yahoo.com>
From: "Ricky Clarkson" <ricky_clarkson@yahoo.com>
To: "Joseph Wenninger" <jowenn@kde.org>
References: <1065552402.2627.28.camel@localhost>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1065552402.2627.28.camel@localhost>
User-Agent: Mutt/1.5.4i
Cc: classpath@gnu.org
Subject: Re: porting to another jvm/jit
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Oct 2003 09:46:33 -0000

That sounds like a nice project.

I suggest you get hold of the source of a JVM that already uses
Classpath and take a look at it.  I think kissme is probably a good
example, but others on the list probably have different opinions.  I
haven't actually looked at any kissme code though.

If you find errors etc., feel free to submit patches, but there are
restrictions (covered on Classpath's web pages at
http://www.gnu.org/software/classpath/ ) if you submit large/many
patches.

Happy hacking,

Ricky.

On Tue, Oct 07, 2003 at 08:46:44PM +0200, Joseph Wenninger wrote:
> Hi
> 
> I'm porting a jvm/jit for a university project to the gnu classpath,
> since it is nearly impossible to support the sun jre, if you can't sign
> the sun community license, and  therefor don't have the sun-namespaces
> sources.
> 
> I have done a quick hack for testing purposes, but how would I cleanly
> integrate the classpath? My question is, how other jvm developers cope
> with the the VM*.c files ? Do they have to be in the classpath
> hierarchy, or can I somehow create a static classpath lib and than link
> that one against my own, which contains the VM specific implementations
> ?
> 
> 
> 
> Off-topic:
> By the way, we would like to support jdk 1.2 class files (major 45,
> minor 3). I tried to compile the classpath with jikes -source 1.2
> -target 1.2, but it looks like jikes 1.18 doesn't really work with that.
> Did anybody try that ? Is there another usable compiler for jre 1.2
> compatible class files ?  With jikes I get wrong
> [Field|Method|InterfaceMethod]Ref infos structures for many classes,
> they point into the constant pool to array constants instead of object
> constants. According to my knowledge that's wrong.
> Could it be a problem of how the classpath is compiled ?
> 
> 
> 
> 
> I'm using the 0.06 tarball
> 
> Thanks in advance for any information/help
> 
> Kind regards
> Joseph Wenninger
> 
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath



From MAILER-DAEMON Wed Oct 08 09:24:09 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A7EIT-0006Y4-A2
	for mharc-classpath@gnu.org; Wed, 08 Oct 2003 09:24:09 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A7EIQ-0006W0-Ty
	for classpath@gnu.org; Wed, 08 Oct 2003 09:24:06 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A7EHt-00060Z-UW
	for classpath@gnu.org; Wed, 08 Oct 2003 09:24:05 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.24) id 1A7EHs-0005Lu-Eo
	for classpath@gnu.org; Wed, 08 Oct 2003 09:23:32 -0400
Received: from [193.74.71.21] (helo=xizor.is.kpn.be)
	by mx20.gnu.org with esmtp (Exim 4.24) id 1A7EF0-0007qp-Pv
	for classpath@gnu.org; Wed, 08 Oct 2003 09:20:34 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by xizor.is.kpn.be  with SMTP id h98DK7R28652; 
	Wed, 8 Oct 2003 15:20:07 +0200
Message-Id: <200310081320.h98DK7R28652@xizor.is.kpn.be>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: kaffe@kaffe.org, GNU Classpath <classpath@gnu.org>
Date: Wed, 8 Oct 2003 15:21:00 +0200
X-Mailer: KMail [version 1.3]
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: 
Subject: Where to stay in Saarbruecken
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Oct 2003 13:24:07 -0000


Any accomodation tips anybody?  I don't know Saarbruecken, and I guess it's 
best if we can all stay in the same kind of area ...

I'm planning to arrive Monday evening and leave Wednesday afternoon.

Regards

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



From MAILER-DAEMON Wed Oct 08 09:58:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A7EpP-0008GN-I0
	for mharc-classpath@gnu.org; Wed, 08 Oct 2003 09:58:11 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A7EpN-0008E5-A7
	for classpath@gnu.org; Wed, 08 Oct 2003 09:58:09 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A7Eor-0007je-7w
	for classpath@gnu.org; Wed, 08 Oct 2003 09:58:08 -0400
Received: from [209.92.1.32] (helo=newmx2.fast.net)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1A7EfX-0000QT-VY
	for classpath@gnu.org; Wed, 08 Oct 2003 09:48:00 -0400
Received: (qmail 598 invoked from network); 8 Oct 2003 13:41:18 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx2.fast.net (qmail-ldap-1.03) with SMTP
	for <stuart.ballard@corp.fast.net>; 8 Oct 2003 13:41:18 -0000
Message-ID: <3F8413FD.1090702@corp.fast.net>
Date: Wed, 08 Oct 2003 09:41:17 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.3.1) Gecko/20030527 Debian/1.3.1-2
X-Accept-Language: en
MIME-Version: 1.0
To: Stuart Ballard <stuart.ballard@corp.fast.net>
References: <3F71A075.9020405@corp.fast.net> <3F73336A.7060300@corp.fast.net>
In-Reply-To: <3F73336A.7060300@corp.fast.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: [really patch] Re: HashMap putAll/putAllInternal bug
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Oct 2003 13:58:10 -0000

Stuart Ballard wrote:
> Bah, forgot the attachment.

Any decision on this?

Kaffe's applied it for their 1.1.2 release (dalibor's comment was "Fight 
premature micro-optimizations!") but I'd still like to see the fix made 
to Classpath proper.

There seems to be at least one developer opposed to the patch and at 
least a couple who are somewhat in favor. If there's any clear 
consensus, it's eluding me ;) So what happens next?

Stuart.


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




From MAILER-DAEMON Wed Oct 08 12:32:33 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A7H8m-0007dF-TA
	for mharc-classpath@gnu.org; Wed, 08 Oct 2003 12:26:20 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A7H8e-0007Yr-TP
	for classpath@gnu.org; Wed, 08 Oct 2003 12:26:12 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A7H1R-0005eJ-Ox
	for classpath@gnu.org; Wed, 08 Oct 2003 12:19:16 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.24) id 1A7Gkg-0000jb-G4
	for classpath@gnu.org; Wed, 08 Oct 2003 12:01:26 -0400
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by mx20.gnu.org with esmtp (Exim 4.24) id 1A7GjZ-00084k-6s
	for classpath@gnu.org; Wed, 08 Oct 2003 12:00:17 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 1A7Gj3-0002nQ-00
	for <classpath@gnu.org>; Wed, 08 Oct 2003 17:59:45 +0200
Received: from mpiat2000.ag2.mpi-sb.mpg.de
	([139.19.20.8] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1A7Gj0-0002lU-00; Wed, 08 Oct 2003 17:59:42 +0200
Message-ID: <3F84346D.9000002@kaffe.org>
Date: Wed, 08 Oct 2003 17:59:41 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Chris Gray <chris@kiffer.eunet.be>
References: <200310081320.h98DK7R28652@xizor.is.kpn.be>
In-Reply-To: <200310081320.h98DK7R28652@xizor.is.kpn.be>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: by AMaViS perl-11
Cc: GNU Classpath <classpath@gnu.org>, kaffe@kaffe.org
Subject: Re: Where to stay in Saarbruecken
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Oct 2003 16:26:13 -0000

Chris Gray wrote:
> Any accomodation tips anybody?  I don't know Saarbruecken, and I guess it's 
> best if we can all stay in the same kind of area ...

Disclaimer: I live in Saarbruecken.

I've offerred to some developers to stay at my place if they want to, 
depending on the replies, I may have a place or two to spare, or may be 
able to find private accomodation among folks I know. But don't rely on 
it ;)

So for the more careful planners, I'll take a run down the list of 
places on http://www.linux-kongress.org/2003/accommodations/index.html

Youth Hostel: been there, it's cheap, and quite o.k. It's 5 mins away 
from Uni, where the Kongress will take place. It's also about 10 mins 
away from my place by foot, and maybe 20 mins away by foot from the 
train station (if you come by train). 15 mins away walking from the pub 
area of town. ;)

Gaestehaus Weller: basically, around a corner or two from the youth 
hostel. Some of our researchers at the MPI stayed there. Can be cheaper 
that Youth Hostel if you can get together with a few other guys to share 
a room. Probably your best bet for nice, yet cheap accomodation.

Hotel Paul: If you come by car, it may be an option. Other than that, 
you're at the end of the world ;)

Bayrischer Hof: A little off the mark, though still between city and 
uni, which means the walking distance in each direction is about 30 
mins. Probably quite peaceful, too.

Continental: In the city center, about 10 mins from train station. Best 
bet to go to uni is to take a bus at Rathaus, lines 11 or 19. It takes 
probably about 40-50 Minutes to walk to uni from there. Pubs are in 
crawling distance, though.

Mercure/La Residence: Both are in the same square, about 2-3 minutes 
away from train station. Expensive, but if you're looking into hotels 
with a few stars in Saarbruecken, two of the very few options.

Hotels not on the Webpage: I got a few inside tips from our researcher 
dispatch staff, that I'll look at tonight, and post more details.

Here's some more options from another conferences' page: 
http://edvgt.jura.uni-sb.de/Tagung03/HotelListe.html . As someone who 
lived in Dudweiler, I can't recommend staying in this suburb of 
Saarbruecken, unless you have to ;) It's a rather boring place.

If you're looking for another cheap option, the Etap hotel is another 
choice, but it's quite off mark, walking-wise. You can take the bus line 
12 to uni, or take the saarbahn (local tram/inner city train) to get to 
the city (and the trainstation), though.

Then the local tourist board also has some specials: there is a two 
night special called Salue Saarbruecken, available at most hotels. See 
http://www.kontour.de/content.jsp?auswahl=null&kontext=Kontext_81 for 
deatils. Those are for two nights ("Uebernachtung") including breakfast 
("Fruehstueck") in a double bed room ("DoppelZimmer") (2 Ü/Fr.im DZ) per 
person. Separate single room ("EinzelZimmer") costs extra (EZ-Zu.2 Ü/F). 
You can also extend your stay by paying the extension fee for a night in 
the double bed room (1Ü/Fr. Verl. im DZ) or the single room (EZ-Zuschl.
1 Ü/Fr.).

During the duration of Linux Kongress, the offer is only valid in a few 
hotels. The offer is apparently *not* valid in  Best Western Victors 
Residenz Hotel Rodenhof, Hotel Continental, Hotel Ibis, Hotel Kaiserhof, 
  Top Hotel La Résidence, Hotel Madeleine, Hotel Meran, Hotel Mercure 
Kongres, Novotel, Sengscheider Hof, Jugendgästehaus. Some of the gotels 
seem to have specials for groups, or extra specials ("Schnaeppchenpreise").

If you're planning to stay over the weekend, there is another special: 
http://www.kontour.de/content.jsp?auswahl=null&kontext=Kontext_80 for 3 
nights , double bed room, breakfast. This is probably of concern to only 
some of you who want to come in earlier/stay longer so I'll provide 
translations upon popular request ;)

In any case, if you're coming down, send me a private e-mail, and I'll 
send you my contact details, so you can get in touch with me on my 
mobile, etc. And in any case, we should all meet on monday evening for a 
couple of drinks ;)

looking forward to see you all here,
dalibor topic




From MAILER-DAEMON Wed Oct 08 15:12:27 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A7Jiu-0006l7-Ut
	for mharc-classpath@gnu.org; Wed, 08 Oct 2003 15:11:48 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A7Jil-0006hD-93
	for classpath@gnu.org; Wed, 08 Oct 2003 15:11:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A7JiE-0006KD-Rw
	for classpath@gnu.org; Wed, 08 Oct 2003 15:11:37 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A7JiE-0006Il-4b
	for classpath@gnu.org; Wed, 08 Oct 2003 15:11:06 -0400
Received: from fleche.redhat.com (tf0021.peakpeak.com [204.144.239.21])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id NAA09643;
	Wed, 8 Oct 2003 13:10:56 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 4E6BF4F8880; Wed,  8 Oct 2003 12:33:41 -0600 (MDT)
To: Classpath Discussion Mailing List <classpath@gnu.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: Boy, am I glad it's only 1971...
Date: 08 Oct 2003 12:33:41 -0600
Message-ID: <87u16jefzu.fsf@fleche.redhat.com>
Lines: 43
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: Patch to Proxy -- ok?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Oct 2003 19:11:41 -0000

Any comments on this?

We're using this patch in libgcj already.  I looked at the reference
VMClassLoader, and it seems to have the ProtectionDomain variant of
defineClass.  Is there a reason to hold off checking this in?

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>
	* java/lang/reflect/Proxy.java (generate): Pass protection domain
	to VMClassLoader.defineClass.

Index: java/lang/reflect/Proxy.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/lang/reflect/Proxy.java,v
retrieving revision 1.10
diff -u -r1.10 Proxy.java
--- java/lang/reflect/Proxy.java 8 Oct 2003 18:31:34 -0000 1.10
+++ java/lang/reflect/Proxy.java 8 Oct 2003 18:35:59 -0000
@@ -1326,12 +1326,10 @@
         {
           // XXX Do we require more native support here?
 
-          // XXX This is waiting on VM support for protection domains.
-
           Class vmClassLoader = Class.forName("java.lang.VMClassLoader");
           Class[] types = {ClassLoader.class, String.class,
                            byte[].class, int.class, int.class,
-                           /* ProtectionDomain.class */ };
+                           ProtectionDomain.class };
           Method m = vmClassLoader.getDeclaredMethod("defineClass", types);
 
           // Bypass the security check of setAccessible(true), since this
@@ -1340,7 +1338,7 @@
           m.flag = true;
           Object[] args = {loader, qualName, bytecode, new Integer(0),
                            new Integer(bytecode.length),
-                           /* Object.class.getProtectionDomain() */ };
+                           Object.class.getProtectionDomain() };
           Class clazz = (Class) m.invoke(null, args);
           m.flag = false;
 



From MAILER-DAEMON Wed Oct 08 17:13:36 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A7Lcm-00056b-Bt
	for mharc-classpath@gnu.org; Wed, 08 Oct 2003 17:13:36 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A7Lcj-00054i-Fu
	for classpath@gnu.org; Wed, 08 Oct 2003 17:13:33 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A7LcB-0004kd-6U
	for classpath@gnu.org; Wed, 08 Oct 2003 17:13:31 -0400
Received: from [24.93.67.84] (helo=ms-smtp-03.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A7LcA-0004k6-PJ
	for classpath@gnu.org; Wed, 08 Oct 2003 17:12:58 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-03.southeast.rr.com (8.12.10/8.12.2) with ESMTP id
	h98LAbVx012687; Wed, 8 Oct 2003 17:10:37 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 7311FBE641; Wed,  8 Oct 2003 17:08:10 -0400 (EDT)
Sender: cbj@haphazard.org
To: Stuart Ballard <stuart.ballard@corp.fast.net>
References: <3F71A075.9020405@corp.fast.net> <3F73336A.7060300@corp.fast.net>
	<3F8413FD.1090702@corp.fast.net>
From: Brian Jones <cbj@gnu.org>
Date: 08 Oct 2003 17:08:10 -0400
In-Reply-To: <3F8413FD.1090702@corp.fast.net>
Message-ID: <m3brsrbfph.fsf@lyta.haphazard.org>
Lines: 20
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: [really patch] Re: HashMap putAll/putAllInternal bug
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Oct 2003 21:13:34 -0000

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

> Stuart Ballard wrote:
> > Bah, forgot the attachment.
> 
> Any decision on this?
> 
> Kaffe's applied it for their 1.1.2 release (dalibor's comment was
> "Fight premature micro-optimizations!") but I'd still like to see the
> fix made to Classpath proper.
> 
> There seems to be at least one developer opposed to the patch and at
> least a couple who are somewhat in favor. If there's any clear
> consensus, it's eluding me ;) So what happens next?

Don't you still have commit access?  :)

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



From MAILER-DAEMON Thu Oct 09 07:37:16 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A7YzV-0003b6-Ip
	for mharc-classpath@gnu.org; Thu, 09 Oct 2003 07:29:57 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A7Yyt-0003T5-8i
	for classpath@gnu.org; Thu, 09 Oct 2003 07:29:19 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A7YwW-0002ye-EM
	for classpath@gnu.org; Thu, 09 Oct 2003 07:27:23 -0400
Received: from [210.86.15.146] (helo=mta203-rme.xtra.co.nz)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A7Yal-0000M3-9x
	for classpath@gnu.org; Thu, 09 Oct 2003 07:04:23 -0400
Received: from web1-rme.xtra.co.nz ([210.86.15.143])
	by mta203-rme.xtra.co.nz with ESMTP
	id <20031009110420.SZKJ9492.mta203-rme.xtra.co.nz@web1-rme.xtra.co.nz>; 
	Fri, 10 Oct 2003 00:04:20 +1300
Received: from [192.168.1.202] ([210.86.30.80]) by web1-rme.xtra.co.nz
	with ESMTP
	id <20031009110420.FXYY24808.web1-rme.xtra.co.nz@[192.168.1.202]>;
	Fri, 10 Oct 2003 00:04:20 +1300
In-Reply-To: <3F8413FD.1090702@corp.fast.net>
References: <3F71A075.9020405@corp.fast.net> <3F73336A.7060300@corp.fast.net>
	<3F8413FD.1090702@corp.fast.net>
Mime-Version: 1.0 (Apple Message framework v606)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <E1BD0343-FA48-11D7-B380-003065F97F7C@mckinlay.net.nz>
Content-Transfer-Encoding: 7bit
From: Bryce McKinlay <bryce@mckinlay.net.nz>
Date: Fri, 10 Oct 2003 00:08:16 +1300
To: Stuart Ballard <stuart.ballard@corp.fast.net>
X-Mailer: Apple Mail (2.606)
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: [really patch] Re: HashMap putAll/putAllInternal bug
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Oct 2003 11:29:55 -0000

On Oct 9, 2003, at 2:41 AM, Stuart Ballard wrote:

> Stuart Ballard wrote:
>> Bah, forgot the attachment.
>
> Any decision on this?
>
> Kaffe's applied it for their 1.1.2 release (dalibor's comment was 
> "Fight premature micro-optimizations!") but I'd still like to see the 
> fix made to Classpath proper.
>
> There seems to be at least one developer opposed to the patch and at 
> least a couple who are somewhat in favor. If there's any clear 
> consensus, it's eluding me ;) So what happens next?

I wrote a quick test program to examine the behaviour of Sun's 
ArrayList - and it definitely calls and relies on size(). So, in the 
case of the List classes our current implementation should probably 
remain. I'll concede that the Map changes don't really do any harm 
(apart from the minor efficiency loss) - so go ahead and check that in 
if you want.

Regards

Bryce.




From MAILER-DAEMON Thu Oct 09 07:52:57 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A7ZKw-0001RE-Ha
	for mharc-classpath@gnu.org; Thu, 09 Oct 2003 07:52:06 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A7ZGR-0007Ii-O4
	for classpath@gnu.org; Thu, 09 Oct 2003 07:47:27 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A7ZF0-0006pw-OX
	for classpath@gnu.org; Thu, 09 Oct 2003 07:46:29 -0400
Received: from [217.8.192.20] (helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A7ZBA-0005rh-0B
	for classpath@gnu.org; Thu, 09 Oct 2003 07:42:00 -0400
Received: from [192.168.1.33] (196.89.dyn-adsl.customer.ch.easynet.net
	[217.8.196.89]) by smtp2.mail.ch.easynet.net (Postfix) with ESMTP
	id F212B64614; Thu,  9 Oct 2003 13:41:43 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Thu, 9 Oct 2003 13:40:56 +0200
Message-Id: <20031009114056.10936@smtp.mail.ch.easynet.net>
In-Reply-To: <E1BD0343-FA48-11D7-B380-003065F97F7C@mckinlay.net.nz>
References: <E1BD0343-FA48-11D7-B380-003065F97F7C@mckinlay.net.nz>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: Bryce McKinlay <bryce@mckinlay.net.nz>
Subject: Re: [really patch] Re: HashMap putAll/putAllInternal bug
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Oct 2003 11:52:04 -0000

Bryce McKinlay <bryce@mckinlay.net.nz> wrote on Fri, 10 Oct 2003 00:08:16
+1300:

>I wrote a quick test program to examine the behaviour of Sun's 
>ArrayList - and it definitely calls and relies on size().

Would it make sense to have such test programs in the Mauve test suite?
Bryce, would you be willing to to contribute your test to Mauve?

-- Sascha

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





From MAILER-DAEMON Thu Oct 09 08:37:14 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A7a2c-0002OL-2f
	for mharc-classpath@gnu.org; Thu, 09 Oct 2003 08:37:14 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A7a2Z-0002Nw-Ts
	for classpath@gnu.org; Thu, 09 Oct 2003 08:37:11 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A7a23-0002MV-8S
	for classpath@gnu.org; Thu, 09 Oct 2003 08:37:10 -0400
Received: from [217.8.192.20] (helo=smtp1.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A7a22-0002MR-TV
	for classpath@gnu.org; Thu, 09 Oct 2003 08:36:39 -0400
Received: from [192.168.1.33] (196.89.dyn-adsl.customer.ch.easynet.net
	[217.8.196.89]) by smtp1.mail.ch.easynet.net (Postfix) with ESMTP
	id E76D04A06A; Thu,  9 Oct 2003 14:36:36 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: graydon hoare <graydon@redhat.com>
Date: Thu, 9 Oct 2003 14:35:50 +0200
Message-Id: <20031009123550.11238@smtp.mail.ch.easynet.net>
In-Reply-To: <87brsu58pg.fsf@dub.venge.net>
References: <87brsu58pg.fsf@dub.venge.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: extended peers
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Oct 2003 12:37:12 -0000

Hi Graydon,

>[long list of arguments for putting all font state into the peers]

You've convinced me.

>do you mind if I implement something based on what we've discussed,
>and modify later to suit any remaining nits?

This sounds like a very good idea.

Best regards,

-- Sascha

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





From MAILER-DAEMON Thu Oct 09 09:07:58 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A7aVr-0006r3-DA
	for mharc-classpath@gnu.org; Thu, 09 Oct 2003 09:07:27 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A7aQB-0005D1-Ez
	for classpath@gnu.org; Thu, 09 Oct 2003 09:01:35 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A7aOc-0004jv-B3
	for classpath@gnu.org; Thu, 09 Oct 2003 09:00:29 -0400
Received: from [81.5.129.62] (helo=tangency.co.uk)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A7aOb-0004he-JR
	for classpath@gnu.org; Thu, 09 Oct 2003 08:59:57 -0400
Received: from tangency.co.uk (localhost [127.0.0.1])
	by outgoing.tangency.co.uk (Postfix) with ESMTP id A28F6606F5
	for <classpath@gnu.org>; Thu,  9 Oct 2003 13:59:41 +0100 (BST)
Received: from localhost ([127.0.0.1])
	by tangency.co.uk (MailMonitor for SMTP v1.2.2 ) ;
	Thu, 9 Oct 2003 13:59:41 +0100 (BST)
Received: from msppc001475 (hide.retek.com [64.238.64.1])
	(using TLSv1 with cipher RC4-SHA (128/128 bits))
	(No client certificate requested)
	by tangency.co.uk (Postfix) with ESMTP id 2284B606F5
	for <classpath@gnu.org>; Thu,  9 Oct 2003 13:59:40 +0100 (BST)
To: GNU Classpath <classpath@gnu.org>
References: <87brsu58pg.fsf@dub.venge.net>
	<20031009123550.11238@smtp.mail.ch.easynet.net>
Message-ID: <oprwr01znxreuyrv@tangency.co.uk>
From: "S. Meslin-Weber" <twiun@adorphuye.com>
Content-Type: text/plain; format=flowed; charset=iso-8859-15
MIME-Version: 1.0
Date: Thu, 09 Oct 2003 13:59:49 +0100
In-Reply-To: <20031009123550.11238@smtp.mail.ch.easynet.net>
User-Agent: Opera7.20/Win32 M2 build 3144
Content-Transfer-Encoding: quoted-printable
Subject: Re: extended peers
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Oct 2003 13:07:24 -0000

> Hi Graydon,
>
>> [long list of arguments for putting all font state into the peers]
>
> You've convinced me.

At the risk of sounding trite, me too.

>> do you mind if I implement something based on what we've discussed,
>> and modify later to suit any remaining nits?
>
> This sounds like a very good idea.


Agreed, I'd also like to use this opportunity to apologise for dropping=20
out of the previous peer conversations - an incredible amount of offal ha=
s=20
hit the fan in my current locality ;)

Stephane




From MAILER-DAEMON Thu Oct 09 10:19:34 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A7bdd-0005Wm-M7
	for mharc-classpath@gnu.org; Thu, 09 Oct 2003 10:19:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A7bdb-0005W7-5S
	for classpath@gnu.org; Thu, 09 Oct 2003 10:19:31 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A7bd4-0005Ok-LH
	for classpath@gnu.org; Thu, 09 Oct 2003 10:19:29 -0400
Received: from [217.8.192.20] (helo=smtp2.mail.ch.easynet.net)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A7bd4-0005OR-2P
	for classpath@gnu.org; Thu, 09 Oct 2003 10:18:58 -0400
Received: from [192.168.1.33] (196.89.dyn-adsl.customer.ch.easynet.net
	[217.8.196.89])
	by smtp2.mail.ch.easynet.net (Postfix) with ESMTP id 910E66468B
	for <classpath@gnu.org>; Thu,  9 Oct 2003 16:18:56 +0200 (CEST)
From: Sascha Brawer <brawer@dandelis.ch>
To: GNU Classpath <classpath@gnu.org>
Date: Thu, 9 Oct 2003 16:18:10 +0200
Message-Id: <20031009141810.8131@smtp.mail.ch.easynet.net>
X-Mailer: CTM PowerMail 3.1.1 carbon <http://www.ctmdev.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Workshop Oct. 14, again
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Oct 2003 14:19:31 -0000

Hi all,

this is the final reminder for:

  GNU Classpath developer workshop at Linux-Kongress 2003
  Tuesday, Oct. 14, 2003, 14:00 - 18:00
  Saarland University, Dept. of Mathematics (Building 27.2)
  Saarbr=FCcken, Germany

If you would like to discuss any specific topics, please inform the list=

so that people can prepare themselves.

So far, the following topics have been mentioned, either on the list or
in private e-mail:

- graphics
- VM interface
- how to attract more developers
- fate of ideas discussed in Karsruhe
- status of individual packages
- task list, roadmap for GNU Classpath 1.0
- NotYetImplementedException, or the right color of bike sheds

In Karlsruhe (LinuxTag, July), I found it quite nice to have dinner
together. We could reserve a table somewhere once we know how many peopl=
e
will attend.

Best regards,

-- Sascha

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





From MAILER-DAEMON Thu Oct 09 11:22:35 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A7ccc-0002M7-Ri
	for mharc-classpath@gnu.org; Thu, 09 Oct 2003 11:22:34 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A7ccW-0002K9-Sm
	for classpath@gnu.org; Thu, 09 Oct 2003 11:22:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A7cc0-00028f-K1
	for classpath@gnu.org; Thu, 09 Oct 2003 11:22:27 -0400
Received: from [146.87.255.98] (helo=iapetus.salford.ac.uk)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1A7cZe-0001dT-79
	for classpath@gnu.org; Thu, 09 Oct 2003 11:19:30 -0400
Received: (qmail 2928 invoked by uid 85); 9 Oct 2003 15:19:28 -0000
Received: from ricky_clarkson@yahoo.com by iapetus.salford.ac.uk by uid 401
	with qmail-scanner-1.16 
	(uvscan: v4.2.40/v4297. spamassassin: 2.55.  Clear:. 
	Processed in 0.337603 secs); 09 Oct 2003 15:19:28 -0000
X-Qmail-Scanner-Mail-From: ricky_clarkson@yahoo.com via iapetus.salford.ac.uk
X-Qmail-Scanner: 1.16 (Clear:. Processed in 0.337603 secs)
Received: (ofmipd 146.87.133.141); 9 Oct 2003 15:19:28 -0000
Received: from ricky by debian with local (Exim 4.22)
	id 1A7cXf-0000Qq-Lk; Thu, 09 Oct 2003 16:17:27 +0100
Date: 9 Oct 2003 16:17:27 +0100
Message-ID: <20031009151727.GA1652@yahoo.com>
From: "Ricky Clarkson" <ricky_clarkson@yahoo.com>
To: "Sascha Brawer" <brawer@dandelis.ch>
References: <20031009141810.8131@smtp.mail.ch.easynet.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20031009141810.8131@smtp.mail.ch.easynet.net>
User-Agent: Mutt/1.5.4i
Cc: classpath@gnu.org
Subject: Re: Workshop Oct. 14, again
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Oct 2003 15:22:32 -0000

Hi,

Is there any plan to record any of this, either by publishing digital
copies of paper stuff, presentations etc., or by publishing videos or
sound files?

I can't come, but it'd be interesting to sit at home and pretend :)

Ricky.

On Thu, Oct 09, 2003 at 04:18:10PM +0200, Sascha Brawer wrote:
> Hi all,
> 
> this is the final reminder for:
> 
>   GNU Classpath developer workshop at Linux-Kongress 2003
>   Tuesday, Oct. 14, 2003, 14:00 - 18:00
>   Saarland University, Dept. of Mathematics (Building 27.2)
>   Saarbr?cken, Germany
> 
> If you would like to discuss any specific topics, please inform the list
> so that people can prepare themselves.
> 
> So far, the following topics have been mentioned, either on the list or
> in private e-mail:
> 
> - graphics
> - VM interface
> - how to attract more developers
> - fate of ideas discussed in Karsruhe
> - status of individual packages
> - task list, roadmap for GNU Classpath 1.0
> - NotYetImplementedException, or the right color of bike sheds
> 
> In Karlsruhe (LinuxTag, July), I found it quite nice to have dinner
> together. We could reserve a table somewhere once we know how many people
> will attend.
> 
> Best regards,
> 
> -- Sascha
> 
> Sascha Brawer, brawer@dandelis.ch, http://www.dandelis.ch/people/brawer/
> 
> 
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath



From MAILER-DAEMON Thu Oct 09 17:09:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A7i2j-0003Kz-CJ
	for mharc-classpath@gnu.org; Thu, 09 Oct 2003 17:09:53 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A7i2g-0003JS-9d
	for classpath@gnu.org; Thu, 09 Oct 2003 17:09:50 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A7i28-00038f-IG
	for classpath@gnu.org; Thu, 09 Oct 2003 17:09:47 -0400
Received: from [210.55.57.198] (helo=server.flinders.co.nz)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1A7i25-00038M-Qo
	for classpath@gnu.org; Thu, 09 Oct 2003 17:09:14 -0400
Received: from [192.168.0.191] by server.flinders.co.nz (AppleMailServer
	10.2.3.0) id 79322 via TCP with SMTP; Fri, 10 Oct 2003 10:18:12 +1300
In-Reply-To: <20031009114056.10936@smtp.mail.ch.easynet.net>
References: <E1BD0343-FA48-11D7-B380-003065F97F7C@mckinlay.net.nz>
	<20031009114056.10936@smtp.mail.ch.easynet.net>
Mime-Version: 1.0 (Apple Message framework v606)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <5F44E524-FA9D-11D7-B380-003065F97F7C@mckinlay.net.nz>
Content-Transfer-Encoding: 7bit
From: Bryce McKinlay <bryce@mckinlay.net.nz>
Date: Fri, 10 Oct 2003 10:13:04 +1300
To: Sascha Brawer <brawer@dandelis.ch>
X-Mailer: Apple Mail (2.606)
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: [really patch] Re: HashMap putAll/putAllInternal bug
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Oct 2003 21:09:52 -0000

On Oct 10, 2003, at 12:40 AM, Sascha Brawer wrote:

> Bryce McKinlay <bryce@mckinlay.net.nz> wrote on Fri, 10 Oct 2003 
> 00:08:16
> +1300:
>
>> I wrote a quick test program to examine the behaviour of Sun's
>> ArrayList - and it definitely calls and relies on size().
>
> Would it make sense to have such test programs in the Mauve test suite?

In this case: no. I'm reluctant to add such a test because it doesn't 
test whether we match the specification, but rather the behaviour of 
another vendors implementation. The internal implementation of 
addAll/putAll is clearly undefined, and properly written code should 
not rely on them being implemented one way or another - only that they 
do what the spec says.

As an analogy, the Linux & glibc developers have never attempted to 
duplicate in precise detail the internal behaviour of functions from 
Solaris or any other OS - instead, they implemented the POSIX spec. 
Likewise, GCC doesn't precisely replicate other vendors compilers, it 
implements the ISO specifications for C and C++. If you rely on a 
behaviour of eg Microsoft's compiler that is undefined by the specs, 
such as evaluation orders or aliasing behaviour, thats too bad - your 
code is broken.

Unfortunately in classpath we often have to make compromises and match 
the JDKs behaviour because many classes and packages are 
under-specified. In those cases we need to make an effort to fix Sun's 
mistake and specify the behaviour properly in our docs.

The collections classes, on the other hand, are actually quite well 
specified in my opinion (having architected many of the current 
collections implementations used in classpath). I don't believe that 
anyone should need to write collections code that relies on unspecified 
details.  Besides, matching every single one of those details would be 
close to impossible without copying Sun's source code virtually line 
for line. I think its better to stop now, while we have a very stable 
and bug-free set of collections classes, or we will forever be chasing 
silly, unspecified details like this, and potentially introducing real 
regressions and reducing performance in the process.

Regards

Bryce.





From MAILER-DAEMON Fri Oct 10 11:05:28 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A7ypZ-0000uo-0B
	for mharc-classpath@gnu.org; Fri, 10 Oct 2003 11:05:25 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A7ypU-0000sr-ML
	for classpath@gnu.org; Fri, 10 Oct 2003 11:05:20 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A7yov-0000ig-Gy
	for classpath@gnu.org; Fri, 10 Oct 2003 11:05:17 -0400
Received: from [209.92.1.31] (helo=newmx1.fast.net)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1A7ylE-0008Th-Cg
	for classpath@gnu.org; Fri, 10 Oct 2003 11:00:56 -0400
Received: (qmail 29061 invoked from network); 10 Oct 2003 15:00:54 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx1.fast.net (qmail-ldap-1.03) with SMTP
	for <bryce@mckinlay.net.nz>; 10 Oct 2003 15:00:54 -0000
Message-ID: <3F86C9A5.7030902@corp.fast.net>
Date: Fri, 10 Oct 2003 11:00:53 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.3.1) Gecko/20030527 Debian/1.3.1-2
X-Accept-Language: en
MIME-Version: 1.0
To: Bryce McKinlay <bryce@mckinlay.net.nz>
References: <E1BD0343-FA48-11D7-B380-003065F97F7C@mckinlay.net.nz>
	<20031009114056.10936@smtp.mail.ch.easynet.net>
	<5F44E524-FA9D-11D7-B380-003065F97F7C@mckinlay.net.nz>
In-Reply-To: <5F44E524-FA9D-11D7-B380-003065F97F7C@mckinlay.net.nz>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>, Sascha Brawer <brawer@dandelis.ch>
Subject: Re: [really patch] Re: HashMap putAll/putAllInternal bug
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Oct 2003 15:05:22 -0000

Bryce McKinlay wrote:
> The collections classes, on the other hand, are actually quite well 
> specified in my opinion (having architected many of the current 
> collections implementations used in classpath). I don't believe that 
> anyone should need to write collections code that relies on unspecified 
> details.  Besides, matching every single one of those details would be 
> close to impossible without copying Sun's source code virtually line for 
> line. I think its better to stop now, while we have a very stable and 
> bug-free set of collections classes, or we will forever be chasing 
> silly, unspecified details like this, and potentially introducing real 
> regressions and reducing performance in the process.

I'm curious as to whether you can come up with an architecture for the 
type of Map I need that includes an efficient and correct implementation 
of size() - that is, an architecture such that the prior implementation 
of putAll() would both work correctly and be not significantly less 
efficient than calling hasNext().

My requirement is for a map which holds references to two other maps, 
"front" and "back". The keySet() of my map is the union of 
front.keySet() and back.keySet(). The value corresponding to a given key 
is 'front.containsKey(key) ? front.get(key) : back.get(key)'. Both front 
and back can be accessed directly through other code and may change in 
any way without my map being notified. How can I implement size() 
without a full iteration?

Stuart.


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




From MAILER-DAEMON Fri Oct 10 13:38:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A81Dz-0003U2-25
	for mharc-classpath@gnu.org; Fri, 10 Oct 2003 13:38:47 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A81Dv-0003SK-24
	for classpath@gnu.org; Fri, 10 Oct 2003 13:38:43 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A81DM-0003In-Tz
	for classpath@gnu.org; Fri, 10 Oct 2003 13:38:40 -0400
Received: from [213.228.0.176] (helo=postfix4-2.free.fr)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A81DM-0003IY-F1
	for classpath@gnu.org; Fri, 10 Oct 2003 13:38:08 -0400
Received: from kaffe.org (cachan-3-82-66-125-112.fbx.proxad.net
	[82.66.125.112])
	by postfix4-2.free.fr (Postfix) with ESMTP id 75947C2A1
	for <classpath@gnu.org>; Fri, 10 Oct 2003 19:38:06 +0200 (CEST)
Message-ID: <3F86EE83.20301@kaffe.org>
Date: Fri, 10 Oct 2003 19:38:11 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Classpath List <classpath@gnu.org>
References: <4F239448-F783-11D7-BE22-003065F97F7C@mckinlay.net.nz>
	<3F81867B.90508@kaffe.org>
In-Reply-To: <3F81867B.90508@kaffe.org>
X-Enigmail-Version: 0.73.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: Modular DNS resolution
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Oct 2003 17:38:45 -0000

Hi,

It seems that the best I can do is to prepare something to put in 
gnu.java.net and build a calling system compatible with dnsJava (for 
instance). I hope to have something done for the next week ...

Cheers,
Guilhem.




From MAILER-DAEMON Sun Oct 12 10:09:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A8guO-0006Nn-BO
	for mharc-classpath@gnu.org; Sun, 12 Oct 2003 10:09:20 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A5NpA-0003Br-BG
	for classpath@gnu.org; Fri, 03 Oct 2003 07:10:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A5Nod-0002hr-DD
	for classpath@gnu.org; Fri, 03 Oct 2003 07:10:14 -0400
Received: from [213.165.64.20] (helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1A5NnW-0002DC-3H
	for classpath@gnu.org; Fri, 03 Oct 2003 07:08:34 -0400
Received: (qmail 28499 invoked by uid 65534); 3 Oct 2003 11:08:31 -0000
Received: from pD9E83E5C.dip.t-dialin.net (EHLO gmx.de) (217.232.62.92)
	by mail.gmx.net (mp004) with SMTP; 03 Oct 2003 13:08:31 +0200
X-Authenticated: #670271
Message-ID: <3F7D594E.3010602@gmx.de>
Date: Fri, 03 Oct 2003 13:11:10 +0200
From: Guido Draheim <guidod-2003-@gmx.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jim Pick <jim@kaffe.org>
References: <3F607252.6060609@gmx.de>	<3F70B3BE.2070905@gmx.de>	<3F71DCFF.4020508@kaffe.org>	<3F71FD18.6090409@gmx.de>	<3F720EDE.7090404@kaffe.org>
	<20030924171302.780dd73e.jim@kaffe.org>
In-Reply-To: <20030924171302.780dd73e.jim@kaffe.org>
Content-Type: multipart/mixed; boundary="------------030303070700090907010306"
X-Mailman-Approved-At: Sun, 12 Oct 2003 10:09:15 -0400
Cc: java@gnu.org, libtool@gnu.org, classpath@gnu.org, visionaries@dotgnu.org,
	miguel@ximian.com, bje@wasabisystems.com, kaffe@kaffe.org
Subject: Re: dotnet platform support / gnu config.sub (long)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Oct 2003 11:10:17 -0000

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



Jim Pick wrote:
> 
> Anyways, the config.sub name is just going to be used to define a
> "target" - so it makes sense to call the target "Java", since it's only
> going to be used by tools generating Java byte code, which will run on
> Sun's JVM.  Of course it will still run on other virtual machines that
> can't use the Java trademark, but that shouldn't be of any concern to
> the tools generating the code, IMHO.
> 

Yes, in the java world it is pretty strict what there is as names for the
machine and language. My original mail was asking for a similar thing
in the dotnet world where microsoft has used "il" internally for its vm,
it was submitted as "cil" to ecma, the binaries get executed with "ilrun",
the class platform is now named "dotnet", and the language is not strictly
specified but "csharp" being new to the flock and sent in for standard in
in the dotnet world as well.

While java does have mostly its own toolchain from .java to .jar parts,
there are tools in the ilvm world that convert .c/.cpp to an ilrun .exe,
including free tools. That spawned the idea to make the platform be
recognized as a crosscompile build target by the usual gnu build tools
that also handle .c/.cpp input sources, and with config.sub heading off
and trying to get a canonic form of whatever of the dozen of names is given
on the commandline.

We could as well clean out the java canonicalization from the patch that
I would like to see put into gnu config, - yet as far as the discussion
has shown the current scheme would still be good and usable around and
in free projects as well. In consequence, the proposed scheme to identify
vm-type platforms would be better supported by its examples living in
config.sub from there on, calling them a *vm-* something $host. That
would be great.

BJE, what do you get from the discussion?       Revised patch attached.
cheers,
-- guido                                  http://google.de/search?q=guidod
GCS/E/S/P C++/++++$ ULHS L++w- N++@ d(+-) s+a- r+@>+++ y++ 5++X- (geekcode)

--------------030303070700090907010306
Content-Type: text/plain;
 name="vm-target-02.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="vm-target-02.patch"

Index: config.sub
===================================================================
RCS file: /cvsroot/config/config/config.sub,v
retrieving revision 1.289
diff -u -r1.289 config.sub
--- config.sub	3 Oct 2003 00:17:36 -0000	1.289
+++ config.sub	3 Oct 2003 11:05:04 -0000
@@ -3,7 +3,7 @@
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
-timestamp='2003-08-18'
+timestamp='2003-10-03'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -218,6 +218,8 @@
 		basic_machine=m68k-atari
 		os=-mint
 		;;
+        -jdk | -j2*)
+                os="-java$os"
 esac
 
 # Decode aliases for certain CPU-COMPANY combinations.
@@ -602,6 +604,22 @@
 		basic_machine=i386-unknown
 		os=-vsta
 		;;
+        cil | ilvm | ilrun)
+                basic_machine=ilvm-pc
+                os=`echo "-ilrun$os" | sed -e 's/ilrun-ilrun/ilrun/'`
+                ;;
+        cil32 | ilvm32 | ilrun32)
+                basic_machine=ilvm32-pc
+                os=`echo "-ilrun$os" | sed -e 's/ilrun-ilrun/ilrun/'`
+                ;;
+        cil-* | ilvm-* | ilrun-*)
+                basic_machine=`echo "$basic_machine" | sed -e 's/^[^-]*/ilvm/'`
+                os=`echo "-ilrun$os" | sed -e 's/ilrun-ilrun/ilrun/'`
+                ;;
+        cil32-* | ilvm32-* | ilrun32-*)
+                basic_machine=`echo "$basic_machine" | sed -e 's/^[^-]*/ilvm32/'`
+                os=`echo "-ilrun$os" | sed -e 's/ilrun-ilrun/ilrun/'`
+                ;;
 	iris | iris4d)
 		basic_machine=mips-sgi
 		case $os in
@@ -616,6 +634,14 @@
 		basic_machine=m68k-isi
 		os=-sysv
 		;;
+        jvm | java | jvm-java)
+	        basic_machine=jvm-unknown
+                os=`echo "-java$os" | sed -e 's/java-java/java/'`
+                ;;
+        jvm-* | java-*)
+                basic_machine=`echo "$basic_machine" | sed -e 's/^java/jvm/'`
+                os=`echo "-java$os" | sed -e 's/java-java/java/'`
+                ;;
 	m88k-omron*)
 		basic_machine=m88k-omron
 		;;
@@ -824,6 +850,14 @@
 		basic_machine=i586-unknown
 		os=-pw32
 		;;
+        pyvm | python)
+	        basic_machine=pyvm-unknown
+                os=`echo "-python$os" | sed -e 's/python-python/python/'`
+                ;;
+        pyvm-* | python-*)
+	        basic_machine=`echo "$basic_machine" | sed -e 's/^python/pyvm/'`
+                os=`echo "-python$os" | sed -e 's/python-python/python/'`
+                ;;
 	rom68k)
 		basic_machine=m68k-rom68k
 		os=-coff
@@ -1143,7 +1177,8 @@
 	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
 	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
 	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
-	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
+	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* \
+	      | -java* | -ilrun* | -python*)
 	# Remember, each alternative MUST END IN *, to match a version number.
 		;;
 	-qnx*)
@@ -1425,6 +1460,15 @@
 	*-atari*)
 		os=-mint
 		;;
+        ilvm-* | ilvm32-*)
+                os=`echo "-ilrun$os" | sed -e 's/ilrun-ilrun/ilrun/'`
+                ;;
+        jvm-*)
+                os=`echo "-java$os" | sed -e 's/java-java/java/'`
+                ;;
+        pyvm-*)
+                os=`echo "-python$os" | sed -e 's/python-python/python/'`
+                ;;
 	*)
 		os=-none
 		;;

--------------030303070700090907010306--




From MAILER-DAEMON Sun Oct 12 10:12:48 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A8guR-0006OT-I3
	for mharc-classpath@gnu.org; Sun, 12 Oct 2003 10:09:23 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A6tgm-0008Hp-Vf
	for classpath@gnu.org; Tue, 07 Oct 2003 11:23:52 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A6tgG-0007xS-J5
	for classpath@gnu.org; Tue, 07 Oct 2003 11:23:51 -0400
Received: from [128.119.243.168] (helo=mail.cs.umass.edu)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.24) id 1A6tgA-0007qj-BZ
	for classpath@gnu.org; Tue, 07 Oct 2003 11:23:14 -0400
Received: from cs.umass.edu (weka.cs.umass.edu [128.119.242.17])
	by mail.cs.umass.edu (8.12.10/8.12.5) with ESMTP id h97FNCT8031920
	for <classpath@gnu.org>; Tue, 7 Oct 2003 11:23:12 -0400
Message-ID: <3F82DA60.90602@cs.umass.edu>
Date: Tue, 07 Oct 2003 11:23:12 -0400
From: Chris Hoffmann <hoffmann@cs.umass.edu>
Organization: UMass Amherst
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030717
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: multipart/mixed; boundary="------------050608050509070804000707"
X-Spam-Net-Tests: NO (loki, relay 128.119.242.17)
X-Spam-Checked: This message probably not SPAM
X-Spam-Score: -6.3, Required: 5
X-Spam-Tests: BAYES_01,PATCH_UNIFIED_DIFF,USER_AGENT_MOZILLA_UA
X-Scanned-By: MIMEDefang 2.36
X-Mailman-Approved-At: Sun, 12 Oct 2003 10:09:17 -0400
Subject: OSX port of classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Oct 2003 15:23:54 -0000

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

I've been working on an OSX port of JikesRVM 
(http://oss.software.ibm.com/developerworks/oss/jikesrvm/?origin=jikes),
which uses classpath 0.06. Is there an official port of classpath to OSX?

If not, I've attached a patch file showing the changes I had to make to 
get classpath working on OSX. By "working" I mean working well enough to 
pass the JikesRVM regression tests that I use, not that the port could 
pass the classpath regresssion tests! And the changes were done by hand; 
if I knew more about configure I would perhaps have done them differently.

Any chance these can be folded into classpath 0.07?

Enjoy,
Chris


-- 
Chris Hoffmann -- Dept. of Computer Science/UMass at Amherst
http://www-ali.cs.umass.edu/~hoffmann

--------------050608050509070804000707
Content-Type: text/plain;
 name="osx-classpath-0.06.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="osx-classpath-0.06.diff"

diff -ur /exp/dodo/ali/home/naren/rvm-cvs-mos/classpath/classpath/native/fdlibm/ieeefp.h classpath/native/fdlibm/ieeefp.h
--- /exp/dodo/ali/home/naren/rvm-cvs-mos/classpath/classpath/native/fdlibm/ieeefp.h	Fri Jan 10 11:49:15 2003
+++ classpath/native/fdlibm/ieeefp.h	Fri Oct  3 11:17:44 2003
@@ -113,6 +113,11 @@
 #endif
 #endif
 
+#if (defined( __BIG_ENDIAN__) && defined( __APPLE__ ))
+#define __IEEE_BIG_ENDIAN
+#endif 
+
+
 #ifdef __fr30__
 #define __IEEE_BIG_ENDIAN
 #endif
diff -ur /exp/dodo/ali/home/naren/rvm-cvs-mos/classpath/classpath/native/jni/java-io/FileDescriptor.c classpath/native/jni/java-io/FileDescriptor.c
--- /exp/dodo/ali/home/naren/rvm-cvs-mos/classpath/classpath/native/jni/java-io/FileDescriptor.c	Wed Jul 30 06:11:34 2003
+++ classpath/native/jni/java-io/FileDescriptor.c	Fri Oct  3 11:19:16 2003
@@ -121,9 +121,9 @@
   if ((*env)->ExceptionOccurred (env))                                  \
     return;
 
-  INIT_FIELD ("in", 0);
-  INIT_FIELD ("out", 1);
-  INIT_FIELD ("err", 2);
+  INIT_FIELD ("in", ((long long)0));
+  INIT_FIELD ("out", ((long long)1));
+  INIT_FIELD ("err", ((long long)2));
 
 #undef INIT_FIELD
 }
@@ -174,6 +174,10 @@
       permissions = TARGET_NATIVE_FILE_FILEPERMISSION_NORMAL;
     }
 
+#ifndef O_SYNC
+#undef TARGET_NATIVE_FILE_FILEFLAG_SYNC
+#define TARGET_NATIVE_FILE_FILEFLAG_SYNC O_FSYNC
+#endif
   if ((jflags & FILEDESCRIPTOR_FILEOPEN_FLAG_SYNC))
     {
       flags |= TARGET_NATIVE_FILE_FILEFLAG_SYNC;
@@ -183,10 +187,12 @@
     {
       flags |= TARGET_NATIVE_FILE_FILEFLAG_DSYNC;
     }
+
 #ifdef O_BINARY
   flags |= TARGET_NATIVE_FILE_FILEFLAG_BINARY;
 #endif
 
+
   TARGET_NATIVE_FILE_OPEN(filename,native_fd,flags,permissions,result);
   (*env)->ReleaseStringUTFChars(env, name, filename);
 
@@ -199,6 +205,7 @@
       return TARGET_NATIVE_MATH_INT_INT64_CONST_MINUS_1;
     }
 
+    
   return CONVERT_INT_TO_JLONG(native_fd);
 }
 
diff -ur /exp/dodo/ali/home/naren/rvm-cvs-mos/classpath/classpath/native/target/generic/target_generic_network.h classpath/native/target/generic/target_generic_network.h
--- /exp/dodo/ali/home/naren/rvm-cvs-mos/classpath/classpath/native/target/generic/target_generic_network.h	Tue Aug 19 05:07:19 2003
+++ classpath/native/target/generic/target_generic_network.h	Fri Oct  3 11:19:55 2003
@@ -66,6 +66,9 @@
 /***************************** Variables *******************************/
 
 /****************************** Macros *********************************/
+#ifdef __MACH__
+typedef int    socklen_t;       
+#endif
 
 /***********************************************************************\
 * Name       : TARGET_NATIVE_NETWORK_IPADDRESS_BYTES_TO_INT

--------------050608050509070804000707--




From MAILER-DAEMON Sun Oct 12 14:08:28 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A8kdo-0002tR-Ky
	for mharc-classpath@gnu.org; Sun, 12 Oct 2003 14:08:28 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A8kdl-0002sz-Q9
	for classpath@gnu.org; Sun, 12 Oct 2003 14:08:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A8kdF-0002qV-2F
	for classpath@gnu.org; Sun, 12 Oct 2003 14:08:24 -0400
Received: from [193.74.71.21] (helo=xizor.is.kpn.be)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A8kdE-0002qN-JZ
	for classpath@gnu.org; Sun, 12 Oct 2003 14:07:52 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by xizor.is.kpn.be  with SMTP id h9CI7kR31558; 
	Sun, 12 Oct 2003 20:07:47 +0200
Message-Id: <200310121807.h9CI7kR31558@xizor.is.kpn.be>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: Dalibor Topic <robilad@kaffe.org>
Date: Sun, 12 Oct 2003 20:08:58 +0200
X-Mailer: KMail [version 1.3]
References: <200310081320.h98DK7R28652@xizor.is.kpn.be>
	<3F84346D.9000002@kaffe.org>
In-Reply-To: <3F84346D.9000002@kaffe.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: GNU Classpath <classpath@gnu.org>, kaffe@kaffe.org
Subject: Re: Where to stay in Saarbruecken
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Oct 2003 18:08:26 -0000

On Wednesday 08 October 2003 17:59, Dalibor Topic wrote:

> In any case, if you're coming down, send me a private e-mail, and I'll
> send you my contact details, so you can get in touch with me on my
> mobile, etc. And in any case, we should all meet on monday evening for a
> couple of drinks ;)

Dalibor,

if you're organising a meal on Tuesday evening then count me in.  Same goes 
for drinks tommorow (Monday) - send me an SMS on the number below. (I'll be 
leaving home sometime around noon, so email won't reach me after then).

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



From MAILER-DAEMON Sun Oct 12 18:44:09 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A8owa-0004Yp-Pq
	for mharc-classpath@gnu.org; Sun, 12 Oct 2003 18:44:08 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A8owX-0004Ve-NA
	for classpath@gnu.org; Sun, 12 Oct 2003 18:44:05 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A8ow1-0004K4-QG
	for classpath@gnu.org; Sun, 12 Oct 2003 18:44:04 -0400
Received: from [217.185.147.122] (helo=clerks.local)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A8ow0-0004Jn-TG
	for classpath@gnu.org; Sun, 12 Oct 2003 18:43:33 -0400
Received: from kaffe.org (localhost [127.0.0.1])
	by clerks.local (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id
	h9CN6tC07989; Mon, 13 Oct 2003 01:06:55 +0200
Message-ID: <3F89DE88.8030203@kaffe.org>
Date: Mon, 13 Oct 2003 01:06:48 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Chris Gray <chris@kiffer.eunet.be>
References: <200310081320.h98DK7R28652@xizor.is.kpn.be>
	<3F84346D.9000002@kaffe.org>
	<200310121807.h9CI7kR31558@xizor.is.kpn.be>
In-Reply-To: <200310121807.h9CI7kR31558@xizor.is.kpn.be>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>, kaffe@kaffe.org
Subject: Re: Where to stay in Saarbruecken
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Oct 2003 22:44:06 -0000

Chris Gray wrote:
> On Wednesday 08 October 2003 17:59, Dalibor Topic wrote:
> 
> 
>>In any case, if you're coming down, send me a private e-mail, and I'll
>>send you my contact details, so you can get in touch with me on my
>>mobile, etc. And in any case, we should all meet on monday evening for a
>>couple of drinks ;)
> 
> 
> Dalibor,
> 
> if you're organising a meal on Tuesday evening then count me in.  Same goes 
> for drinks tommorow (Monday) - send me an SMS on the number below. (I'll be 
> leaving home sometime around noon, so email won't reach me after then).
> 

No worries. I'll be doing some chili cooking & drinking with Mark 
Wielaard at my place first (details below), and we may decide to finish 
the evening in one of the surrounding bars. Join us anytime.

So come to Martin-Luther-Strasse 6a, and ring the bell for with Topic on 
it, that's me ;) The place is quite easy to find, Mark got lost in 
Saarbruecken, and popped out right at my door this afternoon. So the 
simplest way to find it walking from the train station is to turn left 
when you get out, and follow the city train tracks till you arrive at a 
church, Johanneskirche. standing at the church? Good, walk down the 
street between the church's garden and the buildings left to it (if you 
came down from the train station). From there you just keep going 
straight down that street across the Nauwieser quarter, till you get to 
a bus stop, that says LVA on it. If you're taking a taxi, you want to go 
to 'LVA' or 'el-fauh-ah' as Germans pronounce that. You're basically 
there: a few meters down the road is a red 'TOTAL' gas station, and a 
'Crown' gambling place. My door is next to the gaming place, 6a.

If you miss it, don't hesitate to call me: +49 681 3799246 or my mobile 
at +49 177 2664192. Oh, and if you need a place to stay, or help 
locating a hotel, give me a call as well. I could provide a sleeping bag 
for one, and room to crash for another person or two.

I assume we'll organize the dinner on tuesday on the spot, depending how 
many of us there are, and any plans Sascha has (who lived in 
Saarbruecken for some time, too).

have a good trip,
dalibor topic

Martin Luther Strasse 6a
Saarbruecken
+49 681 3799246
+49 177 2664192





From MAILER-DAEMON Sun Oct 12 19:10:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A8pML-0008Tv-Kj
	for mharc-classpath@gnu.org; Sun, 12 Oct 2003 19:10:45 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A8pMJ-0008Sy-A5
	for classpath@gnu.org; Sun, 12 Oct 2003 19:10:43 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A8pLm-0008H8-3p
	for classpath@gnu.org; Sun, 12 Oct 2003 19:10:42 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.24) id 1A8pLl-00088Z-9P
	for classpath@gnu.org; Sun, 12 Oct 2003 19:10:09 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id h9CN4ODG068680
	for <classpath@gnu.org>; Mon, 13 Oct 2003 09:04:25 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "classpath" <classpath@gnu.org>
Date: Mon, 13 Oct 2003 09:08:14 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCCEEADIAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <3F86C9A5.7030902@corp.fast.net>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Subject: RE: [really patch] Re: HashMap putAll/putAllInternal bug
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Oct 2003 23:10:43 -0000

Stuart Ballard wrote:
> My requirement is for a map which holds references to two
> other maps, "front" and "back". The keySet() of my map is the union
of
> front.keySet() and back.keySet(). The value corresponding
> to a given key is 'front.containsKey(key) ? front.get(key) :
> back.get(key)'. Both front and back can be accessed directly through
> other code and may change in any way without my map being notified.
> How can I implement size() without a full iteration?

If you extend AbstractMap (why on earth would you with this
specialised implementation?) then size is defined as
entrySet().size(). From what you wrote it would appear that
entrySet().size() in your case will be a function of the size of the
front and back entrysets. Even if these are modified outside of the
main map, as long as it's not concurrent (in which case you're on your
own), then you should still be able to calculate the map size if the
front and back maps maintain their size correctly.

If you can't provide a valid implementation for any concrete method
that you are supposed to implement, then it seems quite unreasonable
of you to expect any inherited methods to work for you. I think it
quite reasonable for a method like putAll to expect to be able to use
any of the non-optional methods of Map/Set/Iterator to do its job -
even if it doesn't document exactly which methods it uses.

David Holmes




From MAILER-DAEMON Sun Oct 12 20:28:34 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A8qZd-0001LM-2j
	for mharc-classpath@gnu.org; Sun, 12 Oct 2003 20:28:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A8qZY-0001K5-4V
	for classpath@gnu.org; Sun, 12 Oct 2003 20:28:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A8qZ1-00015K-O0
	for classpath@gnu.org; Sun, 12 Oct 2003 20:28:26 -0400
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A8qZ0-00013B-M4
	for classpath@gnu.org; Sun, 12 Oct 2003 20:27:54 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.10/8.12.10) with ESMTP id h9D0RJmW023441;
	Mon, 13 Oct 2003 10:27:19 +1000 (EST)
Message-Id: <200310130027.h9D0RJmW023441@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: "David Holmes" <dholmes@dltech.com.au>
In-Reply-To: Message from "David Holmes" <dholmes@dltech.com.au> of "Mon,
	13 Oct 2003 09:08:14 +1000."
	<NFBBKALFDCPFIDBNKAPCCEEADIAA.dholmes@dltech.com.au> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 13 Oct 2003 10:27:40 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang)
Cc: crawley@piglet.dstc.edu.au, classpath <classpath@gnu.org>
Subject: Re: [really patch] Re: HashMap putAll/putAllInternal bug 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Oct 2003 00:28:31 -0000


"David Holmes" <dholmes@dltech.com.au> wrote:
> If you can't provide a valid implementation for any concrete method
> that you are supposed to implement, then it seems quite unreasonable
> of you to expect any inherited methods to work for you. I think it
> quite reasonable for a method like putAll to expect to be able to use
> any of the non-optional methods of Map/Set/Iterator to do its job -
> even if it doesn't document exactly which methods it uses.

The corollary is that if you can't provide a valid (and sufficiently
efficient for your purposes) implementation for an abstract method in
AbstractMap, then you should NOT be extending AbstractMap.  Rather you
should be implementing the Map interface from scratch.

-- Steve




From MAILER-DAEMON Mon Oct 13 12:04:40 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A95BX-0006Ow-TG
	for mharc-classpath@gnu.org; Mon, 13 Oct 2003 12:04:39 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A95BS-0006MO-BD
	for classpath@gnu.org; Mon, 13 Oct 2003 12:04:34 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A95Ap-000697-LK
	for classpath@gnu.org; Mon, 13 Oct 2003 12:04:26 -0400
Received: from [209.92.1.32] (helo=newmx2.fast.net)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1A95Ao-00068W-U4
	for classpath@gnu.org; Mon, 13 Oct 2003 12:03:55 -0400
Received: (qmail 11582 invoked from network); 13 Oct 2003 16:03:53 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx2.fast.net (qmail-ldap-1.03) with SMTP
	for <dholmes@dltech.com.au>; 13 Oct 2003 16:03:53 -0000
Message-ID: <3F8ACCE8.2080502@corp.fast.net>
Date: Mon, 13 Oct 2003 12:03:52 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.3.1) Gecko/20030527 Debian/1.3.1-2
X-Accept-Language: en
MIME-Version: 1.0
To: David Holmes <dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCCEEADIAA.dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCCEEADIAA.dholmes@dltech.com.au>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath <classpath@gnu.org>
Subject: Re: [really patch] Re: HashMap putAll/putAllInternal bug
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Oct 2003 16:04:36 -0000

David Holmes wrote:
> If you extend AbstractMap (why on earth would you with this
> specialised implementation?) then size is defined as
> entrySet().size(). From what you wrote it would appear that
> entrySet().size() in your case will be a function of the size of the
> front and back entrysets. Even if these are modified outside of the
> main map, as long as it's not concurrent (in which case you're on your
> own), then you should still be able to calculate the map size if the
> front and back maps maintain their size correctly.


Sure, I can calculate the size. The problem is that doing so requires a 
full iteration over the elements of both sets: you can't just sum the 
sizes, because you have to correctly account for elements that are in 
both sets.

That makes this "optimization" of just looping size() times actually a 
pessimization, because you have to iterate over the elements twice 
instead of once. I didn't provide a correct implementation of size() for 
exactly this reason: I was afraid that it would get called a lot on the 
assumption that it's fast, when it's not.

As for why I need this implementation: it's being used for a language 
interpreter and provides an implementation of nested scoping of 
variables. Performance is important because it gets used a LOT. I wanted 
to make sure that creating a new scope was cheap and didn't affect the 
parent scope (it does caching to make sure that gets are cheap too). The 
reasons why both the front and back scope need to be able to change 
directly are complicated but (as far as I've found so far) unavoidable.


> If you can't provide a valid implementation for any concrete method
> that you are supposed to implement, then it seems quite unreasonable
> of you to expect any inherited methods to work for you. I think it
> quite reasonable for a method like putAll to expect to be able to use
> any of the non-optional methods of Map/Set/Iterator to do its job -
> even if it doesn't document exactly which methods it uses.

True, except that I would think it's reasonable to expect the 
implementations to be optimized for the general case, not under a 
mistaken assumption that size() is fast. If I were to provide a correct 
implementation of size(), I'd be even more concerned about this issue 
because then it would be an important performance problem that would be 
really hard to diagnose.

Stuart.

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




From MAILER-DAEMON Mon Oct 13 12:15:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A95MH-00015g-Rv
	for mharc-classpath@gnu.org; Mon, 13 Oct 2003 12:15:45 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A95ME-00014L-Bx
	for classpath@gnu.org; Mon, 13 Oct 2003 12:15:42 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A95Lh-0000zJ-43
	for classpath@gnu.org; Mon, 13 Oct 2003 12:15:41 -0400
Received: from [209.92.1.32] (helo=newmx2.fast.net)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1A95GY-0008LV-0b
	for classpath@gnu.org; Mon, 13 Oct 2003 12:09:50 -0400
Received: (qmail 30401 invoked from network); 13 Oct 2003 16:09:49 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx2.fast.net (qmail-ldap-1.03) with SMTP
	for <crawley@dstc.edu.au>; 13 Oct 2003 16:09:49 -0000
Message-ID: <3F8ACE4C.5030603@corp.fast.net>
Date: Mon, 13 Oct 2003 12:09:48 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.3.1) Gecko/20030527 Debian/1.3.1-2
X-Accept-Language: en
MIME-Version: 1.0
To: Stephen Crawley <crawley@dstc.edu.au>
References: <200310130027.h9D0RJmW023441@piglet.dstc.edu.au>
In-Reply-To: <200310130027.h9D0RJmW023441@piglet.dstc.edu.au>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath <classpath@gnu.org>, crawley@piglet.dstc.edu.au
Subject: Re: [really patch] Re: HashMap putAll/putAllInternal bug
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Oct 2003 16:15:44 -0000

Stephen Crawley wrote:
> The corollary is that if you can't provide a valid (and sufficiently
> efficient for your purposes) implementation for an abstract method in
> AbstractMap, then you should NOT be extending AbstractMap.  Rather you
> should be implementing the Map interface from scratch.

It doesn't matter whether I inherit from AbstractMap or not - I am, in 
fact, but it's irrelevant to the discussion at hand, because the code 
that's causing a problem is in HashMap, not AbstractMap, and it applies 
when a Map of my type is passed to putAll() on a HashMap.

The problem is that, while I could implement the size() method correctly 
on my Map type, it would be very slow, and hence all the algorithms 
which "optimize" by using size() instead of hasNext()* are 
pessimizations instead. And performance is important for my usage.

Stuart.

* Does anyone actually have a single example of a case where hasNext() 
is slow? Seems to me that it can never be significantly slower than 
size() because if it were, it could be implemented as "return counter < 
size()".

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




From MAILER-DAEMON Mon Oct 13 18:36:13 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A9BIS-0007mB-1p
	for mharc-classpath@gnu.org; Mon, 13 Oct 2003 18:36:12 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A9BIK-0007ew-Sg
	for classpath@gnu.org; Mon, 13 Oct 2003 18:36:04 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A9BHm-0007Dc-Ns
	for classpath@gnu.org; Mon, 13 Oct 2003 18:36:01 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.24) id 1A9BHm-000791-F4
	for classpath@gnu.org; Mon, 13 Oct 2003 18:35:30 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by mx20.gnu.org with esmtp (Exim 4.24) id 1A9B0L-0007Nd-GB
	for classpath@gnu.org; Mon, 13 Oct 2003 18:17:29 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id h9DMBQpg001007;
	Tue, 14 Oct 2003 08:11:27 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Stuart Ballard" <stuart.ballard@corp.fast.net>
Date: Tue, 14 Oct 2003 08:15:32 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCEEENDIAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <3F8ACE4C.5030603@corp.fast.net>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Cc: classpath <classpath@gnu.org>
Subject: RE: [really patch] Re: HashMap putAll/putAllInternal bug
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Oct 2003 22:36:08 -0000

Stuart Ballard wrote:
> because the code that's causing a problem is in HashMap,
> not AbstractMap, and it applies
> when a Map of my type is passed to putAll() on a HashMap.
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Stuart I apologize. I had misunderstood the exact nature and source of
the problem. I agree that both Abstractmap and HashMap putAll methods
should use hasNext() of the target collections iterator, not it's
size() method. In fact those methods should use nothing other than the
target collection's iterator as specified in AbstractMap.

David Holmes




From MAILER-DAEMON Mon Oct 13 23:05:08 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A9FUi-0001Qf-F2
	for mharc-classpath@gnu.org; Mon, 13 Oct 2003 23:05:08 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A9FUg-0001QU-B4
	for classpath@gnu.org; Mon, 13 Oct 2003 23:05:06 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A9FUA-0001J0-Jq
	for classpath@gnu.org; Mon, 13 Oct 2003 23:05:05 -0400
Received: from [210.55.57.198] (helo=server.flinders.co.nz)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1A9FU9-0001HJ-Mf
	for classpath@gnu.org; Mon, 13 Oct 2003 23:04:34 -0400
Received: from [192.168.0.191] by server.flinders.co.nz (AppleMailServer
	10.2.3.0) id 81930 via TCP with SMTP; Tue, 14 Oct 2003 16:13:47 +1300
In-Reply-To: <3F86C9A5.7030902@corp.fast.net>
References: <E1BD0343-FA48-11D7-B380-003065F97F7C@mckinlay.net.nz>
	<20031009114056.10936@smtp.mail.ch.easynet.net>
	<5F44E524-FA9D-11D7-B380-003065F97F7C@mckinlay.net.nz>
	<3F86C9A5.7030902@corp.fast.net>
Mime-Version: 1.0 (Apple Message framework v606)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <1D320F7D-FDF3-11D7-8E6E-003065F97F7C@mckinlay.net.nz>
Content-Transfer-Encoding: 7bit
From: Bryce McKinlay <bryce@mckinlay.net.nz>
Date: Tue, 14 Oct 2003 16:04:23 +1300
To: Stuart Ballard <stuart.ballard@corp.fast.net>
X-Mailer: Apple Mail (2.606)
Cc: GNU Classpath <classpath@gnu.org>, Sascha Brawer <brawer@dandelis.ch>
Subject: Re: [really patch] Re: HashMap putAll/putAllInternal bug
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Oct 2003 03:05:06 -0000

On Oct 11, 2003, at 4:00 AM, Stuart Ballard wrote:

> Bryce McKinlay wrote:
>> The collections classes, on the other hand, are actually quite well 
>> specified in my opinion (having architected many of the current 
>> collections implementations used in classpath). I don't believe that 
>> anyone should need to write collections code that relies on 
>> unspecified details.  Besides, matching every single one of those 
>> details would be close to impossible without copying Sun's source 
>> code virtually line for line. I think its better to stop now, while 
>> we have a very stable and bug-free set of collections classes, or we 
>> will forever be chasing silly, unspecified details like this, and 
>> potentially introducing real regressions and reducing performance in 
>> the process.
>
> I'm curious as to whether you can come up with an architecture for the 
> type of Map I need that includes an efficient and correct 
> implementation of size() - that is, an architecture such that the 
> prior implementation of putAll() would both work correctly and be not 
> significantly less efficient than calling hasNext().
>
> My requirement is for a map which holds references to two other maps, 
> "front" and "back". The keySet() of my map is the union of 
> front.keySet() and back.keySet(). The value corresponding to a given 
> key is 'front.containsKey(key) ? front.get(key) : back.get(key)'. Both 
> front and back can be accessed directly through other code and may 
> change in any way without my map being notified. How can I implement 
> size() without a full iteration?

If you need this to be fast, perhaps the best way (to guarantee good 
performance on any implementation) would be to define your own method:

HashMap asHashMap()
{
   HashMap hash = new HashMap(estimatedSize);
   hash.putAll(front);
   hash.putAll(back);
   return hash;
}

Bryce.





From MAILER-DAEMON Tue Oct 14 11:18:15 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A9QwA-00070x-Vg
	for mharc-classpath@gnu.org; Tue, 14 Oct 2003 11:18:14 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A9Qw6-0006tx-4b
	for classpath@gnu.org; Tue, 14 Oct 2003 11:18:10 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A9QvN-0006Gm-Rj
	for classpath@gnu.org; Tue, 14 Oct 2003 11:17:57 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A9QvF-0005ye-TK
	for classpath@gnu.org; Tue, 14 Oct 2003 11:17:18 -0400
Received: from fleche.redhat.com (tf0021.peakpeak.com [204.144.239.21])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id JAA01248;
	Tue, 14 Oct 2003 09:17:02 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id AB9B94F877F; Tue, 14 Oct 2003 09:08:50 -0600 (MDT)
To: Chris Hoffmann <hoffmann@cs.umass.edu>
References: <3F82DA60.90602@cs.umass.edu>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: When you said ``HEAVILY FORESTED'' it reminded me of an overdue
	CLEANING BILL..  Don't you SEE?  O'Grogan SWALLOWED a VALUABLE
	COIN COLLECTION and HAD to murder the ONLY MAN who KNEW!!
Date: 14 Oct 2003 09:08:50 -0600
In-Reply-To: <3F82DA60.90602@cs.umass.edu>
Message-ID: <871xtf501p.fsf@fleche.redhat.com>
Lines: 48
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: OSX port of classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Oct 2003 15:18:12 -0000

>>>>> "Chris" == Chris Hoffmann <hoffmann@cs.umass.edu> writes:

Chris> Any chance these can be folded into classpath 0.07?

Probably.

Chris> +++ classpath/native/fdlibm/ieeefp.h	Fri Oct  3 11:17:44 2003

This part looks fine to me.  It might be better to put this check in
with the other OS checks when __PPC__ is defined, though (that's what
we did in libgcj :-).

Could you do this and write a ChangeLog entry?  I'll check this bit
in.

Chris> +  INIT_FIELD ("in", ((long long)0));
Chris> +  INIT_FIELD ("out", ((long long)1));
Chris> +  INIT_FIELD ("err", ((long long)2));

Why did you need this?

Chris> +#ifndef O_SYNC
Chris> +#undef TARGET_NATIVE_FILE_FILEFLAG_SYNC
Chris> +#define TARGET_NATIVE_FILE_FILEFLAG_SYNC O_FSYNC
Chris> +#endif

This looks like something that should go in one of the target headers.

Chris> +#ifdef __MACH__
Chris> +typedef int    socklen_t;       
Chris> +#endif

Likewise.


BTW, I saw this in FileDescriptor.c:

#ifdef O_BINARY
  flags |= TARGET_NATIVE_FILE_FILEFLAG_BINARY;
#endif

That looks weird to me.  It would be cleaner to just always include
this, and let targets define it to 0.

Also, the target headers I looked at don't conform to the GNU coding
standard.

Tom



From MAILER-DAEMON Tue Oct 14 15:35:00 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A9Uwd-0001zj-MK
	for mharc-classpath@gnu.org; Tue, 14 Oct 2003 15:34:59 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A9Uwa-0001yv-KK
	for classpath@gnu.org; Tue, 14 Oct 2003 15:34:56 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A9Uw3-0001sl-PF
	for classpath@gnu.org; Tue, 14 Oct 2003 15:34:54 -0400
Received: from [213.46.255.15] (helo=viefep13-int.chello.at)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1A9Uvy-0001rj-N1
	for classpath@gnu.org; Tue, 14 Oct 2003 15:34:18 -0400
Received: from 6-allhosts ([80.109.234.144]) by viefep13-int.chello.at
	(InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP
	id <20031014193415.KYAM4020.viefep13-int.chello.at@6-allhosts>
	for <classpath@gnu.org>; Tue, 14 Oct 2003 21:34:15 +0200
From: Joseph Wenninger <jowenn@kde.org>
To: classpath@gnu.org
Content-Type: text/plain
Message-Id: <1066160036.3044.25.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Tue, 14 Oct 2003 21:33:57 +0200
Content-Transfer-Encoding: 7bit
Subject: classpath initialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Oct 2003 19:34:58 -0000

Hi

I'm trying to use an unmodified classpath (0.06). I already have
something working with a modified one.

My problem is that the call stack during initialization of the System
class I looks something like 

LOG:  called: java/lang/System.<clinit>()V()
LOG:   called:
java/lang/System.loadLibrary(Ljava/lang/String;)V(405c8488)
LOG:     called: java/lang/Runtime.getRuntime()Ljava/lang/Runtime;()
LOG:     finished:
java/lang/Runtime.getRuntime()Ljava/lang/Runtime;->0x8420fd8
LOG:     called:
java/lang/Runtime.loadLibrary(Ljava/lang/String;)V(8420fd8, 405c8488)
LOG:     called:
java/lang/VMSecurityManager.currentClassLoader()Ljava/lang/ClassLoader;()
LOG:     called: java/lang/ClassLoader.<clinit>()V()
LOG: compiler_addinitclass: java/lang/VMClassLoader
LOG:     called:
java/lang/VMClassLoader.getSystemClassLoader()Ljava/lang/ClassLoader;()
LOG:     called:
java/lang/System.getProperty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;(405cb500, 405cb578)
()V<i

The last line causes an exception, since the static member properties
isn't initialized yet. Did anybody else encounter such a problem ? I'm
not sure if that it is a vm bug or a compiler problem or something that
I miss

Kind regards
Joseph Wenninger




From MAILER-DAEMON Tue Oct 14 20:07:19 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A9Z8M-0005ab-1e
	for mharc-classpath@gnu.org; Tue, 14 Oct 2003 20:03:22 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A9Z4l-0003uB-1M
	for classpath@gnu.org; Tue, 14 Oct 2003 19:59:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A9Z39-0002mR-PY
	for classpath@gnu.org; Tue, 14 Oct 2003 19:58:30 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.24) id 1A9Z1U-0000ho-Ia
	for classpath@gnu.org; Tue, 14 Oct 2003 19:56:17 -0400
Received: from [24.93.67.83] (helo=ms-smtp-02-eri0.southeast.rr.com)
	by mx20.gnu.org with esmtp (Exim 4.24) id 1A9Z19-0003mc-S4
	for classpath@gnu.org; Tue, 14 Oct 2003 19:55:55 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	h9ENts9j016155
	for <classpath@gnu.org>; Tue, 14 Oct 2003 19:55:54 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id DC1E1BE641; Tue, 14 Oct 2003 19:49:40 -0400 (EDT)
Sender: cbj@haphazard.org
To: GNU Classpath <classpath@gnu.org>
From: Brian Jones <cbj@gnu.org>
Date: 14 Oct 2003 19:49:40 -0400
Message-ID: <m38ynnidm3.fsf@lyta.haphazard.org>
Lines: 62
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Subject: Fwd: Alan Moore assigns past and future changes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Oct 2003 00:03:18 -0000

--=-=-=
Content-Type: message/rfc822
Content-Disposition: inline

X-From-Line: tedt@fsf.org  Tue Oct 14 10:20:04 2003
Return-Path: <tedt@fsf.org>
Delivered-To: cbj@localhost.haphazard.org
Received: from localhost (localhost [127.0.0.1])
	by lyta.haphazard.org (Postfix) with ESMTP id 07180BE641
	for <cbj@localhost>; Tue, 14 Oct 2003 10:20:04 -0400 (EDT)
Received: from pop-server.nc.rr.com [24.25.4.167]
	by localhost with POP3 (fetchmail-5.9.0)
	for cbj@localhost (single-drop); Tue, 14 Oct 2003 10:20:04 -0400 (EDT)
Received: from ms-mta-01-eri0 (ms-mta-01-qfe1 [10.10.5.70])
	by ms-mss-01.southeast.rr.com
	(iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003))
	with ESMTP id <0HMR007WA401WJ@ms-mss-01.southeast.rr.com> for
	cbj%nc.rr.com@ims-ms-daemon; Tue, 14 Oct 2003 10:24:14 -0400 (EDT)
Received: from lamx02.mgw.rr.com (lamx02.mgw.rr.com [66.75.160.13])
	by ms-mta-01.southeast.rr.com
	(iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003))
	with ESMTP id <0HMR003OE40666@ms-mta-01.southeast.rr.com> for
	cbj@nc.rr.com
	(ORCPT cbj@nc.rr.com); Tue, 14 Oct 2003 10:24:10 -0400 (EDT)
Received: from fencepost.gnu.org (fencepost.gnu.org [199.232.76.164])
	by lamx02.mgw.rr.com (8.12.10/8.12.8) with ESMTP id h9EEMCJF014346	for
	<cbj@nc.rr.com>; Tue, 14 Oct 2003 10:24:00 -0400 (EDT)
Received: from monty-python.gnu.org ([199.232.76.173])
	by fencepost.gnu.org with esmtp (Exim 4.24)
	id 1A9Pvq-0001Lb-3n	for cbj@gnu.org; Tue, 14 Oct 2003 10:13:50 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A9Py3-00067l-Hp	for cbj@gnu.org; Tue, 14 Oct 2003 10:16:38 -0400
Received: from [199.232.76.163] (helo=[192.168.0.10])
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)	(Exim 4.24)
	id 1A9PxK-0005wk-2K; Tue, 14 Oct 2003 10:15:22 -0400
Date: Tue, 14 Oct 2003 10:13:14 -0400
From: Ted Teah <tedt@fsf.org>
Subject: Alan Moore assigns past and future changes
To: Brian Jones <cbj@gnu.org>, Paul Fisher <rao@gnu.org>
Message-id: <1066140793.7648.4.camel@spider.localnet>
Organization: 
X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5)
X-Spam-Status: No, hits=-2.4 required=5.0	tests=USER_AGENT_XIMIAN	version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
Original-recipient: rfc822;cbj@nc.rr.com
Lines: 11
Xref: lyta.haphazard.org mail.misc:18950
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii


cc - maintainer
name: Alan Moore
email: alan_moore@gmx.net

Which files have you changed so far, and which new files have you
written so far?
changed: RE.java, REException.java,
new: MessagesBundle.properties



--=-=-=



-- 
Brian Jones <cbj@gnu.org>

--=-=-=--



From MAILER-DAEMON Tue Oct 14 21:20:31 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1A9aHu-0003ap-A2
	for mharc-classpath@gnu.org; Tue, 14 Oct 2003 21:17:18 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A9aH9-0003Mi-Na
	for classpath@gnu.org; Tue, 14 Oct 2003 21:16:31 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A9ZbZ-0007eK-VC
	for classpath@gnu.org; Tue, 14 Oct 2003 20:34:06 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.24) id 1A9ZbZ-0007Xu-FR
	for classpath@gnu.org; Tue, 14 Oct 2003 20:33:33 -0400
Received: from [203.12.22.20] (helo=power.connexus.net.au)
	by mx20.gnu.org with esmtp (Exim 4.24) id 1A9ZXO-0006NS-9i
	for classpath@gnu.org; Tue, 14 Oct 2003 20:29:14 -0400
Received: from dholmeslaptop (dholmes.dltech.com.au [203.222.72.2])
	by power.connexus.net.au (8.12.4/8.11.6) with SMTP id h9F0HsSS026555;
	Wed, 15 Oct 2003 10:17:57 +1000 (EST)
	(envelope-from dholmes@dltech.com.au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet
	Service
From: "David Holmes" <dholmes@dltech.com.au>
To: "Joseph Wenninger" <jowenn@kde.org>, <classpath@gnu.org>
Date: Wed, 15 Oct 2003 10:18:13 +1000
Message-ID: <NFBBKALFDCPFIDBNKAPCMEFMDIAA.dholmes@dltech.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-reply-to: <1066160036.3044.25.camel@localhost>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
Cc: 
Subject: RE: classpath initialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Oct 2003 01:17:16 -0000

Joseph,

> My problem is that the call stack during initialization of
> the System class I looks something like
...
> The last line causes an exception, since the static member
> properties isn't initialized yet.

Initialization is quite tricky. Basically your VMClassloader is making
assumptions about the initialization state of the system that are not
valid in the default initialization sequence.

We encountered a similar problem (and others). If we tried to create a
String from a byte[] we needed the EncodingManager which needed to
access a system property but System had not reached a point in
initialization where you could call getProperty. I actually posted an
email to the list about this a couple of weeks ago - which I've
attached below. We had to change the way System.java behaved during
initialization. (Somewhat related we also have to take pains to avoid
referencing String literals early in the VM startup process because
they can't be interned at that point.)

David Holmes


-----Original Message-----
From: classpath-bounces+dholmes=dltech.com.au@gnu.org
[mailto:classpath-bounces+dholmes=dltech.com.au@gnu.org]On Behalf Of
David Holmes
Sent: Thursday, 25 September 2003 2:21 PM
To: classpath
Subject: File encodings and initialization sequence


Just wanted to share experiences with the initialization sequence and
trying to resolve the character encoding problem.

To fill in various system properties in Runtime we use native code to
get C char arrays with output from things like uname, cwd etc. These
are returned as Java byte arrays and have to be converted to Java
Strings. The correct way to do this seemed to be to use the
String(byte[]) constructor and ensure the corrected decoder was used.
But this wasn't possible because the EncodingManager.<clinit> uses
System.getProperty and that would be called before System.<clinit> had
actually initialized its properties object. Hence we'd get a
NullPointerException.

To fix this Runtime now forces System to use it's properties object
until System.<clinit> reaches the point were it clones runtime's
properties object. Before I set any system properties I now extract
the default character set name, acquired via native code, and use that
to set the file.encoding property. Then I set all the encoding alias
properties in case the default charset name is actually an alias.
After that I can construct Strings from byte[] using the right
decoding.

I'm curious how others have dealt with this issue. I'm no expert on
character-set/locale/internationalization issues.

Related to this problem, I also found out that any exception that
occurs prior to the point where System clones the runtime properties
will cause recursive exceptions because Throwable.<clinit> also uses
System.getProperty, which will throw NPE. I'd be tempted to have any
static initialization code that needs a system property to read it
direct from Runtime.properties - though of course that only works for
classes in java.lang.

Cheers,
David Holmes





From MAILER-DAEMON Thu Oct 16 06:45:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AA5dD-0002Ay-Pi
	for mharc-classpath@gnu.org; Thu, 16 Oct 2003 06:45:23 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1A9yUx-00068k-7z
	for classpath@gnu.org; Wed, 15 Oct 2003 23:08:23 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1A9yUR-00060s-Fm
	for classpath@gnu.org; Wed, 15 Oct 2003 23:08:22 -0400
Received: from [217.12.10.43] (helo=web25007.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1A9yUR-00060j-1i
	for classpath@gnu.org; Wed, 15 Oct 2003 23:07:51 -0400
Message-ID: <20031016030749.63811.qmail@web25007.mail.ukl.yahoo.com>
Received: from [163.28.4.2] by web25007.mail.ukl.yahoo.com via HTTP;
	Thu, 16 Oct 2003 04:07:49 BST
Date: Thu, 16 Oct 2003 04:07:49 +0100 (BST)
From: =?iso-8859-1?q?jsona=20laio?= <freeonfair@yahoo.co.uk>
To: classpath@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailman-Approved-At: Thu, 16 Oct 2003 06:45:10 -0400
Subject: [Question] j2ee, classpath, kaffe.
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Oct 2003 03:08:23 -0000

Hi,
Is there anyone/institute who ever developed
application following j2ee spec that runs on free
software such as kaffe and classpath? Because lately I
involve a project that is going to be developed
through free software. So I'm trying to evaluate such
solution would be possible or not. (Though I know
there're other solutions other than java; yet, first,
I'm not familiar with other language; second,
middleware is my consideration this moment.) 
I appreciate any suggestions,
Sincerely.

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk



From MAILER-DAEMON Thu Oct 16 08:34:34 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AA7Kr-0004PN-3C
	for mharc-classpath@gnu.org; Thu, 16 Oct 2003 08:34:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AA7KL-00047D-Gf
	for classpath@gnu.org; Thu, 16 Oct 2003 08:34:01 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AA7Jj-0003xi-0J
	for classpath@gnu.org; Thu, 16 Oct 2003 08:33:54 -0400
Received: from [204.127.202.55] (helo=sccrmhc11.comcast.net)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AA7Ji-0003s6-0x
	for classpath@gnu.org; Thu, 16 Oct 2003 08:33:22 -0400
Received: from byu.net (12-209-128-39.client.attbi.com[12.209.128.39])
	by comcast.net (sccrmhc11) with SMTP id <2003101612330401100d82s7e>
	(Authid: ericblake); Thu, 16 Oct 2003 12:33:05 +0000
Message-ID: <3F8E9012.9060706@byu.net>
Date: Thu, 16 Oct 2003 06:33:22 -0600
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: David Holmes <dholmes@dltech.com.au>
References: <NFBBKALFDCPFIDBNKAPCEEENDIAA.dholmes@dltech.com.au>
In-Reply-To: <NFBBKALFDCPFIDBNKAPCEEENDIAA.dholmes@dltech.com.au>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath <classpath@gnu.org>
Subject: Re: [really patch] Re: HashMap putAll/putAllInternal bug
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Oct 2003 12:34:31 -0000

I just thought of another argument for changing the Map.putAll implementations 
to use hasNext(), rather than size().  Sun's proposal for JDK 1.5 includes 
adding a foreach construct, documented in JSR 201.  According to their 
proposal, the syntax:

for (Object o : mymap.keys()) { /* use o */ }

will be short for

for (Iterator i = mymap.keys().iterator(); i.hasNext();)
{
   Object o = i.next();
   /* use o */
}

Sun seems to be blessing the use of hasNext() here, by not documenting that 
this should optimize to calling size().

I also agree that correctly calculating size() for a list composed of two 
other lists is easy, but for a set composed of two other sets is difficult, 
because of the set property that duplicate elements be counted only once.

David Holmes wrote:
> Stuart Ballard wrote:
> 
>>because the code that's causing a problem is in HashMap,
>>not AbstractMap, and it applies
>>when a Map of my type is passed to putAll() on a HashMap.
> 
>                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Stuart I apologize. I had misunderstood the exact nature and source of
> the problem. I agree that both Abstractmap and HashMap putAll methods
> should use hasNext() of the target collections iterator, not it's
> size() method. In fact those methods should use nothing other than the
> target collection's iterator as specified in AbstractMap.
> 
> David Holmes
> 
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath
> 

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

Eric Blake             ebb9@byu.net




From MAILER-DAEMON Thu Oct 16 08:42:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AA7Su-00072a-JH
	for mharc-classpath@gnu.org; Thu, 16 Oct 2003 08:42:52 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AA7Sr-00071b-LS
	for classpath@gnu.org; Thu, 16 Oct 2003 08:42:49 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AA7SG-0006qq-Uv
	for classpath@gnu.org; Thu, 16 Oct 2003 08:42:44 -0400
Received: from [204.127.202.55] (helo=sccrmhc11.comcast.net)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AA7SG-0006qn-MN
	for classpath@gnu.org; Thu, 16 Oct 2003 08:42:12 -0400
Received: from byu.net (12-209-128-39.client.attbi.com[12.209.128.39])
	by comcast.net (sccrmhc11) with SMTP id <2003101612421101100ecj68e>
	(Authid: ericblake); Thu, 16 Oct 2003 12:42:11 +0000
Message-ID: <3F8E923B.8070008@byu.net>
Date: Thu, 16 Oct 2003 06:42:35 -0600
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stuart Ballard <stuart.ballard@corp.fast.net>
References: <NFBBKALFDCPFIDBNKAPCCEEADIAA.dholmes@dltech.com.au>
	<3F8ACCE8.2080502@corp.fast.net>
In-Reply-To: <3F8ACCE8.2080502@corp.fast.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath <classpath@gnu.org>
Subject: Re: [really patch] Re: HashMap putAll/putAllInternal bug
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Oct 2003 12:42:50 -0000

Here's an implementation idea that might work for an accurate size() for your 
case - maintain a single combined hash map which contains modified elements, 
with the submaps being views into the giant map, rather than maintaining the 
two submaps and having the combined map be a view.

Instead of key->value, you would have key->valueWrapper, where valueWrapper is 
something like:
class valueWrapper {
   private static final Object UNUSED = new Object();
   Object front; // UNUSED if not in front
   Object back; // UNUSED if not in back
}

The big map is maintains all three maps with independent size counts for the 
three views, and the small maps would just need to be custom implementations 
of AbstractMap that wrap the big map to provide the appropriate view, 
modifying their particular size count as appropriate.

Of course, having the small maps as wrappers of the big adds another layer of 
indirection, which may affect your performance, but at least size() would be 
O(1) for all three maps.


Stuart Ballard wrote:
> David Holmes wrote:
> 
> Sure, I can calculate the size. The problem is that doing so requires a 
> full iteration over the elements of both sets: you can't just sum the 
> sizes, because you have to correctly account for elements that are in 
> both sets.
> 
> That makes this "optimization" of just looping size() times actually a 
> pessimization, because you have to iterate over the elements twice 
> instead of once. I didn't provide a correct implementation of size() for 
> exactly this reason: I was afraid that it would get called a lot on the 
> assumption that it's fast, when it's not.
> 
> As for why I need this implementation: it's being used for a language 
> interpreter and provides an implementation of nested scoping of 
> variables. Performance is important because it gets used a LOT. I wanted 
> to make sure that creating a new scope was cheap and didn't affect the 
> parent scope (it does caching to make sure that gets are cheap too). The 
> reasons why both the front and back scope need to be able to change 
> directly are complicated but (as far as I've found so far) unavoidable.
> 
-- 
Someday, I might put a cute statement here.

Eric Blake             ebb9@byu.net




From MAILER-DAEMON Thu Oct 16 10:19:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AA8yf-0004CB-Uz
	for mharc-classpath@gnu.org; Thu, 16 Oct 2003 10:19:45 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AA8yc-0004BS-Uo
	for classpath@gnu.org; Thu, 16 Oct 2003 10:19:42 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AA8uM-00035T-DK
	for classpath@gnu.org; Thu, 16 Oct 2003 10:15:49 -0400
Received: from [62.177.154.238] (helo=lembu.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AA8se-0002VO-9r
	for classpath@gnu.org; Thu, 16 Oct 2003 10:13:32 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 16 Oct 2003 16:13:16 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Message-ID: <788B535AB1F9CB49BB9C229372B50ACC466C@LEMBU.sumatrasoftware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Recent move of Plain[Datagram]SocketImpl
Thread-Index: AcOLWkF6xdJEVCgJRFqccRy/rgaTGAIlPU4A
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Michael Koch" <konqueror@gmx.de>
Cc: classpath <classpath@gnu.org>
Subject: RE: Recent move of Plain[Datagram]SocketImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Oct 2003 14:19:44 -0000

Michael Koch wrote:
> > You recently moved PlainSocketImpl and PlainDatagramSocketImpl to
> > the gnu package. Is there any particular reason for this? For me
> > this change is very inconvenient, because my implementations of
> > PlainSocketImpl and PlainDatagramSocketImpl are written in Java, so
> > I would like them to be in the same package (to be able to set the
> > protected fields of SocketImpl and DatagramSocketImpl without using
> > reflection).
>=20
> Well the special reason was to use these two classes from=20
> java.nio. To make this possible it was needed to make this classes
> public. Making them public in java.net would violate the JDK API
> compliance of classpath and libgcj.

Thanks for explaining. I worked around it by having my own versions of
the gnu.* classes that extend the java.* classes.

BTW, I noticed that the nio classes use getNativeFD to get at the
underlying handle, I think that at some point in the future this needs
to be changed, because for platforms that don't have an int sized native
handle, this doesn't work that well.

Regards,
Jeroen



From MAILER-DAEMON Thu Oct 16 17:53:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AAG3g-0005Fw-HL
	for mharc-classpath@gnu.org; Thu, 16 Oct 2003 17:53:24 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AAG3b-0005Ec-NG
	for classpath@gnu.org; Thu, 16 Oct 2003 17:53:19 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AAG35-00053R-Ne
	for classpath@gnu.org; Thu, 16 Oct 2003 17:53:18 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAG34-00052a-EN
	for classpath@gnu.org; Thu, 16 Oct 2003 17:52:46 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1AAG2Z-0005SN-00; Thu, 16 Oct 2003 23:52:15 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 1AAG2a-0000Cf-00; Thu, 16 Oct 2003 23:52:16 +0200
From: Mark Wielaard <mark@klomp.org>
To: tromey@redhat.com
In-Reply-To: <87u16jefzu.fsf@fleche.redhat.com>
References: <87u16jefzu.fsf@fleche.redhat.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1066332250.736.23.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Thu, 16 Oct 2003 23:52:06 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Cc: Classpath Discussion Mailing List <classpath@gnu.org>
Subject: Re: Patch to Proxy -- ok?
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Oct 2003 21:53:21 -0000

Hi,

On Wed, 2003-10-08 at 20:33, Tom Tromey wrote:
> We're using this patch in libgcj already.  I looked at the reference
> VMClassLoader, and it seems to have the ProtectionDomain variant of
> defineClass.  Is there a reason to hold off checking this in?

No, please check it in.

Thanks,

Mark



From MAILER-DAEMON Thu Oct 16 17:53:56 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AAG4C-0005Yn-5e
	for mharc-classpath@gnu.org; Thu, 16 Oct 2003 17:53:56 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AAG49-0005XM-CH
	for classpath@gnu.org; Thu, 16 Oct 2003 17:53:53 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AAG3c-0005En-8E
	for classpath@gnu.org; Thu, 16 Oct 2003 17:53:51 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.24)
	id 1AAG34-00052r-Hf; Thu, 16 Oct 2003 17:52:46 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1AAG2j-0005SU-00; Thu, 16 Oct 2003 23:52:25 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 1AAG2l-0000Cl-00; Thu, 16 Oct 2003 23:52:27 +0200
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
In-Reply-To: <m38ynnidm3.fsf@lyta.haphazard.org>
References: <m38ynnidm3.fsf@lyta.haphazard.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1066332539.735.27.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Thu, 16 Oct 2003 23:52:17 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Fwd: Alan Moore assigns past and future changes
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Oct 2003 21:53:54 -0000

Hi,

On Wed, 2003-10-15 at 01:49, Brian Jones wrote:
> From: Ted Teah <tedt@fsf.org>
> To: Brian Jones <cbj@gnu.org>, Paul Fisher <rao@gnu.org>
> Subject: Alan Moore assigns past and future changes

Good. This was one of the gnu.regexp people which we had a bit of
trouble locating. I will contact the FSF copyright-clerc to see if we
now have all the paperwork for importing gnu.regexp into classpath.

Cheers,

Mark



From MAILER-DAEMON Thu Oct 16 17:56:05 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AAG6H-0005zQ-Dz
	for mharc-classpath@gnu.org; Thu, 16 Oct 2003 17:56:05 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AADtp-0006q9-FK
	for classpath@gnu.org; Thu, 16 Oct 2003 15:35:05 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AADtI-0006YN-Oq
	for classpath@gnu.org; Thu, 16 Oct 2003 15:35:03 -0400
Received: from [193.252.22.29] (helo=mwinf0201.wanadoo.fr)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AADtI-0006Xj-7r
	for classpath@gnu.org; Thu, 16 Oct 2003 15:34:32 -0400
Received: from inria.fr (APuteaux-105-1-2-103.w80-11.abo.wanadoo.fr
	[80.11.22.103]) by mwinf0201.wanadoo.fr (SMTP Server) with ESMTP
	id 7AA6C3000491; Thu, 16 Oct 2003 21:34:30 +0200 (CEST)
Message-ID: <3F8EF296.1060505@inria.fr>
Date: Thu, 16 Oct 2003 21:33:42 +0200
From: Jean-Daniel Fekete <Jean-Daniel.Fekete@inria.fr>
Organization: INRIA Futurs, LRI
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.4.1) Gecko/20031008
X-Accept-Language: en-us, en, fr-fr
MIME-Version: 1.0
To: classpath@gnu.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Mailman-Approved-At: Thu, 16 Oct 2003 17:56:04 -0400
Subject: Agile2D licence change
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Oct 2003 19:35:06 -0000

Hello to the Classpath list,

After a short discussion with Ben Bederson and Jon Meyer, co-developers=20
of Agile2D, the implementation of Graphics2D based on Opengl, we decided =

that the licence will become BSD instead of a variant of the MPL 1.1=20
(see http://www.cs.umd.edu/hcil/agile2d).
This will enable the Agile2D implementation to become the basis of a=20
free native implementation of Graphics2D -- also based on OpenGL -- for=20
Gnu classpath.

I will change the licence in a couple of weeks, after I come back from=20
several trips.

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





From MAILER-DAEMON Thu Oct 16 18:10:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AAGJm-0004q7-Mf
	for mharc-classpath@gnu.org; Thu, 16 Oct 2003 18:10:02 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AAGJj-0004oD-D3
	for classpath@gnu.org; Thu, 16 Oct 2003 18:09:59 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AAGJA-0004bK-N1
	for classpath@gnu.org; Thu, 16 Oct 2003 18:09:55 -0400
Received: from [193.74.71.21] (helo=xizor.is.kpn.be)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAGJA-0004aC-4y
	for classpath@gnu.org; Thu, 16 Oct 2003 18:09:24 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by xizor.is.kpn.be  with SMTP id h9GM9JR20519; 
	Fri, 17 Oct 2003 00:09:19 +0200
Message-Id: <200310162209.h9GM9JR20519@xizor.is.kpn.be>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: jsona laio <freeonfair@yahoo.co.uk>, classpath@gnu.org
Date: Fri, 17 Oct 2003 00:10:50 +0200
X-Mailer: KMail [version 1.3]
References: <20031016030749.63811.qmail@web25007.mail.ukl.yahoo.com>
In-Reply-To: <20031016030749.63811.qmail@web25007.mail.ukl.yahoo.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: 
Subject: Re: [Question] j2ee, classpath, kaffe.
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Oct 2003 22:10:00 -0000

On Thursday 16 October 2003 05:07, jsona laio wrote:
> Hi,
> Is there anyone/institute who ever developed
> application following j2ee spec that runs on free
> software such as kaffe and classpath? Because lately I
> involve a project that is going to be developed
> through free software. So I'm trying to evaluate such
> solution would be possible or not. (Though I know
> there're other solutions other than java; yet, first,
> I'm not familiar with other language; second,
> middleware is my consideration this moment.)
> I appreciate any suggestions,
> Sincerely.

Classpath is reported to run JBoss, so in theory such a solution is possible. 
In practice you may end up posting some bug reports on Classpath, but that's 
part of the fun. :) In the end your application will work, and all users of 
Classpath will be grateful to you.

Note that Kaffe is not the only free Java using Classpath; among the many 
listed at www.classpath.org, gcj may be very interesting for your project. 
Open-source Java that runs as fast as native code, because it _is_ native 
code.

Best wishes

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



From MAILER-DAEMON Thu Oct 16 18:12:02 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AAGLh-0005ZE-Mz
	for mharc-classpath@gnu.org; Thu, 16 Oct 2003 18:12:01 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AAGLf-0005Ym-Tf
	for classpath@gnu.org; Thu, 16 Oct 2003 18:11:59 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AAGL8-0005Lb-Rc
	for classpath@gnu.org; Thu, 16 Oct 2003 18:11:58 -0400
Received: from [193.74.71.22] (helo=guri.is.kpn.be)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAGL7-0005L2-8g
	for classpath@gnu.org; Thu, 16 Oct 2003 18:11:25 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by guri.is.kpn.be  with SMTP id h9GMBNZ18455; 
	Fri, 17 Oct 2003 00:11:23 +0200
Message-Id: <200310162211.h9GMBNZ18455@guri.is.kpn.be>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: Jean-Daniel Fekete <Jean-Daniel.Fekete@inria.fr>, classpath@gnu.org
Date: Fri, 17 Oct 2003 00:12:55 +0200
X-Mailer: KMail [version 1.3]
References: <3F8EF296.1060505@inria.fr>
In-Reply-To: <3F8EF296.1060505@inria.fr>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: 
Subject: Re: Agile2D licence change
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Oct 2003 22:12:00 -0000

On Thursday 16 October 2003 21:33, Jean-Daniel Fekete wrote:
> Hello to the Classpath list,
>
> After a short discussion with Ben Bederson and Jon Meyer, co-developers
> of Agile2D, the implementation of Graphics2D based on Opengl, we decided
> that the licence will become BSD instead of a variant of the MPL 1.1
> (see http://www.cs.umd.edu/hcil/agile2d).
> This will enable the Agile2D implementation to become the basis of a
> free native implementation of Graphics2D -- also based on OpenGL -- for
> Gnu classpath.
>
> I will change the licence in a couple of weeks, after I come back from
> several trips.

Excellent! Thanks Jean-Daniel.

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



From MAILER-DAEMON Thu Oct 16 18:24:02 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AAGXJ-0005B0-UY
	for mharc-classpath@gnu.org; Thu, 16 Oct 2003 18:24:01 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AAGXI-0005AP-0c
	for classpath@gnu.org; Thu, 16 Oct 2003 18:24:00 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AAGWl-0004wX-Gt
	for classpath@gnu.org; Thu, 16 Oct 2003 18:23:58 -0400
Received: from [24.93.67.83] (helo=ms-smtp-02-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAGWl-0004wL-45
	for classpath@gnu.org; Thu, 16 Oct 2003 18:23:27 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-02-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	h9GMNQ9j001329; Thu, 16 Oct 2003 18:23:26 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 977C1BE641; Thu, 16 Oct 2003 18:16:45 -0400 (EDT)
Sender: cbj@haphazard.org
To: jsona laio <freeonfair@yahoo.co.uk>
References: <20031016030749.63811.qmail@web25007.mail.ukl.yahoo.com>
From: Brian Jones <cbj@gnu.org>
Date: 16 Oct 2003 18:16:45 -0400
In-Reply-To: <20031016030749.63811.qmail@web25007.mail.ukl.yahoo.com>
Message-ID: <m33cdsj0aa.fsf@lyta.haphazard.org>
Lines: 17
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org
Subject: Re: [Question] j2ee, classpath, kaffe.
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Oct 2003 22:24:00 -0000

jsona laio <freeonfair@yahoo.co.uk> writes:

> Hi, Is there anyone/institute who ever developed application
> following j2ee spec that runs on free software such as kaffe and
> classpath? Because lately I involve a project that is going to be
> developed through free software. So I'm trying to evaluate such
> solution would be possible or not. (Though I know there're other
> solutions other than java; yet, first, I'm not familiar with other
> language; second, middleware is my consideration this moment.)  I
> appreciate any suggestions, Sincerely.

I don't know if there are any success stories with running JBoss yet.
Definitely would be very cool.

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



From MAILER-DAEMON Fri Oct 17 11:18:04 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AAWMc-0007EC-TW
	for mharc-classpath@gnu.org; Fri, 17 Oct 2003 11:18:02 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AAWMV-0007Ch-7H
	for classpath@gnu.org; Fri, 17 Oct 2003 11:17:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AAWLy-00077T-Ji
	for classpath@gnu.org; Fri, 17 Oct 2003 11:17:53 -0400
Received: from [212.6.122.116] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAWLy-000772-1N
	for classpath@gnu.org; Fri, 17 Oct 2003 11:17:22 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-81-152.ewetel.net
	[80.228.81.152])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id h9HFHEhA023843;
	Fri, 17 Oct 2003 17:17:15 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1AAWLq-0004x1-00; Fri, 17 Oct 2003 17:17:14 +0200
From: Michael Koch <konqueror@gmx.de>
To: "Jeroen Frijters" <jeroen@sumatra.nl>
Date: Fri, 17 Oct 2003 17:20:15 +0200
User-Agent: KMail/1.5.2
References: <788B535AB1F9CB49BB9C229372B50ACC466C@LEMBU.sumatrasoftware.com>
In-Reply-To: <788B535AB1F9CB49BB9C229372B50ACC466C@LEMBU.sumatrasoftware.com>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Description: clearsigned data
Content-Disposition: inline
Message-Id: <200310171720.21219.konqueror@gmx.de>
X-CheckCompat: OK
Cc: classpath <classpath@gnu.org>
Subject: Re: Recent move of Plain[Datagram]SocketImpl
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Oct 2003 15:17:56 -0000

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

Am Donnerstag, 16. Oktober 2003 16:13 schrieb Jeroen Frijters:
> Michael Koch wrote:
> > > You recently moved PlainSocketImpl and PlainDatagramSocketImpl
> > > to the gnu package. Is there any particular reason for this?
> > > For me this change is very inconvenient, because my
> > > implementations of PlainSocketImpl and PlainDatagramSocketImpl
> > > are written in Java, so I would like them to be in the same
> > > package (to be able to set the protected fields of SocketImpl
> > > and DatagramSocketImpl without using reflection).
> >
> > Well the special reason was to use these two classes from
> > java.nio. To make this possible it was needed to make this
> > classes public. Making them public in java.net would violate the
> > JDK API compliance of classpath and libgcj.
>
> Thanks for explaining. I worked around it by having my own versions
> of the gnu.* classes that extend the java.* classes.
>
> BTW, I noticed that the nio classes use getNativeFD to get at the
> underlying handle, I think that at some point in the future this
> needs to be changed, because for platforms that don't have an int
> sized native handle, this doesn't work that well.

That's the solution for the moment. When other/better solutions are=20
available, like Anthony Green's PlatformFileDescriptor, these=20
solutions will be used. As its not available yet I used the most=20
simplest verserion that worked in my x86 based system. I know that=20
there are limitations in this choice. If people have problems with=20
this they are free to provide patches. Its all Open Source. ;-)


Michael
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/kAi0WSOgCCdjSDsRAoaGAJ9VbRnYZpUKsdrbgEa5Xzd9PsuRlACeN4rl
fPPG403npAJDNyeoyZZ+FnY=3D
=3D490E
=2D----END PGP SIGNATURE-----




From MAILER-DAEMON Fri Oct 17 12:41:22 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AAXfF-0007hp-RN
	for mharc-classpath@gnu.org; Fri, 17 Oct 2003 12:41:21 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AAXfD-0007h5-B4
	for classpath@gnu.org; Fri, 17 Oct 2003 12:41:19 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AAXee-0007bJ-CG
	for classpath@gnu.org; Fri, 17 Oct 2003 12:41:15 -0400
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAXeJ-0007TD-Vz
	for classpath@gnu.org; Fri, 17 Oct 2003 12:40:24 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 1AAXe6-0000LX-00
	for <classpath@gnu.org>; Fri, 17 Oct 2003 18:40:10 +0200
Received: from mpiat2304.ag2.mpi-sb.mpg.de
	([139.19.20.93] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1AAXe3-0000IU-00; Fri, 17 Oct 2003 18:40:07 +0200
Message-ID: <3F901B67.1000508@kaffe.org>
Date: Fri, 17 Oct 2003 18:40:07 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jean-Daniel Fekete <Jean-Daniel.Fekete@inria.fr>
References: <3F8EF296.1060505@inria.fr>
In-Reply-To: <3F8EF296.1060505@inria.fr>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: classpath@gnu.org
Subject: Re: Agile2D licence change
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Oct 2003 16:41:20 -0000

Salut Jean-Daniel,

Jean-Daniel Fekete wrote:
> Hello to the Classpath list,
> 
> After a short discussion with Ben Bederson and Jon Meyer, co-developers 
> of Agile2D, the implementation of Graphics2D based on Opengl, we decided 
> that the licence will become BSD instead of a variant of the MPL 1.1 
> (see http://www.cs.umd.edu/hcil/agile2d).
> This will enable the Agile2D implementation to become the basis of a 
> free native implementation of Graphics2D -- also based on OpenGL -- for 
> Gnu classpath.

Thanks! That's wonderful news for those of us wanting to run java2d 
employing software on free VMs.

cheers,
dalibor topic




From MAILER-DAEMON Fri Oct 17 15:19:56 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AAa8i-0003Md-0a
	for mharc-classpath@gnu.org; Fri, 17 Oct 2003 15:19:56 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AAa8e-0003Kx-GM
	for classpath@gnu.org; Fri, 17 Oct 2003 15:19:52 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AAa86-0003Dr-PY
	for classpath@gnu.org; Fri, 17 Oct 2003 15:19:49 -0400
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAa86-0003DZ-Dr
	for classpath@gnu.org; Fri, 17 Oct 2003 15:19:18 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 1AAa85-0007QL-00
	for <classpath@gnu.org>; Fri, 17 Oct 2003 21:19:17 +0200
Received: from mpiat2304.ag2.mpi-sb.mpg.de
	([139.19.20.93] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1AAa84-0007QA-00; Fri, 17 Oct 2003 21:19:16 +0200
Message-ID: <3F9040B3.4000506@kaffe.org>
Date: Fri, 17 Oct 2003 21:19:15 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>, Michael Koch <konqueror@gmx.de>, 
	Guilhem Lavaux <guilhem@kaffe.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: 
Subject: Implementing java.text
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Oct 2003 19:19:53 -0000

Hi Michael, hi Guilhem,

while trying to merge in the latest improvements in Classpath, I noticed 
that Michael started reformatting java.text, and fixing some problems on 
his own. Which is a great thing, but leaves me with a small problem:

It makes my back-merging work harder, as kaffe already uses the patches 
submitted by Guilhem to the Classpath bug tracker. See 
http://savannah.gnu.org/bugs/?group=classpath for an overview. I'd like 
to suggest reviewing those patches, and then deciding on merging them in 
or whether another implementation of those aspects of java.text is 
necessary.

If there is anything I can personally do to make sure the contributions 
from kaffe developers make their way back into Classpath, I'd appreciate 
hearing about it. I guess we should just talk to each other more often ;)

cheers,
dalibor topic




From MAILER-DAEMON Sat Oct 18 09:52:15 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AArV9-0000LQ-8G
	for mharc-classpath@gnu.org; Sat, 18 Oct 2003 09:52:15 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AArV6-0000K4-3y
	for classpath@gnu.org; Sat, 18 Oct 2003 09:52:12 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AArUZ-0008SX-Qm
	for classpath@gnu.org; Sat, 18 Oct 2003 09:52:10 -0400
Received: from [213.228.0.169] (helo=postfix3-2.free.fr)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AArUZ-0008RI-Dp
	for classpath@gnu.org; Sat, 18 Oct 2003 09:51:39 -0400
Received: from kaffe.org (cachan-3-82-66-125-112.fbx.proxad.net
	[82.66.125.112]) by postfix3-2.free.fr (Postfix) with ESMTP
	id 7B6DFC115; Sat, 18 Oct 2003 15:51:37 +0200 (CEST)
Message-ID: <3F91455B.9060103@kaffe.org>
Date: Sat, 18 Oct 2003 15:51:23 +0200
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Dalibor Topic <robilad@kaffe.org>
References: <3F9040B3.4000506@kaffe.org>
In-Reply-To: <3F9040B3.4000506@kaffe.org>
X-Enigmail-Version: 0.73.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>, Michael Koch <konqueror@gmx.de>
Subject: Re: Implementing java.text
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Oct 2003 13:52:13 -0000

Dalibor Topic wrote:

 > Hi Michael, hi Guilhem,

Hi Dalibor, (always here but a lot busy ;) )

 >
 > while trying to merge in the latest improvements in Classpath, I 
noticed that Michael started reformatting java.text, and fixing some 
problems on his own. Which is a great thing, but leaves me with a small 
problem:
 >
 > It makes my back-merging work harder, as kaffe already uses the 
patches submitted by Guilhem to the Classpath bug tracker. See 
http://savannah.gnu.org/bugs/?group=classpath for an overview. I'd like 
to suggest reviewing those patches, and then deciding on merging them in 
or whether another implementation of those aspects of java.text is 
necessary.

Yes, it's a problem I fear for some time now. I also noticed that some 
changes have been made to InetAddress and that I need to port these 
changes without compromising the already fixed bugs in kaffe (IPV6 
compatibility). Hopefully, I will have some time to work on 
kaffe/Classpath in two weeks.

 >
 > If there is anything I can personally do to make sure the 
contributions from kaffe developers make their way back into Classpath, 
I'd appreciate hearing about it. I guess we should just talk to each 
other more often ;)

I would also like to help.

Cheers,
Guilhem.

 >





From MAILER-DAEMON Sat Oct 18 16:33:49 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AAxll-0006PG-5v
	for mharc-classpath@gnu.org; Sat, 18 Oct 2003 16:33:49 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AAxli-0006OK-0E
	for classpath@gnu.org; Sat, 18 Oct 2003 16:33:46 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AAxlA-00069Q-IT
	for classpath@gnu.org; Sat, 18 Oct 2003 16:33:43 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.24) id 1AAxlA-000689-8o
	for classpath@gnu.org; Sat, 18 Oct 2003 16:33:12 -0400
Received: from [24.93.67.84] (helo=ms-smtp-03-eri0.southeast.rr.com)
	by mx20.gnu.org with esmtp (Exim 4.24) id 1AAxkF-0005lR-OH
	for classpath@gnu.org; Sat, 18 Oct 2003 16:32:15 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-03-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	h9IKW5ue003890; Sat, 18 Oct 2003 16:32:08 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 75BECBE641; Sat, 18 Oct 2003 16:24:57 -0400 (EDT)
Sender: cbj@haphazard.org
To: Guilhem Lavaux <guilhem@kaffe.org>
References: <3F9040B3.4000506@kaffe.org> <3F91455B.9060103@kaffe.org>
From: Brian Jones <cbj@gnu.org>
Date: 18 Oct 2003 16:24:57 -0400
In-Reply-To: <3F91455B.9060103@kaffe.org>
Message-ID: <m3fzhqe1k6.fsf@lyta.haphazard.org>
Lines: 14
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: GNU Classpath <classpath@gnu.org>, Michael Koch <konqueror@gmx.de>
Subject: Re: Implementing java.text
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Oct 2003 20:33:46 -0000

Guilhem Lavaux <guilhem@kaffe.org> writes:

> If there is anything I can personally do to make sure the
> contributions from kaffe developers make their way back into
> Classpath, I'd appreciate hearing about it. I guess we should just
> talk to each other more often ;)

Other than more people with more time to spend on reviewing and
commiting patches, I don't know.  I find it a tad difficult to
evaluate some patches without test cases.

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



From MAILER-DAEMON Sat Oct 18 19:04:04 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AB072-0006q9-L5
	for mharc-classpath@gnu.org; Sat, 18 Oct 2003 19:03:56 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AB06z-0006oM-Dj
	for classpath@gnu.org; Sat, 18 Oct 2003 19:03:53 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AB06S-0006cy-RL
	for classpath@gnu.org; Sat, 18 Oct 2003 19:03:51 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AB06R-0006bX-UM
	for classpath@gnu.org; Sat, 18 Oct 2003 19:03:20 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1AB06D-0002Xs-00
	for <classpath@gnu.org>; Sun, 19 Oct 2003 01:03:05 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-TES1jqJ6ym5ke6irZNpb"
Message-Id: <1066518198.974.224.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sun, 19 Oct 2003 01:03:18 +0200
Subject: GNU Classpath workshop impressions
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Oct 2003 23:03:55 -0000


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

Hi all,

Back from vacation. At the end of the vacation I went to the GNU
Classpath workshop and Linux-Kongress in Saarbruecken.
Was very nice to meet a couple of developers in real live.

On Wednesday Sascha Brawer, Patrik Reali, Jeroen Frijters, Chris Gray,
Dalibor Topic. Jean Daniel Fekete and I spoke about Java2D and OpenGL.
Jean Daniel had slides which I hope can be published for others to look
at. But please take a look at http://www.cs.umd.edu/hcil/agile2d/ if you
haven't so yet. Jean Daniel is really interested to get this working
with a free vm and GNU Classpath. We tried to come up with a list of
things that have to be done to get this working and although there is
certainly still a lot of work to do we do have large parts working
already. I am hoping that Sascha his notes are better then mine and that
he can post the list of things we need to get working to get Agile2D
running with GNU Classpath.

To really benefit from OpenGL you do need hardware support and there are
only a few free software drivers out there. There is always Mesa, which
is slow, but at least we would have the functionality. And most work
that needs to be done seems to be important for other 2D approaches. I
know to little about the graphics card hardware vendors to get a good
feeling about how "save" the OpenGL route is for our Free Software
efforts.

One important issue that remained open was how java threads and the
threading model of the underlying graphics framework should work
together.

After that, Jean Daniel had to leave early, we discussed some other GNU
Classpath issues such as: autobuilders, (auto) mauve, attracting
developers with task lists, spicing up the website, vm interfacing,
things not yet implemented, ... Again Sascha was the most organized and
made a todo list which I hope he will send to the list.

Jeroen also has a little report at the ikvm weblog:
http://weblog.ikvm.net/PermaLink.aspx/c69de097-f0a3-4018-9ba7-f04f6f743d46

The next day Michael Tieman (Red Hat CTO) gave the Linux-Kongress
keynote. In his speech he explicitly mentioned the Eclipse project so we
(Chris, Sascha, Patrik, Dalibor and I) decided to have a little chat
with him. Although he now is a bobo of big company who doesn't do much
technical hacking anymore, he clearly knew a lot about the things that
go on. He was pretty optimistic about the direction of the Eclipse
project and how they handle outside input. Although he didn't really
made any commitments it was clear that he cared deeply about a free java
like framework. We also talked about how the CPL (Common Public
License), that Eclipse and SWT are distributed under, which makes it
impossible to use when combining it with any GPL covered code. And we
might be able to convince them (he is on the Eclipse Board of Stewards)
to resolve this issue. Although again no promises, but I think this is
something we should try to push a little.

After Chris Gray had to leave I gave a little talk about old and new VM
Interface approaches for which I didn't have time on Wednesday.
Slides can be found at:
http://www.klomp.org/mark/classpath/slides/gnu_classpath_workshop.html
They are clearly not complete, but I like to use them to update the
Hackers Guide and VM Integration Guide.

Patrik, Sascha and I also talked to one of the organizers, Martin
Schulte, about organizing some event around Classpath, libre java, VM
concepts, ... We didn't reach a good goal for such a meeting so we will
contact him again with some ideas and see if he can help (which he
seemed to really like to do).

Surely I forgot something important that happened, but hopefully someone
else that was there can remind me :)

I am still a bit behind on email, so if you have been waiting on a reply
for some time now please send me a little reminder.

Cheers,

Mark

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

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

iD8DBQA/kca1xVhZCJWr9QwRAvcXAKCczrT9k7OsCuCn+ZM7TD649HqDAwCdFXrw
lYw/4Wjv8k9yNwLIAh5mNcQ=
=KA+5
-----END PGP SIGNATURE-----

--=-TES1jqJ6ym5ke6irZNpb--




From MAILER-DAEMON Sun Oct 19 05:15:35 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AB9ev-0007zL-Ur
	for mharc-classpath@gnu.org; Sun, 19 Oct 2003 05:15:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AB9YO-00058Q-IP
	for classpath@gnu.org; Sun, 19 Oct 2003 05:08:48 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AB9Xs-00051K-Hw
	for classpath@gnu.org; Sun, 19 Oct 2003 05:08:47 -0400
Received: from [212.74.117.6] (helo=dinopsis.arachsys.net)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AB9Xr-000513-Rc
	for classpath@gnu.org; Sun, 19 Oct 2003 05:08:15 -0400
Received: from dog by dinopsis.arachsys.net with local (Exim 3.35 #1)
	id 1AB9Up-0007De-00
	for classpath@gnu.org; Sun, 19 Oct 2003 10:05:07 +0100
Date: Sun, 19 Oct 2003 10:05:07 +0100
From: chris burdess <dog@gnu.org>
To: classpath@gnu.org
Message-ID: <20031019090507.GA15021@bluezoo.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
X-URL: http://www.bluezoo.org/
X-Mailman-Approved-At: Sun, 19 Oct 2003 05:15:32 -0400
Subject: gnu inetlib initial submission
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Oct 2003 09:08:49 -0000

i've checked the first set of contributions to the inetlib project into
cvs. this includes:

- an ftp client and URLConnection
- a gopher client
- an imap client
- an nntp client
- a pop3 client
- an smtp client

imap, pop3, and smtp all support authentication and encryption of the
transport layer using gnu crypto and jsse. imap and smtp support sasl
authentication.

todo:
- http client
- documentation
- test cases
- more URLConnection support
- connection timeouts

if there are major (or minor) features anyone feels should be in these
clients, please let me know.
-- 
chris burdess



From MAILER-DAEMON Mon Oct 20 03:16:40 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ABUHQ-0003lG-C6
	for mharc-classpath@gnu.org; Mon, 20 Oct 2003 03:16:40 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ABUHN-0003k3-7s
	for classpath@gnu.org; Mon, 20 Oct 2003 03:16:37 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ABUH5-0003eP-J7
	for classpath@gnu.org; Mon, 20 Oct 2003 03:16:36 -0400
Received: from [212.6.122.116] (helo=mail2.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.24)
	id 1ABUFs-0003GA-2M; Mon, 20 Oct 2003 03:15:04 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-81-083.ewetel.net
	[80.228.81.83])
	by mail2.ewetel.de (8.12.1/8.12.9) with ESMTP id h9K7EEPt016223;
	Mon, 20 Oct 2003 09:14:15 +0200 (MEST)
Received: from asterix.konqueror.de ([192.168.1.3])
	by majestix.konqueror.de with esmtp (Exim 3.35 #1 (Debian))
	id 1ABUF4-0005oT-00; Mon, 20 Oct 2003 09:14:14 +0200
From: Michael Koch <konqueror@gmx.de>
To: Brian Jones <cbj@gnu.org>, Guilhem Lavaux <guilhem@kaffe.org>
Date: Mon, 20 Oct 2003 09:17:31 +0200
User-Agent: KMail/1.5.2
References: <3F9040B3.4000506@kaffe.org> <3F91455B.9060103@kaffe.org>
	<m3fzhqe1k6.fsf@lyta.haphazard.org>
In-Reply-To: <m3fzhqe1k6.fsf@lyta.haphazard.org>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Description: clearsigned data
Content-Disposition: inline
Message-Id: <200310200917.37172.konqueror@gmx.de>
X-CheckCompat: OK
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: Implementing java.text
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Oct 2003 07:16:37 -0000

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

Am Samstag, 18. Oktober 2003 22:24 schrieb Brian Jones:
> Guilhem Lavaux <guilhem@kaffe.org> writes:
> > If there is anything I can personally do to make sure the
> > contributions from kaffe developers make their way back into
> > Classpath, I'd appreciate hearing about it. I guess we should
> > just talk to each other more often ;)
>
> Other than more people with more time to spend on reviewing and
> commiting patches, I don't know.  I find it a tad difficult to
> evaluate some patches without test cases.

My testcases are in Mauve.


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

iD8DBQE/k4wQWSOgCCdjSDsRAraAAKChbd0UKj6LRvuUquKftkXmlXJW6gCdHMrM
8Jj64HMtYEp0XJr+ktOyRVU=3D
=3DwcHi
=2D----END PGP SIGNATURE-----




From MAILER-DAEMON Mon Oct 20 11:29:25 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ABbyH-0002ZA-HQ
	for mharc-classpath@gnu.org; Mon, 20 Oct 2003 11:29:25 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ABbyE-0002Yb-VA
	for classpath@gnu.org; Mon, 20 Oct 2003 11:29:22 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ABbxi-0002UD-7w
	for classpath@gnu.org; Mon, 20 Oct 2003 11:29:22 -0400
Received: from [64.65.193.25] (helo=carrera.hq.innovationsw.com)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ABbxh-0002Tq-GU
	for classpath@gnu.org; Mon, 20 Oct 2003 11:28:49 -0400
Received: (qmail 23174 invoked from network); 20 Oct 2003 15:28:47 -0000
Received: from unknown (HELO raptor.hq.innovationsw.com) (192.168.3.13)
	by carrera.hq.innovationsw.com with SMTP; 20 Oct 2003 15:28:47 -0000
From: Joe Phillips <joe.phillips@innovationsw.com>
To: chris burdess <dog@gnu.org>
In-Reply-To: <20031019090507.GA15021@bluezoo.org>
References: <20031019090507.GA15021@bluezoo.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; 
	boundary="=-tyzzTF/Pr72QBj06jUO6"
X-Mailer: Ximian Evolution 1.0.8 
Date: 20 Oct 2003 11:28:47 -0400
Message-Id: <1066663727.890.421.camel@raptor>
Mime-Version: 1.0
Cc: classpath@gnu.org
Subject: Re: gnu inetlib initial submission
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Oct 2003 15:29:23 -0000


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

On Sun, 2003-10-19 at 05:05, chris burdess wrote:
> i've checked the first set of contributions to the inetlib project into
> cvs. this includes:
>=20
> - an ftp client and URLConnection

Chris,

How full-blown is this client?  I have a full-blown FTP client I
contacted Nick about contributing quite some time ago.  I'd be willing
to contribute what I can.

I developed it as a base class for a HylaFAX client.  Since I was
planning to contribute it to Classpath, I took extra care to implement
most/all of RFC959 and some extensions.

-joe
--=20
     Innovation Software Group, LLC - http://www.innovationsw.com
               Custom Internet and Computer Solutions
                   Linux, UNIX, Java Training

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA/k/8uZKZ1f8Zkmi0RAk7ZAJ9uJe/0JR59+OpN2crepqyZzcr2sQCeI0KR
WTF5qRiMp0EteSEfhxgNbRU=
=L33o
-----END PGP SIGNATURE-----

--=-tyzzTF/Pr72QBj06jUO6--




From MAILER-DAEMON Mon Oct 20 13:01:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ABdPb-0000tH-Oj
	for mharc-classpath@gnu.org; Mon, 20 Oct 2003 13:01:43 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ABdPW-0000rw-SI
	for classpath@gnu.org; Mon, 20 Oct 2003 13:01:38 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ABdOx-0000ey-7E
	for classpath@gnu.org; Mon, 20 Oct 2003 13:01:34 -0400
Received: from [64.65.193.25] (helo=carrera.hq.innovationsw.com)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ABdOv-0000dv-Qc
	for classpath@gnu.org; Mon, 20 Oct 2003 13:01:02 -0400
Received: (qmail 26617 invoked from network); 20 Oct 2003 17:00:59 -0000
Received: from unknown (HELO raptor.hq.innovationsw.com) (192.168.3.13)
	by carrera.hq.innovationsw.com with SMTP; 20 Oct 2003 17:00:59 -0000
From: Joe Phillips <joe.phillips@innovationsw.com>
To: chris burdess <dog@bluezoo.org>
In-Reply-To: <20031020162811.GB32339@bluezoo.org>
References: <20031019090507.GA15021@bluezoo.org>
	<1066663727.890.421.camel@raptor> <20031020162811.GB32339@bluezoo.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; 
	boundary="=-DIaaeotGgpZepK79DmDc"
X-Mailer: Ximian Evolution 1.0.8 
Date: 20 Oct 2003 13:00:59 -0400
Message-Id: <1066669259.28420.22.camel@raptor>
Mime-Version: 1.0
Cc: Classpath mail list <classpath@gnu.org>
Subject: Re: gnu inetlib
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Oct 2003 17:01:41 -0000


--=-DIaaeotGgpZepK79DmDc
Content-Type: text/plain; charset=windows-1251
Content-Transfer-Encoding: quoted-printable

On Mon, 2003-10-20 at 12:28, chris burdess wrote:
> from the api documentation:
>=20
>   This implements RFC 959, with the following exceptions:
>    * STAT, HELP, SITE, SMNT, and ACCT commands are not supported.
>    * the TYPE command does not allow alternatives to the default bytesize
>      (Non-print), and local bytesize is not supported.
>=20
> it's been tested using active/passive mode and MODE STREAM. i have been
> unable thus far to locate a free ftp server that supports modes BLOCK and
> COMPRESSED to test these.

I'm pretty sure HylaFAX does COMPRESSED.  I recall adding compression at
one point.

> it doesn't support any extensions; contributions would be most welcome,
> subject to all the legal whatnot.

ok.  I'll check out your CVS.

> btw, by =93client=94 i mean a client connection object, not a user-agent.

same here.  I mean I have an FTP protocol implementation in Java object
form.  I do not have a GUI or command-line program "user-agent".  I have
very simple test-case type command line programs to test my HylaFAX
functionality.

My classes have been pretty extensively tested against HylaFAX server
but I'm not aware of many FTP-only users.  Just today I was contacted by
someone claiming he uses my classes to send over 3000 FAXes per day
without problems.  At a past contract, an intern was paid to make the
FTP portion 'speak' with an IBM mainframe FTP server.

I don't recall if we've used BLOCK yet. =20

We should compare notes and I'll contribute what I can.  A month or so
ago I checked out CVS and started to look at patching Classpath.  What
timing.

The hold-up for me patching Classpath was that I didn't quite know how
to test it.  I currently use non-free JDKs from Sun & IBM and am not in
the position to sink a lot of time into getting a free JDK working.  Is
there an easy way to test a custom build of Classpath?  "easy" for me
would be defined as either using Sun or IBMs JDK *or* a GCJ from Debian.

-joe
--=20
     Innovation Software Group, LLC - http://www.innovationsw.com
               Custom Internet and Computer Solutions
                   Linux, UNIX, Java Training

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA/lBTLZKZ1f8Zkmi0RArs7AKCejyYMO+gf61XrecyhsSIpFnk22QCdG/Ex
+K3kM1SgcPN9le6+FFaJa7w=
=V8vT
-----END PGP SIGNATURE-----

--=-DIaaeotGgpZepK79DmDc--




From MAILER-DAEMON Mon Oct 20 14:18:52 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ABecD-0007hM-NM
	for mharc-classpath@gnu.org; Mon, 20 Oct 2003 14:18:49 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ABcwp-0003dX-E7
	for classpath@gnu.org; Mon, 20 Oct 2003 12:31:59 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ABcwI-0003XW-3U
	for classpath@gnu.org; Mon, 20 Oct 2003 12:31:57 -0400
Received: from [212.74.117.6] (helo=dinopsis.arachsys.net)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ABcwH-0003XB-Os
	for classpath@gnu.org; Mon, 20 Oct 2003 12:31:25 -0400
Received: from dog by dinopsis.arachsys.net with local (Exim 3.35 #1)
	id 1ABct9-0003Gw-00; Mon, 20 Oct 2003 17:28:11 +0100
Date: Mon, 20 Oct 2003 17:28:11 +0100
From: chris burdess <dog@bluezoo.org>
To: Joe Phillips <joe.phillips@innovationsw.com>
Message-ID: <20031020162811.GB32339@bluezoo.org>
References: <20031019090507.GA15021@bluezoo.org>
	<1066663727.890.421.camel@raptor>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP"
Content-Disposition: inline
In-Reply-To: <1066663727.890.421.camel@raptor>
User-Agent: Mutt/1.3.28i
X-URL: http://www.bluezoo.org/
X-Mailman-Approved-At: Mon, 20 Oct 2003 14:18:47 -0400
Cc: classpath@gnu.org
Subject: Re: gnu inetlib initial submission
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Oct 2003 16:32:00 -0000


--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Joe Phillips wrote:
> > i've checked the first set of contributions to the inetlib project into
> > cvs. this includes:
> >=20
> > - an ftp client and URLConnection
>=20
> Chris,
>=20
> How full-blown is this client?  I have a full-blown FTP client I
> contacted Nick about contributing quite some time ago.  I'd be willing
> to contribute what I can.
>=20
> I developed it as a base class for a HylaFAX client.  Since I was
> planning to contribute it to Classpath, I took extra care to implement
> most/all of RFC959 and some extensions.

from the api documentation:

  This implements RFC 959, with the following exceptions:
   * STAT, HELP, SITE, SMNT, and ACCT commands are not supported.
   * the TYPE command does not allow alternatives to the default bytesize
     (Non-print), and local bytesize is not supported.

it's been tested using active/passive mode and MODE STREAM. i have been
unable thus far to locate a free ftp server that supports modes BLOCK and
COMPRESSED to test these.

it doesn't support any extensions; contributions would be most welcome,
subject to all the legal whatnot.

btw, by =E2=80=9Cclient=E2=80=9D i mean a client connection object, not a u=
ser-agent.
--=20
chris burdess

--5mCyUwZo2JvN/JJP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj+UDRsACgkQ6dl1DEqHgrilOACfX3Czsa3kO8dN3OZrebZaDhCV
6JAAn0DEYnRrSzZNzk2Wmw7gYDTI8rvK
=w9RE
-----END PGP SIGNATURE-----

--5mCyUwZo2JvN/JJP--



From MAILER-DAEMON Mon Oct 20 15:31:51 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ABfks-00085C-80
	for mharc-classpath@gnu.org; Mon, 20 Oct 2003 15:31:50 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ABfkm-0007uQ-UN
	for classpath@gnu.org; Mon, 20 Oct 2003 15:31:44 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ABfk6-0006ke-2f
	for classpath@gnu.org; Mon, 20 Oct 2003 15:31:34 -0400
Received: from [209.92.1.31] (helo=newmx1.fast.net)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ABfk5-0006ka-PB
	for classpath@gnu.org; Mon, 20 Oct 2003 15:31:01 -0400
Received: (qmail 5441 invoked from network); 20 Oct 2003 19:31:00 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx1.fast.net (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 20 Oct 2003 19:31:00 -0000
Message-ID: <3F9437F2.7030606@corp.fast.net>
Date: Mon, 20 Oct 2003 15:30:58 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.3.1) Gecko/20030527 Debian/1.3.1-2
X-Accept-Language: en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Oct 2003 19:31:48 -0000

There is a link to http://www.omg.org/ on Classpath's homepage, 
referencing it as a "provider for free core packages" for the org.omg 
packages. I have a few questions about this:

1) I can't actually find any downloadable implementation of the org.omg 
packages in the omg site. It might be helpful to provide a more direct 
link to exactly where the code can be found.

2) Last I heard, there were some questions about the freeness and/or GPL 
compatibility of the OMG's license. If that has changed and their 
classes are clearly unambiguously free and GPL compatible, wouldn't it 
be a good idea to include them directly in Classpath's CVS? And if not...
   a) If they're not free, isn't it a violation of GNU project policy to 
link to them at all - ESPECIALLY without prominently stating that 
they're not free?
   b) If they are free but aren't GPL-compatible, shouldn't there be a 
prominent warning because (if I understand the issues correctly) that 
would make anything that's simultaneously a derived work of Classpath 
and the org.omg packages completely unredistributable?

If they *are* free and GPL-compatible but simply not included in 
Classpath's CVS, it would be nice if whoever's producing japi files 
these days would include them in Classpath's japi: That would probably 
increase the number of green packages substantially[1]! :)

Stuart.

[1] Classpath vs JDK1.2 is currently red in only two places: javax.swing 
and org.omg. You could cut that in half :)
-- 
Stuart Ballard, Senior Web Developer
FASTNET - Web Solutions
(215) 283-2300, ext. 126
www.fast.net




From MAILER-DAEMON Mon Oct 20 16:04:30 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ABgG4-000517-Hg
	for mharc-classpath@gnu.org; Mon, 20 Oct 2003 16:04:04 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ABgFm-0004rD-9R
	for classpath@gnu.org; Mon, 20 Oct 2003 16:03:46 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ABgF9-0004Rw-FE
	for classpath@gnu.org; Mon, 20 Oct 2003 16:03:38 -0400
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ABgF0-0004I2-VY
	for classpath@gnu.org; Mon, 20 Oct 2003 16:02:59 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP
	id EB279622AE; Mon, 20 Oct 2003 20:02:57 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 61900-01; Mon, 20 Oct 2003 20:02:55 +0000 (GMT)
Received: from reali.dnsalias.net (adsl-212-41-91-8.solnet.ch [212.41.91.8])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 1841362296; Mon, 20 Oct 2003 20:02:54 +0000 (GMT)
Received: from pcprr
	(192-168-001-003-at-home-your-network.privateiprange.solnet.ch
	[192.168.1.3]) by reali.dnsalias.net (Postfix) with SMTP
	id 78E17340D3; Mon, 20 Oct 2003 21:53:55 +0200 (CEST)
Message-ID: <001501c39745$41ce1bb0$0301a8c0@pcprr>
From: "Patrik Reali" <reali@acm.org>
To: "Joseph Wenninger" <jowenn@kde.org>, <classpath@gnu.org>
References: <1066160036.3044.25.camel@localhost>
Date: Mon, 20 Oct 2003 22:03:40 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Virus-Scanned: by SolNet
Cc: 
Subject: Re: classpath initialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Oct 2003 20:04:00 -0000

Hi!

Initializing a JVM is quite a complicated thing. Many problems depend on
which class you first initialize, because this could cause unexpected
dependecies to pop up.

Jaos doesn't suffer from the problem you descrive, because it doesn't use
the external libraries or JNI: Oberon is rather close to Java, and the
objects can be directly accessed from both languages without fear of
breaking the type system or confusing the garbage collector.

I also had my share of problems with the system properties, because they are
hard-coded in the libraries and I didn't realize it at once. Furthermore,
the properties and java.io assume an unix-like filesystem, which Oberon
doesn't have: we don't have directories, only mounts.

In Jaos, I explicitely initialize a few classes during bootstrap (this are
only the explicit calls, other classes may be automatically initialized as
side effect, and in fact about 80 are!). This code relies on classpath 0.5
(I'm not through updating yet).

1. String
2. Throwable
3. StackTraceElement
4. VMThrowable
5. Thread
6. ThreadGroup
7. System

This may look strange, but....

1. String is implicitely used everywhere, because the string constants are
instances of this class; according to the spec, allocating an instance of a
class causes the class to be initialized. (I could avoid this, but then I
would have to protect every access to the string methods with a check to
launch initialization; Strings are already slow enough in Jaos).

2. Throwable / StackTraceElement / VMThrowable: I must allocate them when
the VM is launched: loading them on-demand (at the first exception) is
already too late, because the VM is already processing an exception (in
Oberon this is done with a software interrupt) and loading reads from the
disc (causing more interrupts), but the kernel doesn't allow to interrupt
handler to cause other interrupts.

3. Thread / ThreadGroup must be initialized, because every java program is
executed in a java thread; Jaos creates such a thread for the execution of a
java program.

This remarks (in particular 2 and 3) are quite Jaos specific.

This won't probably solve your problem, but may give you some insight about
the various problems encountered during the initialization phase.

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


----- Original Message -----
From: "Joseph Wenninger" <jowenn@kde.org>
To: <classpath@gnu.org>
Sent: Tuesday, October 14, 2003 9:33 PM
Subject: classpath initialization


> Hi
>
> I'm trying to use an unmodified classpath (0.06). I already have
> something working with a modified one.
>
> My problem is that the call stack during initialization of the System
> class I looks something like
>
> LOG:  called: java/lang/System.<clinit>()V()
> LOG:   called:
> java/lang/System.loadLibrary(Ljava/lang/String;)V(405c8488)
> LOG:     called: java/lang/Runtime.getRuntime()Ljava/lang/Runtime;()
> LOG:     finished:
> java/lang/Runtime.getRuntime()Ljava/lang/Runtime;->0x8420fd8
> LOG:     called:
> java/lang/Runtime.loadLibrary(Ljava/lang/String;)V(8420fd8, 405c8488)
> LOG:     called:
> java/lang/VMSecurityManager.currentClassLoader()Ljava/lang/ClassLoader;()
> LOG:     called: java/lang/ClassLoader.<clinit>()V()
> LOG: compiler_addinitclass: java/lang/VMClassLoader
> LOG:     called:
> java/lang/VMClassLoader.getSystemClassLoader()Ljava/lang/ClassLoader;()
> LOG:     called:
>
java/lang/System.getProperty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang
/String;(405cb500, 405cb578)
> ()V<i
>
> The last line causes an exception, since the static member properties
> isn't initialized yet. Did anybody else encounter such a problem ? I'm
> not sure if that it is a vm bug or a compiler problem or something that
> I miss
>
> Kind regards
> Joseph Wenninger
>
>
>
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath
>
>




From MAILER-DAEMON Mon Oct 20 16:05:43 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ABgHe-0005NO-Km
	for mharc-classpath@gnu.org; Mon, 20 Oct 2003 16:05:42 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ABgGo-0005Ai-GT
	for classpath@gnu.org; Mon, 20 Oct 2003 16:04:50 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ABgFx-0004yT-G6
	for classpath@gnu.org; Mon, 20 Oct 2003 16:04:28 -0400
Received: from [17.254.13.22] (helo=mail-out3.apple.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ABgFm-0004rE-RK
	for classpath@gnu.org; Mon, 20 Oct 2003 16:03:46 -0400
Received: from mailgate1.apple.com (a17-128-100-225.apple.com [17.128.100.225])
	by mail-out3.apple.com (8.12.10/8.12.9) with ESMTP id h9KK3jk0022670
	for <classpath@gnu.org>; Mon, 20 Oct 2003 13:03:45 -0700 (PDT)
Received: from scv1.apple.com (scv1.apple.com) by mailgate1.apple.com
	(Content Technologies SMTPRS 4.2.1) with ESMTP id
	<T65660055ab118064e13e4@mailgate1.apple.com>; 
	Mon, 20 Oct 2003 13:03:14 -0700
Received: from bothner.com (il0102a-dhcp75.apple.com [17.201.27.203])
	by scv1.apple.com (8.12.9/8.12.9) with ESMTP id h9KK3JsH026217;
	Mon, 20 Oct 2003 13:03:19 -0700 (PDT)
Message-ID: <3F943FA0.9070601@bothner.com>
Date: Mon, 20 Oct 2003 13:03:44 -0700
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
	rv:1.5b) Gecko/20030827
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stuart Ballard <stuart.ballard@corp.fast.net>
References: <3F9437F2.7030606@corp.fast.net>
In-Reply-To: <3F9437F2.7030606@corp.fast.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Oct 2003 20:05:40 -0000

Stuart Ballard wrote:
>   b) If they are free but aren't GPL-compatible, shouldn't there be a 
> prominent warning because (if I understand the issues correctly) that 
> would make anything that's simultaneously a derived work of Classpath 
> and the org.omg packages completely unredistributable?

I don't think so.  Classpath uses GPL+exception and can be linked
with proprietary applications.  So someone could almost certainly
distribute Classpath + org.omg.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/





From MAILER-DAEMON Mon Oct 20 16:44:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ABgtS-0000ZV-Ag
	for mharc-classpath@gnu.org; Mon, 20 Oct 2003 16:44:46 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ABgtP-0000Z4-OK
	for classpath@gnu.org; Mon, 20 Oct 2003 16:44:43 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ABgsr-0000BZ-Sk
	for classpath@gnu.org; Mon, 20 Oct 2003 16:44:41 -0400
Received: from [209.92.1.31] (helo=newmx1.fast.net)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ABgsr-0000Ar-6B
	for classpath@gnu.org; Mon, 20 Oct 2003 16:44:09 -0400
Received: (qmail 9072 invoked from network); 20 Oct 2003 20:44:08 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx1.fast.net (qmail-ldap-1.03) with SMTP
	for <per@bothner.com>; 20 Oct 2003 20:44:08 -0000
Message-ID: <3F944916.3090205@corp.fast.net>
Date: Mon, 20 Oct 2003 16:44:06 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.3.1) Gecko/20030527 Debian/1.3.1-2
X-Accept-Language: en
MIME-Version: 1.0
To: Per Bothner <per@bothner.com>
References: <3F9437F2.7030606@corp.fast.net> <3F943FA0.9070601@bothner.com>
In-Reply-To: <3F943FA0.9070601@bothner.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Oct 2003 20:44:44 -0000

Per Bothner wrote:
> I don't think so.  Classpath uses GPL+exception and can be linked
> with proprietary applications.  So someone could almost certainly
> distribute Classpath + org.omg.

You're right. I should have said "Free but aren't 
GPL+exception-compatible". I'm not sure whether such a thing is possible 
- if not, obviously the point is moot and we're just left with "free or 
not".

Stuart.

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




From MAILER-DAEMON Mon Oct 20 23:58:25 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ABnf6-0004g4-W8
	for mharc-classpath@gnu.org; Mon, 20 Oct 2003 23:58:24 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ABnf4-0004fy-FL
	for classpath@gnu.org; Mon, 20 Oct 2003 23:58:22 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ABneY-0004eX-IW
	for classpath@gnu.org; Mon, 20 Oct 2003 23:58:21 -0400
Received: from [24.25.9.100] (helo=ms-smtp-01-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ABneY-0004eR-47
	for classpath@gnu.org; Mon, 20 Oct 2003 23:57:50 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	h9L3vlQT017315; Mon, 20 Oct 2003 23:57:47 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 0C33EBE641; Mon, 20 Oct 2003 23:50:05 -0400 (EDT)
Sender: cbj@haphazard.org
To: Stuart Ballard <stuart.ballard@corp.fast.net>
References: <3F9437F2.7030606@corp.fast.net>
From: Brian Jones <cbj@gnu.org>
Date: 20 Oct 2003 23:50:05 -0400
In-Reply-To: <3F9437F2.7030606@corp.fast.net>
Message-ID: <m3ad7vdzbm.fsf@lyta.haphazard.org>
Lines: 35
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Oct 2003 03:58:23 -0000

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

> There is a link to http://www.omg.org/ on Classpath's homepage,
> referencing it as a "provider for free core packages" for the org.omg
> packages. I have a few questions about this:
> 
> 1) I can't actually find any downloadable implementation of the
> org.omg packages in the omg site. It might be helpful to provide a
> more direct link to exactly where the code can be found.

They are on the ftp site, probably not obvious.

>    b) If they are free but aren't GPL-compatible, shouldn't there be a
> prominent warning because (if I understand the issues correctly) that
> would make anything that's simultaneously a derived work of Classpath
> and the org.omg packages completely unredistributable?

Basically they will never be free to modify because the entire point
of the OMG standard is these interfaces DO NOT CHANGE or change only
as the standard evolves at the whim of the standards body.  The GPL
doesn't allow compatibility with licenses that do not permit
modification.

All of that said, I pursued getting the OMG responsible people to
change the license and I think they saw why we needed this and at
least in some sense were sympathetic but the overriding concern is
that of interoperability and hence there was no change.  It doesn't
mean that going back to them now couldn't change the appropriate minds
just that I didn't get very far except that it was on the agenda for
one of the quarterly meetings as far as I know and I never got another
response.

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



From MAILER-DAEMON Tue Oct 21 04:20:08 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ABrkO-0001U7-8K
	for mharc-classpath@gnu.org; Tue, 21 Oct 2003 04:20:08 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ABrkL-0001U1-TN
	for classpath@gnu.org; Tue, 21 Oct 2003 04:20:05 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ABrjp-0001Md-JI
	for classpath@gnu.org; Tue, 21 Oct 2003 04:20:04 -0400
Received: from [193.74.71.23] (helo=oola.is.kpn.be)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ABrjp-0001Ku-0z
	for classpath@gnu.org; Tue, 21 Oct 2003 04:19:33 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by oola.is.kpn.be  with SMTP id h9L8JHS08672; 
	Tue, 21 Oct 2003 10:19:17 +0200
Message-Id: <200310210819.h9L8JHS08672@oola.is.kpn.be>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: "Patrik Reali" <reali@acm.org>, "Joseph Wenninger" <jowenn@kde.org>,
	<classpath@gnu.org>
Date: Tue, 21 Oct 2003 10:19:14 +0200
X-Mailer: KMail [version 1.3]
References: <1066160036.3044.25.camel@localhost>
	<001501c39745$41ce1bb0$0301a8c0@pcprr>
In-Reply-To: <001501c39745$41ce1bb0$0301a8c0@pcprr>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: 
Subject: Re: classpath initialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Oct 2003 08:20:06 -0000

For comparison, Wonka's explicit class initialisation looks something like 
this:
  **  1) load class java/lang/Object.
  **  2) load java/lang/Cloneable, java/lang/Serializable, 
java/lang/Throwable.
  **  3) create clazz_Array. clazz_Array acts like clazzObject but has
  **     a modified method table and a modified interfaces table.
  **     It overrides the clone method of java/lang/Object and adds two
  **     new interfaces: Cloneable and Serializable.
  **     (We need to do this before any subclasses of Throwable are loaded,
  **     in order to ensure that they are marked CLAZZ_IS_THROWABLE).
  **  4) load java/lang/Class, java/lang/ClassLoader, java/lang/Thread,
  **     java/lang/ThreadGroup, and java/lang/ref/Reference.
  **  5) load all the classes mentioned in core-classes.in.
  **  6) For each primitive class xxx, create:
  **       -An instance Class_xxx of class java/lang/Class, linked to
  **        a w_Clazz structure (clazz_xxx).
  **        The name associated with the Class instance is "xxx.class".
  **       -Entries in the array atype2clazz[], which is indexed by P_xxx.

Step 5) is needed because we need to create explicit relationships between C 
and Java constructs for quite a large number of classes, which Patrik doesn't 
need to do because he's using Oberon. I guess that's also why he doesn't need 
to explicitly load ClassLoader; we need to do that because of all the 
behind-the-scenes stuff needed to implement class loading according to the 
JVM spec.

Best wishes

Chris


On Monday 20 October 2003 22:03, Patrik Reali wrote:
> Hi!
>
> Initializing a JVM is quite a complicated thing. Many problems depend on
> which class you first initialize, because this could cause unexpected
> dependecies to pop up.
>
> Jaos doesn't suffer from the problem you descrive, because it doesn't use
> the external libraries or JNI: Oberon is rather close to Java, and the
> objects can be directly accessed from both languages without fear of
> breaking the type system or confusing the garbage collector.
>
> I also had my share of problems with the system properties, because they
> are hard-coded in the libraries and I didn't realize it at once.
> Furthermore, the properties and java.io assume an unix-like filesystem,
> which Oberon doesn't have: we don't have directories, only mounts.
>
> In Jaos, I explicitely initialize a few classes during bootstrap (this are
> only the explicit calls, other classes may be automatically initialized as
> side effect, and in fact about 80 are!). This code relies on classpath 0.5
> (I'm not through updating yet).
>
> 1. String
> 2. Throwable
> 3. StackTraceElement
> 4. VMThrowable
> 5. Thread
> 6. ThreadGroup
> 7. System
>
> This may look strange, but....
>
> 1. String is implicitely used everywhere, because the string constants are
> instances of this class; according to the spec, allocating an instance of a
> class causes the class to be initialized. (I could avoid this, but then I
> would have to protect every access to the string methods with a check to
> launch initialization; Strings are already slow enough in Jaos).
>
> 2. Throwable / StackTraceElement / VMThrowable: I must allocate them when
> the VM is launched: loading them on-demand (at the first exception) is
> already too late, because the VM is already processing an exception (in
> Oberon this is done with a software interrupt) and loading reads from the
> disc (causing more interrupts), but the kernel doesn't allow to interrupt
> handler to cause other interrupts.
>
> 3. Thread / ThreadGroup must be initialized, because every java program is
> executed in a java thread; Jaos creates such a thread for the execution of
> a java program.
>
> This remarks (in particular 2 and 3) are quite Jaos specific.
>
> This won't probably solve your problem, but may give you some insight about
> the various problems encountered during the initialization phase.
>
> -Patrik
> --------
> Patrik Reali
> http://www.reali.ch/~patrik/
> http://www.oberon.ethz.ch/jaos
>
>
> ----- Original Message -----
> From: "Joseph Wenninger" <jowenn@kde.org>
> To: <classpath@gnu.org>
> Sent: Tuesday, October 14, 2003 9:33 PM
> Subject: classpath initialization
>
> > Hi
> >
> > I'm trying to use an unmodified classpath (0.06). I already have
> > something working with a modified one.
> >
> > My problem is that the call stack during initialization of the System
> > class I looks something like
> >
> > LOG:  called: java/lang/System.<clinit>()V()
> > LOG:   called:
> > java/lang/System.loadLibrary(Ljava/lang/String;)V(405c8488)
> > LOG:     called: java/lang/Runtime.getRuntime()Ljava/lang/Runtime;()
> > LOG:     finished:
> > java/lang/Runtime.getRuntime()Ljava/lang/Runtime;->0x8420fd8
> > LOG:     called:
> > java/lang/Runtime.loadLibrary(Ljava/lang/String;)V(8420fd8, 405c8488)
> > LOG:     called:
> > java/lang/VMSecurityManager.currentClassLoader()Ljava/lang/ClassLoader;()
> > LOG:     called: java/lang/ClassLoader.<clinit>()V()
> > LOG: compiler_addinitclass: java/lang/VMClassLoader
> > LOG:     called:
> > java/lang/VMClassLoader.getSystemClassLoader()Ljava/lang/ClassLoader;()
> > LOG:     called:
>
> java/lang/System.getProperty(Ljava/lang/String;Ljava/lang/String;)Ljava/lan
>g /String;(405cb500, 405cb578)
>
> > ()V<i
> >
> > The last line causes an exception, since the static member properties
> > isn't initialized yet. Did anybody else encounter such a problem ? I'm
> > not sure if that it is a vm bug or a compiler problem or something that
> > I miss
> >
> > Kind regards
> > Joseph Wenninger
> >
> >
> >
> > _______________________________________________
> > Classpath mailing list
> > Classpath@gnu.org
> > http://mail.gnu.org/mailman/listinfo/classpath
>
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath

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



From MAILER-DAEMON Tue Oct 21 09:46:17 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ABwq1-0003wh-16
	for mharc-classpath@gnu.org; Tue, 21 Oct 2003 09:46:17 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ABwpz-0003w9-9T
	for classpath@gnu.org; Tue, 21 Oct 2003 09:46:15 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ABwpT-0003md-2r
	for classpath@gnu.org; Tue, 21 Oct 2003 09:46:13 -0400
Received: from [209.92.1.32] (helo=newmx2.fast.net)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ABwks-00032y-3Z
	for classpath@gnu.org; Tue, 21 Oct 2003 09:40:58 -0400
Received: (qmail 28136 invoked from network); 21 Oct 2003 13:40:50 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx2.fast.net (qmail-ldap-1.03) with SMTP
	for <cbj@gnu.org>; 21 Oct 2003 13:40:50 -0000
Message-ID: <3F953760.2020704@corp.fast.net>
Date: Tue, 21 Oct 2003 09:40:48 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.3.1) Gecko/20030527 Debian/1.3.1-2
X-Accept-Language: en
MIME-Version: 1.0
To: Brian Jones <cbj@gnu.org>
References: <3F9437F2.7030606@corp.fast.net>
	<m3ad7vdzbm.fsf@lyta.haphazard.org>
In-Reply-To: <m3ad7vdzbm.fsf@lyta.haphazard.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Oct 2003 13:46:16 -0000

Brian Jones wrote:
> Basically they will never be free to modify because the entire point
> of the OMG standard is these interfaces DO NOT CHANGE or change only
> as the standard evolves at the whim of the standards body.  The GPL
> doesn't allow compatibility with licenses that do not permit
> modification.

Then isn't Classpath violating GNU project policy by advertising 
non-free software on its homepage?

Stuart.

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




From MAILER-DAEMON Tue Oct 21 14:48:30 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AC1YU-0005bc-2j
	for mharc-classpath@gnu.org; Tue, 21 Oct 2003 14:48:30 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AC1YP-0005ZP-6H
	for classpath@gnu.org; Tue, 21 Oct 2003 14:48:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AC1Xs-0004p1-9a
	for classpath@gnu.org; Tue, 21 Oct 2003 14:48:23 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.24)
	id 1AC1Xm-0004nB-9X; Tue, 21 Oct 2003 14:47:46 -0400
Received: from fleche.redhat.com (tf0021.peakpeak.com [204.144.239.21])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id MAA11140;
	Tue, 21 Oct 2003 12:47:43 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id B01684F8322; Tue, 21 Oct 2003 12:39:01 -0600 (MDT)
To: Stuart Ballard <stuart.ballard@corp.fast.net>
References: <3F9437F2.7030606@corp.fast.net>
	<m3ad7vdzbm.fsf@lyta.haphazard.org> <3F953760.2020704@corp.fast.net>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: I HAVE a towel.
Date: 21 Oct 2003 12:39:01 -0600
In-Reply-To: <3F953760.2020704@corp.fast.net>
Message-ID: <87k76yqvui.fsf@fleche.redhat.com>
Lines: 11
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: Brian Jones <cbj@gnu.org>, GNU Classpath <classpath@gnu.org>
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Oct 2003 18:48:28 -0000

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

Stuart> Then isn't Classpath violating GNU project policy by advertising
Stuart> non-free software on its homepage?

I guess so.

There's also JacORB to link to.  I think we had one of these running
with libgcj a long time ago.  I haven't tried recently.

Tom



From MAILER-DAEMON Tue Oct 21 15:21:06 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AC241-0008SK-Hi
	for mharc-classpath@gnu.org; Tue, 21 Oct 2003 15:21:05 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AC23s-0008Qw-W0
	for classpath@gnu.org; Tue, 21 Oct 2003 15:20:56 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AC1yV-0007DZ-7b
	for classpath@gnu.org; Tue, 21 Oct 2003 15:15:54 -0400
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.24)
	id 1AC1xm-000711-Ug; Tue, 21 Oct 2003 15:14:39 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 17D0062205; Tue, 21 Oct 2003 19:14:38 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 44142-10; Tue, 21 Oct 2003 19:14:36 +0000 (GMT)
Received: from reali.dnsalias.net (adsl-212-41-91-8.solnet.ch [212.41.91.8])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 5F5516210A; Tue, 21 Oct 2003 19:14:35 +0000 (GMT)
Received: from pcprr
	(192-168-001-003-at-home-your-network.privateiprange.solnet.ch
	[192.168.1.3]) by reali.dnsalias.net (Postfix) with SMTP
	id B8A4734C98; Tue, 21 Oct 2003 21:05:35 +0200 (CEST)
Message-ID: <00b101c39807$ac869500$0301a8c0@pcprr>
From: "Patrik Reali" <reali@acm.org>
To: "Stuart Ballard" <stuart.ballard@corp.fast.net>,
	"Brian Jones" <cbj@gnu.org>
References: <3F9437F2.7030606@corp.fast.net><m3ad7vdzbm.fsf@lyta.haphazard.org>
	<3F953760.2020704@corp.fast.net>
Date: Tue, 21 Oct 2003 21:15:21 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Virus-Scanned: by SolNet
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Oct 2003 19:20:57 -0000

The LGPL has a rather interesting point in paragraph 6a. where they state
that it is obviously possible to change the code, but "It is understood that
the user who changes the contents of definitions files in the Library will
not necessarily be able to recompile the application to use the modified
definitions".

I think this bit is not in the GPL (as every piece of code is released under
the GLP).

This is obviously common sense. The same holds for any implementation of a
protocol (even the GPLed ones) that everything can be changed, but nobody
would seriously expect them to work afterwards. Would you consider the
implementation of a standard or a protocol (which cannot change freely) to
violate the GPL?

I do not know what the OMG licences doens't allow to do (I couldn't find the
implementatio either).

-Patrik

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



----- Original Message -----
From: "Stuart Ballard" <stuart.ballard@corp.fast.net>
To: "Brian Jones" <cbj@gnu.org>
Cc: "GNU Classpath" <classpath@gnu.org>
Sent: Tuesday, October 21, 2003 3:40 PM
Subject: Re: org.omg link on Classpath homepage


> Brian Jones wrote:
> > Basically they will never be free to modify because the entire point
> > of the OMG standard is these interfaces DO NOT CHANGE or change only
> > as the standard evolves at the whim of the standards body.  The GPL
> > doesn't allow compatibility with licenses that do not permit
> > modification.
>
> Then isn't Classpath violating GNU project policy by advertising
> non-free software on its homepage?
>
> Stuart.
>
> --
> Stuart Ballard, Senior Web Developer
> FASTNET - Web Solutions
> (215) 283-2300, ext. 126
> www.fast.net
>
>
>
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath
>
>




From MAILER-DAEMON Wed Oct 22 00:01:22 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACABW-0007lV-5N
	for mharc-classpath@gnu.org; Wed, 22 Oct 2003 00:01:22 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACABT-0007ks-Bj
	for classpath@gnu.org; Wed, 22 Oct 2003 00:01:19 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACAAg-0007bc-7C
	for classpath@gnu.org; Wed, 22 Oct 2003 00:01:11 -0400
Received: from [24.25.9.100] (helo=ms-smtp-01-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACAAf-0007bS-F3
	for classpath@gnu.org; Wed, 22 Oct 2003 00:00:29 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	h9M40QQT023189; Wed, 22 Oct 2003 00:00:26 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 57688BE641; Tue, 21 Oct 2003 23:52:28 -0400 (EDT)
Sender: cbj@haphazard.org
To: Stuart Ballard <stuart.ballard@corp.fast.net>
References: <3F9437F2.7030606@corp.fast.net>
	<m3ad7vdzbm.fsf@lyta.haphazard.org> <3F953760.2020704@corp.fast.net>
From: Brian Jones <cbj@gnu.org>
Date: 21 Oct 2003 23:52:28 -0400
In-Reply-To: <3F953760.2020704@corp.fast.net>
Message-ID: <m3brsaq683.fsf@lyta.haphazard.org>
Lines: 34
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Oct 2003 04:01:20 -0000

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

> Brian Jones wrote:
> > Basically they will never be free to modify because the entire point
> > of the OMG standard is these interfaces DO NOT CHANGE or change only
> > as the standard evolves at the whim of the standards body.  The GPL
> > doesn't allow compatibility with licenses that do not permit
> > modification.
> 
> Then isn't Classpath violating GNU project policy by advertising
> non-free software on its homepage?

I don't know if the FSF has characterized the OMG license as non-free
yet.  We can't include it but we're certainly free to point people at
it.  It's called 'javartf' and I still have a copy of it if someone
wants it.  I couldn't get into the ftp site just now myself.

Copyright (c) 1999 Object Management Group. Unlimited rights to 
duplicate and use this code are hereby granted provided that
this copyright notice is included.

In order to promote interoperability, they specificly do not give the
right to modify the source.  If you want to put something in CVS,
you'll have to rip the interfaces yourself.  I think someone wrote a
javadoc based program to do this for you but I'm still not sure that
is legal.

Like Tom said, jacorb or someone else like that may have the necessary
work already done if they have tried to run with gcj or another free
JVM.

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



From MAILER-DAEMON Wed Oct 22 07:58:04 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACHcq-0000lY-1Z
	for mharc-classpath@gnu.org; Wed, 22 Oct 2003 07:58:04 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACHco-0000lF-4I
	for classpath@gnu.org; Wed, 22 Oct 2003 07:58:02 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACHcI-0000es-1A
	for classpath@gnu.org; Wed, 22 Oct 2003 07:58:01 -0400
Received: from [209.92.1.31] (helo=newmx1.fast.net)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ACHcH-0000eZ-Eo
	for classpath@gnu.org; Wed, 22 Oct 2003 07:57:29 -0400
Received: (qmail 23773 invoked from network); 22 Oct 2003 11:57:28 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx1.fast.net (qmail-ldap-1.03) with SMTP
	for <cbj@gnu.org>; 22 Oct 2003 11:57:28 -0000
Message-ID: <3F9670A5.3070000@corp.fast.net>
Date: Wed, 22 Oct 2003 07:57:25 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.4) Gecko/20031010 Debian/1.4-6
X-Accept-Language: en
MIME-Version: 1.0
To: Brian Jones <cbj@gnu.org>
References: <3F9437F2.7030606@corp.fast.net>	<m3ad7vdzbm.fsf@lyta.haphazard.org>
	<3F953760.2020704@corp.fast.net>
	<m3brsaq683.fsf@lyta.haphazard.org>
In-Reply-To: <m3brsaq683.fsf@lyta.haphazard.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Oct 2003 11:58:02 -0000

Brian Jones wrote:
> I don't know if the FSF has characterized the OMG license as non-free
> yet.  We can't include it but we're certainly free to point people at
> it.  It's called 'javartf' and I still have a copy of it if someone
> wants it.  I couldn't get into the ftp site just now myself.

Surely if it doesn't allow modification there's not much doubt that it's 
non-free?

And there was a somewhat-public dispute between the GNU Ghostscript team 
and the GNU Project leadership (specifically RMS) over the fact that GNU 
Ghostscript pointed people to Aladdin Ghostscript which is non-free - 
last I heard, GNU Ghostscript was no longer part of the GNU project 
(although the split was amicable) because they were unwilling to remove 
all references to the non-free project. So I'm fairly sure that the rule 
against pointing people to non-free code is enforced strictly on 
software that is part of the GNU project.

Stuart.

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




From MAILER-DAEMON Wed Oct 22 08:10:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACHoP-0005ny-SH
	for mharc-classpath@gnu.org; Wed, 22 Oct 2003 08:10:01 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACHo4-0005ao-9f
	for classpath@gnu.org; Wed, 22 Oct 2003 08:09:40 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACHnV-0004tk-Gx
	for classpath@gnu.org; Wed, 22 Oct 2003 08:09:36 -0400
Received: from [146.87.255.104] (helo=pan.salford.ac.uk)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ACHnR-0004jl-0W
	for classpath@gnu.org; Wed, 22 Oct 2003 08:09:01 -0400
Received: (qmail 32370 invoked by uid 1236); 22 Oct 2003 12:08:59 -0000
Received: from ricky_clarkson@yahoo.com by pan.salford.ac.uk by uid 401 with
	qmail-scanner-1.20rc4 
	(clamuko: 0.60. uvscan: v4.2.40/v4298. spamassassin: 2.60. Clear:RC:1:.
	Processed in 0.019072 secs); 22 Oct 2003 12:08:59 -0000
Received: from [146.87.133.141] (HELO debian) (146.87.133.141) by
	pan.salford.ac.uk (qpsmtpd/0.27-dev) with ESMTP;
	Wed, 22 Oct 2003 13:08:59 +0100
Received: from ricky by debian with local (Exim 4.24)	id 1ACHlK-0001LO-5k	for
	classpath@gnu.org; Wed, 22 Oct 2003 13:06:50 +0100
Date: Wed, 22 Oct 2003 13:06:50 +0100
To: classpath@gnu.org
Message-ID: <20031022120650.GA5124@yahoo.com>
References: <3F9437F2.7030606@corp.fast.net>
	<m3ad7vdzbm.fsf@lyta.haphazard.org>
	<3F953760.2020704@corp.fast.net>
	<m3brsaq683.fsf@lyta.haphazard.org>
	<3F9670A5.3070000@corp.fast.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3F9670A5.3070000@corp.fast.net>
User-Agent: Mutt/1.5.4i
From: Ricky Clarkson <ricky_clarkson@yahoo.com>
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Oct 2003 12:09:47 -0000

Hi,

If software that is non-free is software that is not part of the GNU
project, then Linux is non-free, and someone has somewhere defined free
as being GNU.

If you disallow links to software that itself provides links to
non-free software, you are effectively trying to create your own
separate internet where http://www.microsoft.com is illegal (as well it
should be, you may say :).

Ricky.

> And there was a somewhat-public dispute between the GNU Ghostscript team 
> and the GNU Project leadership (specifically RMS) over the fact that GNU 
> Ghostscript pointed people to Aladdin Ghostscript which is non-free - 
> last I heard, GNU Ghostscript was no longer part of the GNU project 
> (although the split was amicable) because they were unwilling to remove 
> all references to the non-free project. So I'm fairly sure that the rule 
> against pointing people to non-free code is enforced strictly on 
> software that is part of the GNU project.

-- 
Sin has many tools, but a lie is the handle which fits them all.



From MAILER-DAEMON Wed Oct 22 08:37:10 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACIAZ-0005jc-Gq
	for mharc-classpath@gnu.org; Wed, 22 Oct 2003 08:32:55 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACIAQ-0005gr-3y
	for classpath@gnu.org; Wed, 22 Oct 2003 08:32:46 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACI7a-0004yA-L1
	for classpath@gnu.org; Wed, 22 Oct 2003 08:30:22 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACI3g-0004EB-Ud
	for classpath@gnu.org; Wed, 22 Oct 2003 08:25:48 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h9MCPhM09409
	for <classpath@gnu.org>; Wed, 22 Oct 2003 08:25:43 -0400
Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h9MCPhr21974
	for <classpath@gnu.org>; Wed, 22 Oct 2003 08:25:43 -0400
Received: from cuddles.cambridge.redhat.com
	(IDENT:MPbqRKQq9qbH9fKzhUWE735AWklt2Fzv@vpn50-19.rdu.redhat.com
	[172.16.50.19])
	by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id h9MCPfCo001891; 
	Wed, 22 Oct 2003 08:25:42 -0400
Received: from cuddles.cambridge.redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	h9MCOpa0001146; Wed, 22 Oct 2003 13:25:16 +0100
Received: (from aph@localhost)
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8/Submit) id
	h9MCOojP001141; Wed, 22 Oct 2003 13:24:50 +0100
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16278.30482.68205.583253@cuddles.cambridge.redhat.com>
Date: Wed, 22 Oct 2003 13:24:50 +0100
To: Ricky Clarkson <ricky_clarkson@yahoo.com>
In-Reply-To: <20031022120650.GA5124@yahoo.com>
References: <3F9437F2.7030606@corp.fast.net>
	<m3ad7vdzbm.fsf@lyta.haphazard.org>
	<3F953760.2020704@corp.fast.net>
	<m3brsaq683.fsf@lyta.haphazard.org>
	<3F9670A5.3070000@corp.fast.net> <20031022120650.GA5124@yahoo.com>
X-Mailer: VM 7.14 under Emacs 21.2.1
Cc: classpath@gnu.org
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Oct 2003 12:32:52 -0000

Ricky Clarkson writes:

 > If software that is non-free is software that is not part of the GNU
 > project,

False premise.

 > then Linux is non-free, and someone has somewhere defined free
 > as being GNU.

Incorrect conclusion.  Please see "The Free Software Definition",
http://www.gnu.org/philosophy/free-sw.html.

 > If you disallow links to software that itself provides links to
 > non-free software, you are effectively trying to create your own
 > separate internet where http://www.microsoft.com is illegal (as well it
 > should be, you may say :).

FSF pages don't link to unfree software projects.  It seems that OMG
is not be an unfree software project, because "Implementations of the
OMG specifications - such as Object Request Brokers, IDL compilers,
and UML-based modeling tools - are not produced by OMG. They are,
instead, produced by software vendors or suppliers..."

Andrew.



From MAILER-DAEMON Wed Oct 22 09:46:51 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACJJc-0000sr-FS
	for mharc-classpath@gnu.org; Wed, 22 Oct 2003 09:46:20 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACJJE-0000i2-47
	for classpath@gnu.org; Wed, 22 Oct 2003 09:45:56 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACJIg-0000Vi-9O
	for classpath@gnu.org; Wed, 22 Oct 2003 09:45:53 -0400
Received: from [209.92.1.31] (helo=newmx1.fast.net)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ACJId-0000V7-Tv
	for classpath@gnu.org; Wed, 22 Oct 2003 09:45:19 -0400
Received: (qmail 26369 invoked from network); 22 Oct 2003 13:45:18 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx1.fast.net (qmail-ldap-1.03) with SMTP
	for <aph@redhat.com>; 22 Oct 2003 13:45:18 -0000
Message-ID: <3F9689EC.1030105@corp.fast.net>
Date: Wed, 22 Oct 2003 09:45:16 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.4) Gecko/20031010 Debian/1.4-6
X-Accept-Language: en
MIME-Version: 1.0
To: Andrew Haley <aph@redhat.com>
References: <3F9437F2.7030606@corp.fast.net>	<m3ad7vdzbm.fsf@lyta.haphazard.org>	<3F953760.2020704@corp.fast.net>	<m3brsaq683.fsf@lyta.haphazard.org>	<3F9670A5.3070000@corp.fast.net>
	<20031022120650.GA5124@yahoo.com>
	<16278.30482.68205.583253@cuddles.cambridge.redhat.com>
In-Reply-To: <16278.30482.68205.583253@cuddles.cambridge.redhat.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Oct 2003 13:46:17 -0000

Andrew Haley wrote:
> FSF pages don't link to unfree software projects.  It seems that OMG
> is not be an unfree software project, because "Implementations of the
> OMG specifications - such as Object Request Brokers, IDL compilers,
> and UML-based modeling tools - are not produced by OMG. They are,
> instead, produced by software vendors or suppliers..."

But the link is provided specifically to get some software that *is* 
produced by the OMG, and is non-free.

I see three distinct issues here:

1) The link doesn't actually take you to a place where you can get the 
software in question, so it's pretty useless as a link anyway.

2) The link is in a section labelled "providers for free core packages", 
but the software in question is not free. You could argue that "free" in 
this context means zero-cost, but on a GNU project such usage is at best 
VERY ambiguous and at worst outright misleading.

3) GNU projects aren't supposed to link to non-free software, so the 
link shouldn't exist in the first place. A link to OMG *could* be 
legitimate, if it was in the context of "the people who define the CORBA 
specification, including the org.omg packages". But even though the OMG 
is not in itself a non-free software project, I can't see how "go to the 
OMG to get this software", when the software in question is non-free, is 
not a link to non-free software.

To fix 3, the link must be removed entirely. If for some reason 3 
doesn't need to be fixed (eg I'm misinterpreting GNU project policy), at 
least 1 and 2 should be.

Stuart.

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




From MAILER-DAEMON Wed Oct 22 09:57:08 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACJTv-0007a5-0S
	for mharc-classpath@gnu.org; Wed, 22 Oct 2003 09:56:59 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACJTF-0006Yt-MG
	for classpath@gnu.org; Wed, 22 Oct 2003 09:56:17 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACJSF-0005Bs-4g
	for classpath@gnu.org; Wed, 22 Oct 2003 09:55:46 -0400
Received: from [66.187.233.31] (helo=mx1.redhat.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACJRI-0004j2-ID
	for classpath@gnu.org; Wed, 22 Oct 2003 09:54:16 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h9MDsFM01727
	for <classpath@gnu.org>; Wed, 22 Oct 2003 09:54:15 -0400
Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h9MDsFr20156
	for <classpath@gnu.org>; Wed, 22 Oct 2003 09:54:15 -0400
Received: from cuddles.cambridge.redhat.com
	(IDENT:wupV9yg7ucIELW6GBmnDjh9RJDXdo4SS@vpn50-19.rdu.redhat.com
	[172.16.50.19])
	by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id h9MDsECo012775; 
	Wed, 22 Oct 2003 09:54:14 -0400
Received: from cuddles.cambridge.redhat.com (localhost.localdomain [127.0.0.1])
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8) with ESMTP id
	h9MDr3a0001509; Wed, 22 Oct 2003 14:53:38 +0100
Received: (from aph@localhost)
	by cuddles.cambridge.redhat.com (8.12.8/8.12.8/Submit) id
	h9MDr1M2001505; Wed, 22 Oct 2003 14:53:01 +0100
From: Andrew Haley <aph@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16278.35773.803725.509181@cuddles.cambridge.redhat.com>
Date: Wed, 22 Oct 2003 14:53:01 +0100
To: Stuart Ballard <stuart.ballard@corp.fast.net>
In-Reply-To: <3F9689EC.1030105@corp.fast.net>
References: <3F9437F2.7030606@corp.fast.net>
	<m3ad7vdzbm.fsf@lyta.haphazard.org>
	<3F953760.2020704@corp.fast.net>
	<m3brsaq683.fsf@lyta.haphazard.org>
	<3F9670A5.3070000@corp.fast.net> <20031022120650.GA5124@yahoo.com>
	<16278.30482.68205.583253@cuddles.cambridge.redhat.com>
	<3F9689EC.1030105@corp.fast.net>
X-Mailer: VM 7.14 under Emacs 21.2.1
Cc: classpath@gnu.org
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Oct 2003 13:56:46 -0000

Stuart Ballard writes:
 > Andrew Haley wrote:
 > > FSF pages don't link to unfree software projects.  It seems that OMG
 > > is not be an unfree software project, because "Implementations of the
 > > OMG specifications - such as Object Request Brokers, IDL compilers,
 > > and UML-based modeling tools - are not produced by OMG. They are,
 > > instead, produced by software vendors or suppliers..."
 > 
 > But the link is provided specifically to get some software that *is* 
 > produced by the OMG, and is non-free.

Where is this software?

 > I see three distinct issues here:
 > 
 > 1) The link doesn't actually take you to a place where you can get the 
 > software in question, so it's pretty useless as a link anyway.
 > 
 > 2) The link is in a section labelled "providers for free core packages", 
 > but the software in question is not free. You could argue that "free" in 
 > this context means zero-cost, but on a GNU project such usage is at best 
 > VERY ambiguous and at worst outright misleading.

Where is this link?

 > 3) GNU projects aren't supposed to link to non-free software, so the 
 > link shouldn't exist in the first place. A link to OMG *could* be 
 > legitimate, if it was in the context of "the people who define the CORBA 
 > specification, including the org.omg packages". But even though the OMG 
 > is not in itself a non-free software project, I can't see how "go to the 
 > OMG to get this software", when the software in question is non-free, is 
 > not a link to non-free software.
 > 
 > To fix 3, the link must be removed entirely. If for some reason 3 
 > doesn't need to be fixed (eg I'm misinterpreting GNU project policy), at 
 > least 1 and 2 should be.

If there is a pointer to unfree software it must, per GNU rules, be removed.

But I've failed to find it, and I did try.

Andrew.



From MAILER-DAEMON Wed Oct 22 10:09:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACJgI-0005vK-Os
	for mharc-classpath@gnu.org; Wed, 22 Oct 2003 10:09:46 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACJgA-0005ub-AW
	for classpath@gnu.org; Wed, 22 Oct 2003 10:09:38 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACJfd-0005gu-QV
	for classpath@gnu.org; Wed, 22 Oct 2003 10:09:36 -0400
Received: from [209.161.29.2] (helo=mail.qwknetllc.com)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ACJfd-0005gp-6B
	for classpath@gnu.org; Wed, 22 Oct 2003 10:09:05 -0400
Received: (qmail 11825 invoked by uid 398); 22 Oct 2003 14:08:58 -0000
Received: from 81.58.25.194 (SquirrelMail authenticated user markqwk@klomp.org)
	by 209.161.29.2 with HTTP; Wed, 22 Oct 2003 16:08:58 +0200 (CEST)
Message-ID: <35972.81.58.25.194.1066831738.squirrel@209.161.29.2>
In-Reply-To: <3F9689EC.1030105@corp.fast.net>
References: <3F9437F2.7030606@corp.fast.net>	<m3ad7vdzbm.fsf@lyta.haphazard.org>	<3F953760.2020704@corp.fast.net>	<m3brsaq683.fsf@lyta.haphazard.org>	<3F9670A5.3070000@corp.fast.net><20031022120650.GA5124@yahoo.com><16278.30482.68205.583253@cuddles.cambridge.redhat.com>
	<3F9689EC.1030105@corp.fast.net>
Date: Wed, 22 Oct 2003 16:08:58 +0200 (CEST)
From: "Mark Wielaard" <mark@klomp.org>
To: "Stuart Ballard" <stuart.ballard@corp.fast.net>
User-Agent: SquirrelMail/1.4.1
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal
Cc: classpath@gnu.org
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Oct 2003 14:09:39 -0000

Hi,

> To fix 3, the link must be removed entirely. If for some reason 3
> doesn't need to be fixed (eg I'm misinterpreting GNU project policy), at
> least 1 and 2 should be.

I think you are right. It is not a good idea to provide links to software
of which we cannot (currently) guarantee that it is Free Software.
Could you provide a patch (source is in CVS module classpath under
docs/www.gnu.org).

Brian, are you still in contact with the OMG people about this?
Or do you have contact information which I could use to discuss this issue
with them.

Cheers,

Mark



From MAILER-DAEMON Wed Oct 22 10:18:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACJoa-00085d-3x
	for mharc-classpath@gnu.org; Wed, 22 Oct 2003 10:18:20 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACJoY-00084m-Ci
	for classpath@gnu.org; Wed, 22 Oct 2003 10:18:18 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACJo2-0007v8-7o
	for classpath@gnu.org; Wed, 22 Oct 2003 10:18:17 -0400
Received: from [209.92.1.31] (helo=newmx1.fast.net)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ACJo1-0007v5-VH
	for classpath@gnu.org; Wed, 22 Oct 2003 10:17:46 -0400
Received: (qmail 15153 invoked from network); 22 Oct 2003 14:17:42 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx1.fast.net (qmail-ldap-1.03) with SMTP
	for <aph@redhat.com>; 22 Oct 2003 14:17:42 -0000
Message-ID: <3F969185.3030504@corp.fast.net>
Date: Wed, 22 Oct 2003 10:17:41 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.4) Gecko/20031010 Debian/1.4-6
X-Accept-Language: en
MIME-Version: 1.0
To: Andrew Haley <aph@redhat.com>
References: <200310221358.h9MDwxqi001599@cuddles.cambridge.redhat.com>
In-Reply-To: <200310221358.h9MDwxqi001599@cuddles.cambridge.redhat.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Oct 2003 14:18:19 -0000

Andrew Haley wrote:
> Where is this software?

I haven't found it yet, but see postings from Brian Jones on this list 
where he indicates it's in OMG's FTP area (which I still can't find 
linked from their site). I guess that you could argue that since the 
problematic software is almost impossible to find from the link, it 
isn't a link to non-free software, but it *claims* to be such a link, 
and it's certainly a *reference* to non-free software - after reading 
that part of Classpath's homepage, it's quite possible that someone 
would independently search for OMG's implementation of these packages 
under the impression that they were Free.

> Where is this link?

http://www.classpath.org/ - search for "OMG". Then look at the heading 
of the section, which refers to "providers for free core packages". The 
org.omg packages provided by the OMG are non-free - again, see other 
postings in this thread, Brian's in particular.

> If there is a pointer to unfree software it must, per GNU rules, be removed.

That's what I thought.

Stuart.


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




From MAILER-DAEMON Wed Oct 22 10:23:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACJtP-00027J-Ps
	for mharc-classpath@gnu.org; Wed, 22 Oct 2003 10:23:19 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACJsy-0001oW-Te
	for classpath@gnu.org; Wed, 22 Oct 2003 10:22:52 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACJsN-0001S5-0k
	for classpath@gnu.org; Wed, 22 Oct 2003 10:22:47 -0400
Received: from [209.92.1.31] (helo=newmx1.fast.net)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ACJsM-0001RD-IP
	for classpath@gnu.org; Wed, 22 Oct 2003 10:22:14 -0400
Received: (qmail 31468 invoked from network); 22 Oct 2003 14:22:13 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx1.fast.net (qmail-ldap-1.03) with SMTP
	for <mark@klomp.org>; 22 Oct 2003 14:22:13 -0000
Message-ID: <3F969294.9080409@corp.fast.net>
Date: Wed, 22 Oct 2003 10:22:12 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.4) Gecko/20031010 Debian/1.4-6
X-Accept-Language: en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <3F9437F2.7030606@corp.fast.net>	<m3ad7vdzbm.fsf@lyta.haphazard.org>	<3F953760.2020704@corp.fast.net>	<m3brsaq683.fsf@lyta.haphazard.org>	<3F9670A5.3070000@corp.fast.net><20031022120650.GA5124@yahoo.com><16278.30482.68205.583253@cuddles.cambridge.redhat.com>
	<3F9689EC.1030105@corp.fast.net>
	<35972.81.58.25.194.1066831738.squirrel@209.161.29.2>
In-Reply-To: <35972.81.58.25.194.1066831738.squirrel@209.161.29.2>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Oct 2003 14:23:18 -0000

Mark Wielaard wrote:
> I think you are right. It is not a good idea to provide links to software
> of which we cannot (currently) guarantee that it is Free Software.
> Could you provide a patch (source is in CVS module classpath under
> docs/www.gnu.org).

Sure, I'll try to do this in the next couple of days.

Incidentally, the link for the jgss package is also misleading, as the 
RFC doesn't appear to contain any implementation of the package in 
question (I scanned all the way to the end, the only source code was 
examples of usage) and even if it did, the license on the RFC is not 
free (it does not allow modification of the RFC itself, although certain 
kinds of derived works are permitted).

(Note that I'm not suggesting that that would prohibit linking to the 
RFC in general, as the RFC is not software - just that if software 
source code *were* included in the RFC, that software would not be free).

Should my patch remove that link as well?

Stuart.

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




From MAILER-DAEMON Wed Oct 22 11:00:55 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACKTk-0002sS-QP
	for mharc-classpath@gnu.org; Wed, 22 Oct 2003 11:00:52 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACKTC-0002f3-Ao
	for classpath@gnu.org; Wed, 22 Oct 2003 11:00:18 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACKSU-0001WV-CA
	for classpath@gnu.org; Wed, 22 Oct 2003 11:00:06 -0400
Received: from [209.92.1.31] (helo=newmx1.fast.net)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ACKSL-0001Py-BY
	for classpath@gnu.org; Wed, 22 Oct 2003 10:59:25 -0400
Received: (qmail 2265 invoked from network); 22 Oct 2003 14:59:24 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx1.fast.net (qmail-ldap-1.03) with SMTP
	for <ebb9@byu.net>; 22 Oct 2003 14:59:24 -0000
Message-ID: <3F969B4A.3030701@corp.fast.net>
Date: Wed, 22 Oct 2003 10:59:22 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.4) Gecko/20031010 Debian/1.4-6
X-Accept-Language: en
MIME-Version: 1.0
To: Eric Blake <ebb9@byu.net>
References: <NFBBKALFDCPFIDBNKAPCEEENDIAA.dholmes@dltech.com.au>
	<3F8E9012.9060706@byu.net>
In-Reply-To: <3F8E9012.9060706@byu.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath <classpath@gnu.org>
Subject: Re: [really patch] Re: HashMap putAll/putAllInternal bug
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Oct 2003 15:00:51 -0000

Eric Blake wrote:
> Sun seems to be blessing the use of hasNext() here, by not documenting 
> that this should optimize to calling size().

Good point.

Since this patch still hasn't been applied, this message is another 
attempt to try to figure out if there's any consensus about it.

There have been lots of suggestions as to ways I could or should improve 
my code to not rely on this behavior (and in fact I have taken this 
approach: my code now works around the problem by not calling putAll() 
but manually looping over the elements and calling put() instead), but 
I'm not sure whether there have been any objections to applying the 
patch regardless, in order to match Sun's behavior and provide 
acceptable performance when size() is slow.

I'm aware that several people are of the "I'm not too keen on it and it 
shouldn't be necessary for properly written code" point of view, but I'm 
not aware of any that go so far as "This patch should not be applied". 
If you are such a person, please speak up.

If nobody speaks up, may I suggest that the consensus is "reluctantly 
apply it" - and in that case, could someone do so?

Thanks,
Stuart.

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




From MAILER-DAEMON Wed Oct 22 11:10:27 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACKaa-0004S3-KR
	for mharc-classpath@gnu.org; Wed, 22 Oct 2003 11:07:56 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACKaL-0004P6-8H
	for classpath@gnu.org; Wed, 22 Oct 2003 11:07:41 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACKZe-0004I7-Bc
	for classpath@gnu.org; Wed, 22 Oct 2003 11:07:29 -0400
Received: from [24.25.9.100] (helo=ms-smtp-01-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACKZd-0004Hs-Tt
	for classpath@gnu.org; Wed, 22 Oct 2003 11:06:57 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	h9MF6rQT003637; Wed, 22 Oct 2003 11:06:54 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id DE22FBE641; Wed, 22 Oct 2003 10:58:51 -0400 (EDT)
Sender: cbj@haphazard.org
To: Stuart Ballard <stuart.ballard@corp.fast.net>
References: <3F9437F2.7030606@corp.fast.net>
	<m3ad7vdzbm.fsf@lyta.haphazard.org> <3F953760.2020704@corp.fast.net>
	<m3brsaq683.fsf@lyta.haphazard.org> <3F9670A5.3070000@corp.fast.net>
	<20031022120650.GA5124@yahoo.com>
	<16278.30482.68205.583253@cuddles.cambridge.redhat.com>
	<3F9689EC.1030105@corp.fast.net>
	<35972.81.58.25.194.1066831738.squirrel@209.161.29.2>
	<3F969294.9080409@corp.fast.net>
From: Brian Jones <cbj@gnu.org>
Date: 22 Oct 2003 10:58:51 -0400
In-Reply-To: <3F969294.9080409@corp.fast.net>
Message-ID: <m3ptgpuxn8.fsf@lyta.haphazard.org>
Lines: 33
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Oct 2003 15:07:46 -0000

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

> Mark Wielaard wrote:
> > I think you are right. It is not a good idea to provide links to software
> > of which we cannot (currently) guarantee that it is Free Software.
> > Could you provide a patch (source is in CVS module classpath under
> > docs/www.gnu.org).
> 
> Sure, I'll try to do this in the next couple of days.
> 
> Incidentally, the link for the jgss package is also misleading, as the
> RFC doesn't appear to contain any implementation of the package in
> question (I scanned all the way to the end, the only source code was
> examples of usage) and even if it did, the license on the RFC is not
> free (it does not allow modification of the RFC itself, although
> certain kinds of derived works are permitted).
> 
> (Note that I'm not suggesting that that would prohibit linking to the
> RFC in general, as the RFC is not software - just that if software
> source code *were* included in the RFC, that software would not be
> free).
> 
> Should my patch remove that link as well?

This sort of religious zealotry is not helpful.  People wishing to
implement free versions should know where to go for the standard, the
RFC, etc.  If it is not possible to link in this context then the FSF
web server is useless and I'll have to consider moving
http://www.classpath.org/ elsewhere.

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



From MAILER-DAEMON Wed Oct 22 11:38:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACL4R-0004aj-GT
	for mharc-classpath@gnu.org; Wed, 22 Oct 2003 11:38:47 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACL3w-0004SE-76
	for classpath@gnu.org; Wed, 22 Oct 2003 11:38:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACL3M-0004Bb-St
	for classpath@gnu.org; Wed, 22 Oct 2003 11:38:13 -0400
Received: from [209.92.1.31] (helo=newmx1.fast.net)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ACL3L-00048l-0k
	for classpath@gnu.org; Wed, 22 Oct 2003 11:37:39 -0400
Received: (qmail 9898 invoked from network); 22 Oct 2003 15:37:37 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx1.fast.net (qmail-ldap-1.03) with SMTP
	for <cbj@gnu.org>; 22 Oct 2003 15:37:37 -0000
Message-ID: <3F96A440.9040002@corp.fast.net>
Date: Wed, 22 Oct 2003 11:37:36 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.4) Gecko/20031010 Debian/1.4-6
X-Accept-Language: en
MIME-Version: 1.0
To: Brian Jones <cbj@gnu.org>
References: <3F9437F2.7030606@corp.fast.net>	<m3ad7vdzbm.fsf@lyta.haphazard.org>
	<3F953760.2020704@corp.fast.net>	<m3brsaq683.fsf@lyta.haphazard.org>
	<3F9670A5.3070000@corp.fast.net>	<20031022120650.GA5124@yahoo.com>	<16278.30482.68205.583253@cuddles.cambridge.redhat.com>	<3F9689EC.1030105@corp.fast.net>	<35972.81.58.25.194.1066831738.squirrel@209.161.29.2>	<3F969294.9080409@corp.fast.net>
	<m3ptgpuxn8.fsf@lyta.haphazard.org>
In-Reply-To: <m3ptgpuxn8.fsf@lyta.haphazard.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Oct 2003 15:38:46 -0000

Brian Jones wrote:
> This sort of religious zealotry is not helpful.  People wishing to
> implement free versions should know where to go for the standard, the
> RFC, etc.  If it is not possible to link in this context then the FSF
> web server is useless and I'll have to consider moving
> http://www.classpath.org/ elsewhere.

First off, I have nothing to do with the GNU project so these opinions 
are only my own attempt to understand the GNU project's position and 
apply common sense to the result.

Having said that, I don't think there's any objection to linking to the 
RFC per se or pointing to the OMG as the place where the standard is 
developed. The objection is to linking to either those places or any 
others and saying "you can get an implementation from here", if the 
implementation in question is not free.

The distinction is based on context - does the link seem to someone 
reading the website to be a link to get software, or a link to find out 
more about something? In the case of the OMG and jgss links on 
www.classpath.org, the links appeared to me to be clearly "get software" 
links, hence the (double) problem with the omg and jgss links: neither 
of them actually were any help in figuring out where to obtain software, 
and even if they had been, the software in question is not free.

It would be fine (if my interpretation is correct) to simply alter the 
website so that it's clear that these links go to information related to 
standardization of these packages, and not an implementation. But it 
seems to me that information about standardization of packages we 
haven't yet implemented isn't something that belongs on the Classpath 
homepage anyway, so it makes more sense to simply remove the links or 
replace them with links to implementations that really are free.

(Incidentally, my understanding is that this restriction is not limited 
to projects using the GNU webserver - it's limited to any project which 
is "part of the GNU project", which in practical terms includes at least 
any program with "GNU " at the start of its name. On the other hand, 
non-gnu projects are allowed to use the FSF webserver (see 
http://savannah.nongnu.org) and those projects ARE allowed to link to 
non-free software, although they aren't allowed to depend on it).

Stuart.

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




From MAILER-DAEMON Wed Oct 22 11:43:16 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACL8l-0005yU-U9
	for mharc-classpath@gnu.org; Wed, 22 Oct 2003 11:43:15 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACL8j-0005vt-J1
	for classpath@gnu.org; Wed, 22 Oct 2003 11:43:13 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACL8D-0005eM-RC
	for classpath@gnu.org; Wed, 22 Oct 2003 11:43:12 -0400
Received: from [210.230.164.2] (helo=mail.jsdi.or.jp)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACL3i-0004Lk-7u
	for classpath@gnu.org; Wed, 22 Oct 2003 11:38:02 -0400
Received: from dl.maczuka.gcd.org (d102.hi.jsdi.or.jp [210.230.165.102])
	by mail.jsdi.or.jp (8.11.6p2/8.11.6) with SMTP id h9MFbtp25386
	for <classpath@gnu.org>; Thu, 23 Oct 2003 00:37:56 +0900 (JST)
Received: (qmail 457 invoked by uid 0); 22 Oct 2003 15:37:54 -0000
Received: from ph.maczuka.gcd.org (HELO maczuka.gcd.org) (192.168.0.1)
	by dl.maczuka.gcd.org with SMTP; 22 Oct 2003 15:37:54 -0000
Received: (qmail 899 invoked by uid 1000); 22 Oct 2003 15:38:14 -0000
Message-ID: <20031022153814.898.qmail@maczuka.gcd.org>
From: Ito Kazumitsu <kaz@maczuka.gcd.org>
To: classpath@gnu.org
User-Agent: EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.2
	(i386-unknown-freebsd4.7) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu")
Content-Type: text/plain; charset=US-ASCII
Date: Thu, 23 Oct 2003 00:38:14 +0900
Sender: kaz@maczuka.gcd.org
Cc: kaffe@kaffe.org
Subject: Bug Report: unexpected IllegalArgumentException from
	java.text.DecimalFormat
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Oct 2003 15:43:14 -0000

The attached program gives the following result:

bash-2.05b$ java TestDecimalFormat      
0.00% java.lang.IllegalArgumentException: unexpected special character - index: 4

Which is not the case with Sun's JDK.

In the kaffe world, I applied the following patch:

--- java/text/DecimalFormat.java.orig	Thu Aug 28 00:44:12 2003
+++ java/text/DecimalFormat.java	Wed Oct 22 17:57:28 2003
@@ -205,6 +205,8 @@
 	      }
 	    else if (c != syms.getExponential()
 		     && c != syms.getPatternSeparator()
+		     && c != syms.getPercent()
+		     && c != syms.getPerMill()
 		     && patChars.indexOf(c) != -1)
 	      throw new IllegalArgumentException ("unexpected special " +
 						  "character - index: " + index);


And the program for this case follows:

import java.text.DecimalFormat;

public class TestDecimalFormat {

    public static void main(String[] args) {
        String[] formats = new String[]  {
            "0",
            "0.00",
            "#,##0",
            "#,##0.00",
            "$#,##0;($#,##0)",
            "$#,##0;($#,##0)",
            "$#,##0.00;($#,##0.00)",
            "$#,##0.00;($#,##0.00)",
            "0%",
            "0.00%",
            "0.00E00",
            "#,##0;(#,##0)",
            "#,##0;(#,##0)",
            "#,##0.00;(#,##0.00)",
            "#,##0.00;(#,##0.00)",
            "#,##0;(#,##0)",
            "$#,##0;($#,##0)",
            "#,##0.00;(#,##0.00)",
            "$#,##0.00;($#,##0.00)",
            "##0.0E0" };
        for(int i=0; i < formats.length; i++) {
            try {
                DecimalFormat d = new DecimalFormat(formats[i]);
            }
            catch (Exception e) {
                System.err.println(formats[i] + " " + e);
            }
        }
    }
}



From MAILER-DAEMON Wed Oct 22 12:43:45 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACM5B-0003hX-UD
	for mharc-classpath@gnu.org; Wed, 22 Oct 2003 12:43:37 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACM58-0003c4-Vw
	for classpath@gnu.org; Wed, 22 Oct 2003 12:43:34 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACM4U-0002lN-IV
	for classpath@gnu.org; Wed, 22 Oct 2003 12:43:25 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACM3p-0002IW-PE
	for classpath@gnu.org; Wed, 22 Oct 2003 12:42:13 -0400
Received: from fleche.redhat.com (tf0021.peakpeak.com [204.144.239.21])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id KAA08868;
	Wed, 22 Oct 2003 10:42:09 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id B7B934F8010; Wed, 22 Oct 2003 10:33:22 -0600 (MDT)
To: Ito Kazumitsu <kaz@maczuka.gcd.org>
References: <20031022153814.898.qmail@maczuka.gcd.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: OKAY!!  Turn on the sound ONLY for TRYNEL CARPETING,
	FULLY-EQUIPPED R.V.'S and FLOATATION SYSTEMS!!
Date: 22 Oct 2003 10:33:22 -0600
In-Reply-To: <20031022153814.898.qmail@maczuka.gcd.org>
Message-ID: <87smllnsfh.fsf@fleche.redhat.com>
Lines: 22
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: classpath@gnu.org, kaffe@kaffe.org
Subject: Re: Bug Report: unexpected IllegalArgumentException from
	java.text.DecimalFormat
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Oct 2003 16:43:36 -0000

>>>>> "Ito" == Ito Kazumitsu <kaz@maczuka.gcd.org> writes:

Ito> Which is not the case with Sun's JDK.
Ito> In the kaffe world, I applied the following patch:

Could you make your test case suitable for Mauve?  How about we give
you mauve write access and then you can just check it in?  And then
you can check in future tests too :-).  If this sounds good, fill out
this form and give my email address in the appropriate field:

    http://sources.redhat.com/cgi-bin/pdw/ps_form.cgi


I'm ok with the patch, though it needs a ChangeLog entry.  I've
noticed more patches coming from the kaffe world, which is really
great.  I'd like to get you (and the other kaffe developers) direct
cvs write access, so that we can lower the barriers to getting these
fixes checked in.  Assuming this is ok with Mark and everybody else,
of course.  Otherwise, send me a ChangeLog entry and I'll check this
in.

Tom



From MAILER-DAEMON Wed Oct 22 12:52:39 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACMDq-0008GI-81
	for mharc-classpath@gnu.org; Wed, 22 Oct 2003 12:52:34 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACMDc-0008FO-R5
	for classpath@gnu.org; Wed, 22 Oct 2003 12:52:20 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACMD3-0007Ig-H8
	for classpath@gnu.org; Wed, 22 Oct 2003 12:52:17 -0400
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACMCr-00074E-IF
	for classpath@gnu.org; Wed, 22 Oct 2003 12:51:33 -0400
Received: from fleche.redhat.com (tf0021.peakpeak.com [204.144.239.21])
	by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id KAA11985;
	Wed, 22 Oct 2003 10:51:28 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id 0B6E84F8010; Wed, 22 Oct 2003 10:42:41 -0600 (MDT)
To: Dalibor Topic <robilad@kaffe.org>
References: <3F9040B3.4000506@kaffe.org>
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: I HAVE to buy a new ``DODGE MISER'' and two dozen JORDACHE
	JEANS because my viewscreen is ``USER-FRIENDLY''!!
Date: 22 Oct 2003 10:42:40 -0600
In-Reply-To: <3F9040B3.4000506@kaffe.org>
Message-ID: <87oew9nrzz.fsf@fleche.redhat.com>
Lines: 40
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>, Michael Koch <konqueror@gmx.de>
Subject: Re: Implementing java.text
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Oct 2003 16:52:22 -0000

>>>>> "Dalibor" == Dalibor Topic <robilad@kaffe.org> writes:

Dalibor> It makes my back-merging work harder, as kaffe already uses the
Dalibor> patches submitted by Guilhem to the Classpath bug tracker. See
Dalibor> http://savannah.gnu.org/bugs/?group=classpath for an overview. I'd
Dalibor> like to suggest reviewing those patches, and then deciding on merging
Dalibor> them in or whether another implementation of those aspects of
Dalibor> java.text is necessary.

That sounds sensible to me.

Whenever I review patches, it really helps if they follow certain
rules.  It's easiest if each logical change is a separate patch, if
the patches are uni- or context-diff (not a problem in this case, but
sometimes people post plain diffs, which are unreadable), if there is
a ChangeLog entry.  In the best case there's also a Mauve test.  If
any of these things are missing, I tend to put off review, as it means
more work for me... (e.g., sometimes I've rewritten tests into Mauve
format.  This gets old).

(I know this is nothing you don't already know, since we've discussed
it several times on irc, so I'm writing for the non-irc-using
audience... :)

Dalibor> If there is anything I can personally do to make sure the
Dalibor> contributions from kaffe developers make their way back into
Dalibor> Classpath, I'd appreciate hearing about it.

I think the best case scenario is that the kaffe developers end up
with write access to Classpath, just like developers who work on other
VMs.

I do think that at some point we should tighten Classpath commit rules
a bit.  I'm afraid this will be an unpopular move, but it does seem
important.  For instance, we could require an approval for every patch
(but still leave committing up to the author).  Or we could require a
test case for every patch (with the ability to ask for an exception,
since sometimes this isn't possible).

Tom



From MAILER-DAEMON Wed Oct 22 15:24:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACOan-000744-Py
	for mharc-classpath@gnu.org; Wed, 22 Oct 2003 15:24:25 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACOal-000737-3z
	for classpath@gnu.org; Wed, 22 Oct 2003 15:24:23 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACOaF-0006zh-Ap
	for classpath@gnu.org; Wed, 22 Oct 2003 15:24:22 -0400
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACOaE-0006zW-Vr
	for classpath@gnu.org; Wed, 22 Oct 2003 15:23:51 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP
	id B2B316215D; Wed, 22 Oct 2003 19:23:49 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 45303-03; Wed, 22 Oct 2003 19:23:48 +0000 (GMT)
Received: from reali.dnsalias.net (adsl-212-41-91-8.solnet.ch [212.41.91.8])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 4A5B76211D; Wed, 22 Oct 2003 19:23:47 +0000 (GMT)
Received: from pcprr
	(192-168-001-003-at-home-your-network.privateiprange.solnet.ch
	[192.168.1.3]) by reali.dnsalias.net (Postfix) with SMTP
	id 4039B3F2A5; Wed, 22 Oct 2003 21:14:46 +0200 (CEST)
Message-ID: <00d401c398d2$20718310$0301a8c0@pcprr>
From: "Patrik Reali" <reali@acm.org>
To: "Chris Gray" <chris@kiffer.eunet.be>,
	"Joseph Wenninger" <jowenn@kde.org>, <classpath@gnu.org>
References: <1066160036.3044.25.camel@localhost><001501c39745$41ce1bb0$0301a8c0@pcprr>
	<200310210819.h9L8JHS08672@oola.is.kpn.be>
Date: Wed, 22 Oct 2003 21:24:34 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Virus-Scanned: by SolNet
Cc: 
Subject: Re: classpath initialization
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Oct 2003 19:24:24 -0000

In Jaos, the ClassLoader is loaded but not really used (I'm still stuck with
classpath 0.5) because I have my own native implementation which overrides
the calls to Java's classloader in Class.fromName(). I'm currently upgrading
my implementation to work with 0.6 by moving all the native stuff into the
VM classes, but haven't got that far yet (it's a lot of work!)

-Patrik


> For comparison, Wonka's explicit class initialisation looks something like
> this:
>   **  1) load class java/lang/Object.
>   **  2) load java/lang/Cloneable, java/lang/Serializable,
> java/lang/Throwable.
>   **  3) create clazz_Array. clazz_Array acts like clazzObject but has
>   **     a modified method table and a modified interfaces table.
>   **     It overrides the clone method of java/lang/Object and adds two
>   **     new interfaces: Cloneable and Serializable.
>   **     (We need to do this before any subclasses of Throwable are
loaded,
>   **     in order to ensure that they are marked CLAZZ_IS_THROWABLE).
>   **  4) load java/lang/Class, java/lang/ClassLoader, java/lang/Thread,
>   **     java/lang/ThreadGroup, and java/lang/ref/Reference.
>   **  5) load all the classes mentioned in core-classes.in.
>   **  6) For each primitive class xxx, create:
>   **       -An instance Class_xxx of class java/lang/Class, linked to
>   **        a w_Clazz structure (clazz_xxx).
>   **        The name associated with the Class instance is "xxx.class".
>   **       -Entries in the array atype2clazz[], which is indexed by P_xxx.
>
> Step 5) is needed because we need to create explicit relationships between
C
> and Java constructs for quite a large number of classes, which Patrik
doesn't
> need to do because he's using Oberon. I guess that's also why he doesn't
need
> to explicitly load ClassLoader; we need to do that because of all the
> behind-the-scenes stuff needed to implement class loading according to the
> JVM spec.




From MAILER-DAEMON Wed Oct 22 22:00:05 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACUlb-0004Xy-A1
	for mharc-classpath@gnu.org; Wed, 22 Oct 2003 21:59:59 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACUlY-0004XB-1A
	for classpath@gnu.org; Wed, 22 Oct 2003 21:59:56 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACUl1-0004QD-PC
	for classpath@gnu.org; Wed, 22 Oct 2003 21:59:55 -0400
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.24)
	id 1ACUkr-0004Np-Rn; Wed, 22 Oct 2003 21:59:14 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.10/8.12.10) with ESMTP id h9N1we8q001730;
	Thu, 23 Oct 2003 11:58:40 +1000 (EST)
Message-Id: <200310230158.h9N1we8q001730@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: Stuart Ballard <stuart.ballard@corp.fast.net>
In-Reply-To: Message from Stuart Ballard <stuart.ballard@corp.fast.net> 
	of "Wed, 22 Oct 2003 11:37:36 -0400." <3F96A440.9040002@corp.fast.net> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 23 Oct 2003 11:59:02 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.38
Cc: Brian Jones <cbj@gnu.org>, crawley@piglet.dstc.edu.au,
	Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: Classpath and org.omg.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 01:59:56 -0000


Folks,

If >>all<< we have to do to keep GNU / FSF happy for now is to remove
the link to the OMG from the website, lets just do it.  I hardly think
this is a major issue.

In the long term though, there is a bigger problem looming.  At some
point, Classpath needs to support the org.omg.* classes.  Without them,
you cannot run CORBA ORBs and CORBA-based applications over Classpath.  
This includes free Java ORBs and free J2EE platforms.

Before proceeding, we need some background on the OMG and their way of
thinking.  [My employer (DSTC) is a current member of the OMG.  In the
past, I've done a lot of work for DSTC on OMG standard submissions and
revisions.  (MOF & XMI if anyone is interested.)  As a consequence, I've
learned a fair bit about the processes and politics of the OMG.  I've
also done a lot of CORBA-based product development in Java.]

The critical org.omg.* classes are the Java interfaces for the OMG's
CORBA-to-Java and Java-to-CORBA mappings. These interfaces are an
integral part of the respective standards. They NOT implementations of
the standard.  There are other org.omg.* classes as well, but they are
not published by the OMG.  Instead, the OMG publishes the IDL from which
they can be generated using an IDL->Java compiler.

The reason the critical Java interfaces are part of the standard mappings
is to enable binary compatibility between different CORBA for Java
platforms.  This allows someone to write CORBA based applications for
one Java ORB platform and have them run on other platforms without
recompilation.  To achieve this aim, it is necessary for the interfaces
be the same on all ORB platforms.

The main reason for the OMG's copyright notice forbidding changes is to
prevent ORB vendors from slipping in extensions and the like that would
destroy cross-vendor binary compatibility.  This kind of thing has
happened in the past, and it causes major problems for people who write
multi-platform software.  (Like when the 'org.omg.*' interfaces in a Sun
JDK didn't comply with the OMG standard, and the "Visibroker for Java"
ORB had its own clean copy of the 'org.omg.*' classes that you had to
put on the bootclasspath ...)

IMO, it is a GOOD THING that the OMG defends the integrity of these
interfaces as best they can.  It so happens that they have decided that
a restrictive copyright notice is their most effective tool for doing 
this.  They are probably right.  [You may disagree, but then you need
to understand the nature of the organisation and its relationship with
the ORB vendors.]

While OMG staffers are generally supportive of Open Source (AFAIK), they
are >>not<< going to be persuaded to do things that openly undermine the
integrity of the CORBA standards.  It would be against the interest of
the OMG's 700+ member organisations, and the OMG Board would stomp on
them with big boots.

So where does this leave the Classpath project in the long term?

*  In the long run, we cannot leave out the org.omg.* interfaces.  
   They are an important part of the J2SE & J2EE platform APIs.

*  We should not try provide a clean-room version of the OMG's org.omg.*
   interfaces.  AFAIK, there is insufficient public information (apart 
   from the OMG's copyrighted interfaces) to allow this.   Besides
   we'd risk being incompatible with other Java implementations 
   and/or Java ORBs and Java/CORBA applications.  In other words we'd be 
   potentially subverting the CORBA standard.  This would be a BAD THING.

*  We could try to persuade the FSF to allow a specific exception for
   non-FREE code provided by standards organisations like the OMG.  I 
   cannot see that FSF intends to undermine open standards by removing
   their ability to protect integrity via copyrights.

   If this and other possible alternatives fail, we may eventually need 
   to take steps to disassociate Classpath from GNU.  That would be a 
   shame.  

-- Steve




From MAILER-DAEMON Thu Oct 23 06:08:17 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACcO5-0002lD-RP
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 06:08:13 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACcNm-00028g-9s
	for classpath@gnu.org; Thu, 23 Oct 2003 06:07:54 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACcMM-0000X5-DR
	for classpath@gnu.org; Thu, 23 Oct 2003 06:06:58 -0400
Received: from [210.86.15.245] (helo=web5-rme.xtra.co.nz)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACcMI-0000S0-Vf
	for classpath@gnu.org; Thu, 23 Oct 2003 06:06:23 -0400
Received: from mta3-rme.xtra.co.nz ([210.86.15.141]) by web5-rme.xtra.co.nz
	with ESMTP
	id <20031023100619.UGWP9500.web5-rme.xtra.co.nz@mta3-rme.xtra.co.nz>;
	Thu, 23 Oct 2003 23:06:19 +1300
Received: from [192.168.1.202] ([210.86.61.75]) by mta3-rme.xtra.co.nz
	with ESMTP
	id <20031023100619.YOLI4025.mta3-rme.xtra.co.nz@[192.168.1.202]>;
	Thu, 23 Oct 2003 23:06:19 +1300
In-Reply-To: <3F969185.3030504@corp.fast.net>
References: <200310221358.h9MDwxqi001599@cuddles.cambridge.redhat.com>
	<3F969185.3030504@corp.fast.net>
Mime-Version: 1.0 (Apple Message framework v606)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <8C168151-0540-11D8-891D-003065F97F7C@mckinlay.net.nz>
Content-Transfer-Encoding: 7bit
From: Bryce McKinlay <bryce@mckinlay.net.nz>
Date: Thu, 23 Oct 2003 23:06:19 +1300
To: Stuart Ballard <stuart.ballard@corp.fast.net>
X-Mailer: Apple Mail (2.606)
Cc: classpath@gnu.org
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 10:08:12 -0000

On Oct 23, 2003, at 3:17 AM, Stuart Ballard wrote:

> Andrew Haley wrote:
>> Where is this software?
>
> I haven't found it yet, but see postings from Brian Jones on this list 
> where he indicates it's in OMG's FTP area (which I still can't find 
> linked from their site). I guess that you could argue that since the 
> problematic software is almost impossible to find from the link, it 
> isn't a link to non-free software, but it *claims* to be such a link, 
> and it's certainly a *reference* to non-free software - after reading 
> that part of Classpath's homepage, it's quite possible that someone 
> would independently search for OMG's implementation of these packages 
> under the impression that they were Free.

As far as I know, the OMG doesn't make any software - just 
specifications. The public classes in org.omg are automatically 
generated from CORBA interface definition language (IDL) files by an 
IDL-to-Java compiler which is specific to each ORB implementation 
(although I think the actual IDL-to-java mapping is standardized these 
days, such that code compiled for one ORB will work on another, there 
would still be differences in the glue code generated for various 
ORBs). So, all there is to download on the omg site is likely 1) 
specification documents, and 2) the IDL files. The interfaces don't 
become software until you implement them - ie write an ORB 
implementation.

IMO the link is not to non-free software: there is no software, so 
there is no problem.

If you're trying to say we shouldn't link to or implement a non-free 
spec, well, Java is a non free spec in that sense isn't it?

Regards

Bryce.




From MAILER-DAEMON Thu Oct 23 07:24:08 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACdZX-0006iW-Iw
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 07:24:07 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACdZT-0006gb-4O
	for classpath@gnu.org; Thu, 23 Oct 2003 07:24:03 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACdYp-0006VS-6V
	for classpath@gnu.org; Thu, 23 Oct 2003 07:23:54 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACdYo-0006Uw-6Y
	for classpath@gnu.org; Thu, 23 Oct 2003 07:23:22 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1ACdYY-0006oP-00
	for <classpath@gnu.org>; Thu, 23 Oct 2003 13:23:06 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 1ACNeP-0000C9-00
	for <classpath@gnu.org>; Wed, 22 Oct 2003 20:24:05 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1066847045.715.47.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Wed, 22 Oct 2003 20:24:05 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Subject: Helping with the webpages/documentation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 11:24:05 -0000

Hi,

Since people care about what we publish at our project website I thought
it was a good idea to forward the following information (attached) on
how the documentation and webpages are build to the list. I send this to
Patrik already, who wanted to help spicing up the pages a bit, and who
now seems to actually enjoy WML, so please coordinate.

On suggesting/linking to non-free software (since the topic came up).
We want GNU Classpath (and everything found through the gnu.org website)
to enable people to be free from any control on how they can use or
create java-like systems. We really want it to be so perfect that people
can be sure that if they follow advice/links on gnu.org to certain
software packages they will get free software, which they can use,
study, modify and distribute however they want. That is a high standard,
but our users will appreciate it when they know they can depend on that.

On the specific case of the org.omg and jgss. I think Stuart is right
that it is better to not point people to these implementations as long
as we cannot guarantee that we are suggesting something which is free.
But please lets at the same time try to find solutions for our users. It
would be great if someone could take a quick look at JacORB to see if
that is something we can suggest to people looking for free software.
And references to standards that can help with implementing replacements
(such as RFCs) should of course go into the Hacking Guide.

The above is not meant as unhelpful religious zealotry, disalowing
choice or declaring things illegal. It is meant as a practical guideline
to make sure that we empower our users which come to gnu.org for
information on Free Software. There are enough other resourcesoin
non-free proprietary things, which I think everybody can already readily
find. No need for us to do that. But if people really think it is that
impractical then having a www.classpath.org which is not directly
affiliated with www.gnu.org might actually be a good idea. It would make
it much more clear what kind of things people can expect to find on the
"official" http://www.gnu.org/software/classpath/ page and what other
kind resources are available. But I hope it will not be necessary.

Cheers,

Mark

P.S. I am a little internet-challenged at the moment, so I might not get
back online till Monday.

---

[Documentation and webpages]

If you want to work on helping updating/maintaining the webpages
(http://www.gnu.org/software/classpath/) then you start by looking at
the doc/www.gnu.org/ directory in the main classpath cvs module. The
first thing todo would probably be to update the README file in there to
make it a bit more friendly for other people to contribute. For example
adding some of the rest of this email after you verified I don't talk
nonsense would be nice :).

Currently the Makefile uses two tools for generating the webpages:
- WML: http://thewml.org/
  Debian package (wml)
- texi2html: http://texi2html.cvshome.org/
  Debian package (texi2html)

The manuals should be written in texinfo whenever possible since that
gives us the most flexibility to generate different formats and it is
the GNU standard for creating documentation so it fits in the best with
the rest of the system (http://www.gnu.org/software/texinfo/ has lots of
documentation and guidelines for GNU manuals).

WML is just a nice thing to quickly create smaller webpages, and I would
recommend its use unless someone comes up with a really better way to
easily create those pages.

When you have these tools installed then just typing make in
doc/www.gnu.org/ should do all the magic needed to convert the texinfo
manuals (doc/hacking.texinfo and doc/vmintegration.texinfo) and the wml
pages into html.

Transfering the generated pages to the actual www.gnu.org machine is
done by copying the generated files to the GNU Classpath webpage
repository (see https://savannah.gnu.org/cvs/?group=classpath).
All other support files that must be present on the webserver can also
be found in that CVS module.
There is a convenience make target 'publish' that helps with that.

Guidelines for www.gnu.org(/software) content can be found at:
http://www.gnu.org/server/standards/README.software.html
http://www.gnu.org/server/standards/README.editors.html
http://www.gnu.org/server/fsf-html-style-sheet.html

Some hints and tips (symbolic links and generating timestamps) can be
learned from: http://www.gnu.org/server/standards/README.html

There is also a mechanism to generate the api documentation using gjdoc
(only available from cp-tools in CVS I believe) when configuring with
--enable-gjdoc. This will then generate HTML files in doc/api/html.
There is currently no simple way to upload these to www.gnu.org though.
And generating the correct copyright/license statement for them is not a
completely solved problem, although it shouldn't be that hard.




From MAILER-DAEMON Thu Oct 23 07:32:18 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACdhR-0002H0-6x
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 07:32:17 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACdhG-00028n-Fg
	for classpath@gnu.org; Thu, 23 Oct 2003 07:32:06 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACdge-0001m3-0M
	for classpath@gnu.org; Thu, 23 Oct 2003 07:31:59 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACdgO-0001jy-4L
	for classpath@gnu.org; Thu, 23 Oct 2003 07:31:12 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1ACdg8-0006oi-00
	for <classpath@gnu.org>; Thu, 23 Oct 2003 13:30:56 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 1ACdgM-0000FM-00
	for <classpath@gnu.org>; Thu, 23 Oct 2003 13:31:10 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1066847045.715.47.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Thu, 23 Oct 2003 13:31:09 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Subject: Helping with the webpages/documentation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 11:32:10 -0000

Hi,

Since people care about what we publish at our project website I thought
it was a good idea to forward the following information (attached) on
how the documentation and webpages are build to the list. I send this to
Patrik already, who wanted to help spicing up the pages a bit, and who
now seems to actually enjoy WML, so please coordinate.

On suggesting/linking to non-free software (since the topic came up).
We want GNU Classpath (and everything found through the gnu.org website)
to enable people to be free from any control on how they can use or
create java-like systems. We really want it to be so perfect that people
can be sure that if they follow advice/links on gnu.org to certain
software packages they will get free software, which they can use,
study, modify and distribute however they want. That is a high standard,
but our users will appreciate it when they know they can depend on that.

On the specific case of the org.omg and jgss. I think Stuart is right
that it is better to not point people to these implementations as long
as we cannot guarantee that we are suggesting something which is free.
But please lets at the same time try to find solutions for our users. It
would be great if someone could take a quick look at JacORB to see if
that is something we can suggest to people looking for free software.
And references to standards that can help with implementing replacements
(such as RFCs) should of course go into the Hacking Guide.

The above is not meant as unhelpful religious zealotry, disalowing
choice or declaring things illegal. It is meant as a practical guideline
to make sure that we empower our users which come to gnu.org for
information on Free Software. There are enough other resourcesoin
non-free proprietary things, which I think everybody can already readily
find. No need for us to do that. But if people really think it is that
impractical then having a www.classpath.org which is not directly
affiliated with www.gnu.org might actually be a good idea. It would make
it much more clear what kind of things people can expect to find on the
"official" http://www.gnu.org/software/classpath/ page and what other
kind resources are available. But I hope it will not be necessary.

Cheers,

Mark

P.S. I am a little internet-challenged at the moment, so I might not get
back online till Monday.

---

[Documentation and webpages]

If you want to work on helping updating/maintaining the webpages
(http://www.gnu.org/software/classpath/) then you start by looking at
the doc/www.gnu.org/ directory in the main classpath cvs module. The
first thing todo would probably be to update the README file in there to
make it a bit more friendly for other people to contribute. For example
adding some of the rest of this email after you verified I don't talk
nonsense would be nice :).

Currently the Makefile uses two tools for generating the webpages:
- WML: http://thewml.org/
  Debian package (wml)
- texi2html: http://texi2html.cvshome.org/
  Debian package (texi2html)

The manuals should be written in texinfo whenever possible since that
gives us the most flexibility to generate different formats and it is
the GNU standard for creating documentation so it fits in the best with
the rest of the system (http://www.gnu.org/software/texinfo/ has lots of
documentation and guidelines for GNU manuals).

WML is just a nice thing to quickly create smaller webpages, and I would
recommend its use unless someone comes up with a really better way to
easily create those pages.

When you have these tools installed then just typing make in
doc/www.gnu.org/ should do all the magic needed to convert the texinfo
manuals (doc/hacking.texinfo and doc/vmintegration.texinfo) and the wml
pages into html.

Transfering the generated pages to the actual www.gnu.org machine is
done by copying the generated files to the GNU Classpath webpage
repository (see https://savannah.gnu.org/cvs/?group=classpath).
All other support files that must be present on the webserver can also
be found in that CVS module.
There is a convenience make target 'publish' that helps with that.

Guidelines for www.gnu.org(/software) content can be found at:
http://www.gnu.org/server/standards/README.software.html
http://www.gnu.org/server/standards/README.editors.html
http://www.gnu.org/server/fsf-html-style-sheet.html

Some hints and tips (symbolic links and generating timestamps) can be
learned from: http://www.gnu.org/server/standards/README.html

There is also a mechanism to generate the api documentation using gjdoc
(only available from cp-tools in CVS I believe) when configuring with
--enable-gjdoc. This will then generate HTML files in doc/api/html.
There is currently no simple way to upload these to www.gnu.org though.
And generating the correct copyright/license statement for them is not a
completely solved problem, although it shouldn't be that hard.




From MAILER-DAEMON Thu Oct 23 07:33:12 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACdiG-0002nZ-MG
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 07:33:08 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACdho-0002VW-Fu
	for classpath@gnu.org; Thu, 23 Oct 2003 07:32:40 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACdhG-00029D-UC
	for classpath@gnu.org; Thu, 23 Oct 2003 07:32:38 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACdgQ-0001k0-G7
	for classpath@gnu.org; Thu, 23 Oct 2003 07:31:14 -0400
Received: from slauerhoff.wildebeest.org
	([192.168.1.27] helo=localhost ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1ACdgA-0006on-00
	for <classpath@gnu.org>; Thu, 23 Oct 2003 13:30:58 +0200
Received: from mark by localhost with local (Exim 3.36 #1 (Debian))
	id 1ACdgP-0000FZ-00
	for <classpath@gnu.org>; Thu, 23 Oct 2003 13:31:13 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1066908669.736.10.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Thu, 23 Oct 2003 13:31:13 +0200
Sender: Mark Wielaard <mark@slauerhoff>
Subject: Helping with the webpages/documentation
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 11:33:07 -0000

Hi,

[I tried to send this yesterday, but apparently it didn't arrive on the
list. If it did arrive and you now get a duplicate my apologies. The
original version explained that I had some internet connectivity
problems. I am happy that those are solved now. New info, not in the
original message is in brackets.]

Since people care about what we publish at our project website I thought
it was a good idea to forward the following information (attached) on
how the documentation and webpages are build to the list. I send this to
Patrik already, who wanted to help spicing up the pages a bit, and who
now seems to actually enjoy WML, so please coordinate with him.

On suggesting/linking to non-free software (since the topic came up).
We want GNU Classpath (and everything found through the gnu.org website)
to enable people to be free from any control on how they can use or
create java-like systems. We really want it to be so perfect that people
can be sure that if they follow advice/links on gnu.org to certain
software packages they will get free software, which they can use,
study, modify and distribute however they want. That is a high standard,
but our users will appreciate it when they know they can depend on that.

On the specific case of org.omg and jgss. I think Stuart is right
that it is better to not point people to these implementations as long
as we cannot guarantee that we are suggesting something which is free.
But please lets at the same time try to find solutions for our users. It
would be great if someone could take a quick look at JacORB to see if
that is something we can suggest to people looking for free software.
And references to standards that can help with implementing replacements
(such as RFCs) should of course go into the Hacking Guide.

[Thanks to Stephen Crawley for the the rundown of how OMG works and what
their priorities are. Clearly their priorities are not our priorities,
but I hope we can work something out so that we can provide a free
software implementation of the Corba standard. If Brian can help me with
his contacts at OMG, I am happy to help negotiate something.]

The above is not meant as unhelpful religious zealotry, disalowing
choice or declaring things illegal. It is meant as a practical guideline
to make sure that we empower our users which come to gnu.org for
information on Free Software. There are enough other resourcesoin
non-free proprietary things, which I think everybody can already readily
find. No need for us to do that. But if people really think it is that
impractical then having a www.classpath.org which is not directly
affiliated with www.gnu.org might actually be a good idea. It would make
it much more clear what kind of things people can expect to find on the
"official" http://www.gnu.org/software/classpath/ page and what other
kind resources are available. But I hope it will not be necessary.

[Now, with all that said, please take a look at how the documentation
and webpages are actually build. Instructions attached at the end.]

Cheers,

Mark

---

[Documentation and webpages]

If you want to work on helping updating/maintaining the webpages
(http://www.gnu.org/software/classpath/) then you start by looking at
the doc/www.gnu.org/ directory in the main classpath cvs module. The
first thing todo would probably be to update the README file in there to
make it a bit more friendly for other people to contribute. For example
adding some of the rest of this email after you verified I don't talk
nonsense would be nice :).

Currently the Makefile uses two tools for generating the webpages:
- WML: http://thewml.org/
  Debian package (wml)
- texi2html: http://texi2html.cvshome.org/
  Debian package (texi2html)

The manuals should be written in texinfo whenever possible since that
gives us the most flexibility to generate different formats and it is
the GNU standard for creating documentation so it fits in the best with
the rest of the system (http://www.gnu.org/software/texinfo/ has lots of
documentation and guidelines for GNU manuals).

WML is just a nice thing to quickly create smaller webpages, and I would
recommend its use unless someone comes up with a really better way to
easily create those pages.

When you have these tools installed then just typing make in
doc/www.gnu.org/ should do all the magic needed to convert the texinfo
manuals (doc/hacking.texinfo and doc/vmintegration.texinfo) and the wml
pages into html.

Transfering the generated pages to the actual www.gnu.org machine is
done by copying the generated files to the GNU Classpath webpage
repository (see https://savannah.gnu.org/cvs/?group=classpath).
All other support files that must be present on the webserver can also
be found in that CVS module.
There is a convenience make target 'publish' that helps with that.

Guidelines for www.gnu.org(/software) content can be found at:
http://www.gnu.org/server/standards/README.software.html
http://www.gnu.org/server/standards/README.editors.html
http://www.gnu.org/server/fsf-html-style-sheet.html

Some hints and tips (symbolic links and generating timestamps) can be
learned from: http://www.gnu.org/server/standards/README.html

There is also a mechanism to generate the api documentation using gjdoc
(only available from cp-tools in CVS I believe) when configuring with
--enable-gjdoc. This will then generate HTML files in doc/api/html.
There is currently no simple way to upload these to www.gnu.org though.
And generating the correct copyright/license statement for them is not a
completely solved problem, although it shouldn't be that hard.




From MAILER-DAEMON Thu Oct 23 08:11:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACeFp-0006eO-3p
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 08:07:49 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACeFa-0006TF-0u
	for classpath@gnu.org; Thu, 23 Oct 2003 08:07:34 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACeE5-000572-D5
	for classpath@gnu.org; Thu, 23 Oct 2003 08:06:32 -0400
Received: from [24.25.9.100] (helo=ms-smtp-01-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACeBq-000471-GP
	for classpath@gnu.org; Thu, 23 Oct 2003 08:03:42 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	h9NC3cQT010901; Thu, 23 Oct 2003 08:03:39 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 2C3B6BE641; Thu, 23 Oct 2003 07:55:24 -0400 (EDT)
Sender: cbj@haphazard.org
To: Stuart Ballard <stuart.ballard@corp.fast.net>
References: <3F9437F2.7030606@corp.fast.net>
	<m3ad7vdzbm.fsf@lyta.haphazard.org> <3F953760.2020704@corp.fast.net>
	<m3brsaq683.fsf@lyta.haphazard.org> <3F9670A5.3070000@corp.fast.net>
	<20031022120650.GA5124@yahoo.com>
	<16278.30482.68205.583253@cuddles.cambridge.redhat.com>
	<3F9689EC.1030105@corp.fast.net>
	<35972.81.58.25.194.1066831738.squirrel@209.161.29.2>
	<3F969294.9080409@corp.fast.net>
From: Brian Jones <cbj@gnu.org>
Date: 23 Oct 2003 07:55:23 -0400
In-Reply-To: <3F969294.9080409@corp.fast.net>
Message-ID: <m3ad7s1844.fsf@lyta.haphazard.org>
Lines: 19
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 12:07:47 -0000

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

> Incidentally, the link for the jgss package is also misleading, as the
> RFC doesn't appear to contain any implementation of the package in
> question (I scanned all the way to the end, the only source code was
> examples of usage) and even if it did, the license on the RFC is not
> free (it does not allow modification of the RFC itself, although
> certain kinds of derived works are permitted).

Both of the links are apparently misleading.  Each points to standards
group or specification.  The RFC contains better javadoc than we'll
ever have concerning each interface, class, and method since you
indicate that text is non-free.  Chapter 6 should allow someone to
pretty easily create the 3 interfaces and 5 classes, some of which are
abstract.

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



From MAILER-DAEMON Thu Oct 23 08:19:22 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACeQo-00041Y-Qt
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 08:19:10 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACeQa-0003a7-Tf
	for classpath@gnu.org; Thu, 23 Oct 2003 08:18:56 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACePg-0002DP-Ah
	for classpath@gnu.org; Thu, 23 Oct 2003 08:18:31 -0400
Received: from [24.25.9.100] (helo=ms-smtp-01-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACePd-00021a-AY
	for classpath@gnu.org; Thu, 23 Oct 2003 08:17:57 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	h9NCHoQT022202; Thu, 23 Oct 2003 08:17:51 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id C8663BE641; Thu, 23 Oct 2003 08:09:35 -0400 (EDT)
Sender: cbj@haphazard.org
To: Bryce McKinlay <bryce@mckinlay.net.nz>
References: <200310221358.h9MDwxqi001599@cuddles.cambridge.redhat.com>
	<3F969185.3030504@corp.fast.net>
	<8C168151-0540-11D8-891D-003065F97F7C@mckinlay.net.nz>
From: Brian Jones <cbj@gnu.org>
Date: 23 Oct 2003 08:09:35 -0400
In-Reply-To: <8C168151-0540-11D8-891D-003065F97F7C@mckinlay.net.nz>
Message-ID: <m3ekx4nojk.fsf@lyta.haphazard.org>
Lines: 12
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: classpath@gnu.org
Subject: Re: org.omg link on Classpath homepage
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 12:19:09 -0000

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

> As far as I know, the OMG doesn't make any software - just
> specifications. 

Since I'm allowed, the javartf Source.zip is now online at
http://www.haphazard.org/~cbj/classpath/javartf/Source.zip.  Even so,
the license makes it impractical for the project.

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



From MAILER-DAEMON Thu Oct 23 09:36:07 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACfdH-0007Zb-1N
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 09:36:07 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACfdC-0007Xm-ST
	for classpath@gnu.org; Thu, 23 Oct 2003 09:36:02 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACfcf-0007Oe-JW
	for classpath@gnu.org; Thu, 23 Oct 2003 09:36:00 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACfcc-0007NZ-FP
	for classpath@gnu.org; Thu, 23 Oct 2003 09:35:26 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1ACfc5-00077B-00; Thu, 23 Oct 2003 15:34:53 +0200
From: Mark Wielaard <mark@klomp.org>
To: tromey@redhat.com
In-Reply-To: <87smllnsfh.fsf@fleche.redhat.com>
References: <20031022153814.898.qmail@maczuka.gcd.org>
	<87smllnsfh.fsf@fleche.redhat.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-3jq7ufsLnmp70KrCMGzr"
Message-Id: <1066916108.1244.48.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Thu, 23 Oct 2003 15:35:08 +0200
Cc: classpath@gnu.org, kaffe@kaffe.org
Subject: Re: Bug Report: unexpected IllegalArgumentException from
	java.text.DecimalFormat
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 13:36:05 -0000


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

Hi,

On Wed, 2003-10-22 at 18:33, Tom Tromey wrote:
> I'd like to get you (and the other kaffe developers) direct
> cvs write access, so that we can lower the barriers to getting these
> fixes checked in.  Assuming this is ok with Mark and everybody else,
> of course.  Otherwise, send me a ChangeLog entry and I'll check this
> in.

Just for the record. I would be OK with this and Ito has filed paperwork
with the FSF so there should be no holdup on any of his patches anymore.

As always I am asking people that want to contribute to GNU Classpath to
carefully read the following so we all agree on how these things are
handled: http://www.gnu.org/software/classpath/docs/hacking.html#SEC2

I apologize for the sometimes much to large delay between Kaffe hackers
submitting bug reports (with patches!) and importing them into
Classpath. My only defense is that the Kaffe Hackers are incredibly fast
in adopting GNU Classpath as their library and found so many little and
big issues already (yeah! kaffe regression testsuite) it is almost
embarrassing.

Cheers,

Mark

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

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

iD8DBQA/l9kMxVhZCJWr9QwRAh+kAJsGBsysYbTv2b55m/ABiO7kH+6sFACfQ7yj
KWpYdq7j7U5ocuINPNJIRck=
=huo6
-----END PGP SIGNATURE-----

--=-3jq7ufsLnmp70KrCMGzr--




From MAILER-DAEMON Thu Oct 23 13:54:01 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACjeq-00007z-P7
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 13:54:00 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACjej-00006h-Q8
	for classpath@gnu.org; Thu, 23 Oct 2003 13:53:53 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACjeD-0008Hk-Ls
	for classpath@gnu.org; Thu, 23 Oct 2003 13:53:52 -0400
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACjdR-0007tm-Kt
	for classpath@gnu.org; Thu, 23 Oct 2003 13:52:33 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 1ACjdP-0001lu-00
	for <classpath@gnu.org>; Thu, 23 Oct 2003 19:52:31 +0200
Received: from mpiat2304.ag2.mpi-sb.mpg.de
	([139.19.20.93] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1ACjdN-0001lk-00
	for <classpath@gnu.org>; Thu, 23 Oct 2003 19:52:29 +0200
Message-ID: <3F98155C.7070400@kaffe.org>
Date: Thu, 23 Oct 2003 19:52:28 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Subject: CVS configure.in is broken
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 17:53:58 -0000

Hi all,

apparently the configure.in in CVs is broken. I tried the
aclocal; autoheader; automake; autoconf
routine as recommended in the HACKING document, but it doesn't work: 
aclocal complains about

aclocal: configure.in: 134: macro `AM_PATH_GTK_2_0' not found in library
aclocal: configure.in: 137: macro `AM_PATH_GLIB_2_0' not found in library
aclocal: configure.in: 140: macro `AM_PATH_LIBART' not found in library

and it's all down from there ;)

I'm using autconf 2.57 and automake 1.7.6.

cheers,
dalibor topic




From MAILER-DAEMON Thu Oct 23 14:15:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACjzS-0008SV-PD
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 14:15:18 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACjzO-0008PO-EO
	for classpath@gnu.org; Thu, 23 Oct 2003 14:15:14 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACjyp-0007nd-OU
	for classpath@gnu.org; Thu, 23 Oct 2003 14:15:10 -0400
Received: from [216.234.116.146] (helo=ops2.one-point.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACjyp-0007lF-81
	for classpath@gnu.org; Thu, 23 Oct 2003 14:14:39 -0400
Received: from localhost (jsturm@localhost)
	by ops2.one-point.com (8.11.6/8.11.6) with ESMTP id h9NIEOr10273;
	Thu, 23 Oct 2003 14:14:24 -0400
Date: Thu, 23 Oct 2003 14:14:24 -0400 (EDT)
From: Jeff Sturm <jsturm@one-point.com>
To: Dalibor Topic <robilad@kaffe.org>
In-Reply-To: <3F98155C.7070400@kaffe.org>
Message-ID: <Pine.LNX.4.44.0310231413090.10144-100000@ops2.one-point.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: CVS configure.in is broken
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 18:15:16 -0000

On Thu, 23 Oct 2003, Dalibor Topic wrote:
> aclocal: configure.in: 134: macro `AM_PATH_GTK_2_0' not found in library
> aclocal: configure.in: 137: macro `AM_PATH_GLIB_2_0' not found in library
> aclocal: configure.in: 140: macro `AM_PATH_LIBART' not found in library

These are normally provided by the build host I think.

Does Classpath not have generated files checked in?  That definitely makes
things easier wrt auto* requirements.

Jeff




From MAILER-DAEMON Thu Oct 23 14:26:59 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACkAl-0003Oe-Gy
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 14:26:59 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACkAj-0003OP-Fl
	for classpath@gnu.org; Thu, 23 Oct 2003 14:26:57 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACkAD-0003KI-Gb
	for classpath@gnu.org; Thu, 23 Oct 2003 14:26:56 -0400
Received: from [209.92.1.32] (helo=newmx2.fast.net)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ACkAD-0003Jw-7E
	for classpath@gnu.org; Thu, 23 Oct 2003 14:26:25 -0400
Received: (qmail 25397 invoked from network); 23 Oct 2003 18:26:24 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx2.fast.net (qmail-ldap-1.03) with SMTP
	for <crawley@dstc.edu.au>; 23 Oct 2003 18:26:24 -0000
Message-ID: <3F981D4E.8030505@corp.fast.net>
Date: Thu, 23 Oct 2003 14:26:22 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.4) Gecko/20031010 Debian/1.4-6
X-Accept-Language: en
MIME-Version: 1.0
To: Stephen Crawley <crawley@dstc.edu.au>
References: <200310230158.h9N1we8q001730@piglet.dstc.edu.au>
In-Reply-To: <200310230158.h9N1we8q001730@piglet.dstc.edu.au>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Brian Jones <cbj@gnu.org>, crawley@piglet.dstc.edu.au,
	Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: Re: Classpath and org.omg.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 18:26:58 -0000

Stephen Crawley wrote:
> IMO, it is a GOOD THING that the OMG defends the integrity of these
> interfaces as best they can.  It so happens that they have decided that
> a restrictive copyright notice is their most effective tool for doing 
> this.  They are probably right.  [You may disagree, but then you need
> to understand the nature of the organisation and its relationship with
> the ORB vendors.]

> While OMG staffers are generally supportive of Open Source (AFAIK), they
> are >>not<< going to be persuaded to do things that openly undermine the
> integrity of the CORBA standards.  It would be against the interest of
> the OMG's 700+ member organisations, and the OMG Board would stomp on
> them with big boots.

I think I see a fairly simple way that OMG could preserve the integrity 
of the CORBA standard while remaining Free Software. In much the same 
way as some Free licenses allow free modification but require that 
anyone making such modifications must change the name of the software, 
couldn't the OMG say something like:

"You may modify this software, but if you distribute a modified version 
you must change the package name to something that does not begin with 
'org.omg'."


At least, such a change would meet *my* criteria as Free Software - in a 
Free environment, if you need to use and distribute a modified version, 
you can do a simple Find/Replace/Recompile on whatever software you're 
using to point to the new package name. Unfortunately some people might 
not consider this to be Free enough - you couldn't plug a modified 
version into a proprietary application that expected the org.omg package 
name, for example. I consider this to be a moot point because people who 
care about freedom aren't using such applications.

If we were to advocate this solution to the OMG, we should at least make 
sure we have consensus within the Free Software community that the 
solution we're proposing is acceptable. (I think the benchmark for 
"everyone agrees it's free enough" is if RMS and debian-legal are both 
okay with it ;) )

I'd hope it would be acceptable to the OMG because it doesn't allow any 
vendor to subvert the integrity of the standard: the subversion becomes 
pretty blatant when you find that the vendor's libraries aren't in the 
org.omg package.

If everyone agrees that this proposal is "free enough", perhaps it's 
something that the FSF could approach the OMG with - or individuals here 
such as yourself or Brian who have contacted them could try advocating.

BTW, I'm in full agreement with you that this is something that will 
become very important in the long run.

Stuart.

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




From MAILER-DAEMON Thu Oct 23 16:44:49 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACmK8-0005pP-O3
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 16:44:48 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACmK6-0005nq-60
	for classpath@gnu.org; Thu, 23 Oct 2003 16:44:46 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACmJa-0005Zv-BI
	for classpath@gnu.org; Thu, 23 Oct 2003 16:44:45 -0400
Received: from [193.74.71.22] (helo=guri.is.kpn.be)
	by monty-python.gnu.org with esmtp (Exim 4.24)
	id 1ACmJZ-0005Yx-LE; Thu, 23 Oct 2003 16:44:13 -0400
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by guri.is.kpn.be  with SMTP id h9NKi0Z14996; 
	Thu, 23 Oct 2003 22:44:00 +0200
Message-Id: <200310232044.h9NKi0Z14996@guri.is.kpn.be>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: Stuart Ballard <stuart.ballard@corp.fast.net>,
	Stephen Crawley <crawley@dstc.edu.au>
Date: Thu, 23 Oct 2003 22:44:00 +0200
X-Mailer: KMail [version 1.3]
References: <200310230158.h9N1we8q001730@piglet.dstc.edu.au>
	<3F981D4E.8030505@corp.fast.net>
In-Reply-To: <3F981D4E.8030505@corp.fast.net>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: Brian Jones <cbj@gnu.org>, classpath@gnu.org,
	Mark Wielaard <mark@klomp.org>, crawley@piglet.dstc.edu.au
Subject: Re: Classpath and org.omg.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 20:44:47 -0000

On Thursday 23 October 2003 20:26, Stuart Ballard wrote:

>
> I think I see a fairly simple way that OMG could preserve the integrity
> of the CORBA standard while remaining Free Software. In much the same
> way as some Free licenses allow free modification but require that
> anyone making such modifications must change the name of the software,
> couldn't the OMG say something like:
>
> "You may modify this software, but if you distribute a modified version
> you must change the package name to something that does not begin with
> 'org.omg'."
>
>
> At least, such a change would meet *my* criteria as Free Software 

But it would of course be incompatible with the GPL ...

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



From MAILER-DAEMON Thu Oct 23 17:01:17 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACma5-0006QF-Cl
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 17:01:17 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACma2-0006Or-1o
	for classpath@gnu.org; Thu, 23 Oct 2003 17:01:14 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACmWl-0005SH-9F
	for classpath@gnu.org; Thu, 23 Oct 2003 16:58:22 -0400
Received: from [209.92.1.32] (helo=newmx2.fast.net)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ACmWR-0004gd-Fp
	for classpath@gnu.org; Thu, 23 Oct 2003 16:57:31 -0400
Received: (qmail 28530 invoked from network); 23 Oct 2003 20:57:29 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx2.fast.net (qmail-ldap-1.03) with SMTP
	for <chris@kiffer.eunet.be>; 23 Oct 2003 20:57:29 -0000
Message-ID: <3F9840B6.2070109@corp.fast.net>
Date: Thu, 23 Oct 2003 16:57:26 -0400
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.4) Gecko/20031010 Debian/1.4-6
X-Accept-Language: en
MIME-Version: 1.0
To: Chris Gray <chris@kiffer.eunet.be>
References: <200310230158.h9N1we8q001730@piglet.dstc.edu.au>
	<3F981D4E.8030505@corp.fast.net>
	<200310232044.h9NKi0Z14996@guri.is.kpn.be>
In-Reply-To: <200310232044.h9NKi0Z14996@guri.is.kpn.be>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Brian Jones <cbj@gnu.org>, classpath@gnu.org,
	Stephen Crawley <crawley@dstc.edu.au>,
	crawley@piglet.dstc.edu.au, Mark Wielaard <mark@klomp.org>
Subject: Re: Classpath and org.omg.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 21:01:15 -0000

Chris Gray wrote:
> But it would of course be incompatible with the GPL ...

Probably, but definitely compatible with Classpath's modified version of 
the GPL.

There would be problems for GPL software that wished to *use* the 
org.omg classes, but not for the integration of the classes into 
Classpath itself.

Stuart.

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




From MAILER-DAEMON Thu Oct 23 17:55:57 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACnQz-0004nI-Gl
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 17:55:57 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACnQw-0004n0-S2
	for classpath@gnu.org; Thu, 23 Oct 2003 17:55:54 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACnQQ-0004RR-FJ
	for classpath@gnu.org; Thu, 23 Oct 2003 17:55:53 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACnQP-0004QU-Vf
	for classpath@gnu.org; Thu, 23 Oct 2003 17:55:22 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1ACnQ9-00084P-00
	for <classpath@gnu.org>; Thu, 23 Oct 2003 23:55:05 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <3F981D4E.8030505@corp.fast.net>
References: <200310230158.h9N1we8q001730@piglet.dstc.edu.au>
	<3F981D4E.8030505@corp.fast.net>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-ta9JZKVdw36wLAcLo8OY"
Message-Id: <1066946120.1244.134.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Thu, 23 Oct 2003 23:55:20 +0200
Subject: Re: Classpath and org.omg.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 21:55:55 -0000


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

Hi,

On Thu, 2003-10-23 at 20:26, Stuart Ballard wrote:
> I think I see a fairly simple way that OMG could preserve the integrity=20
> of the CORBA standard while remaining Free Software. In much the same=20
> way as some Free licenses allow free modification but require that=20
> anyone making such modifications must change the name of the software,=20
> couldn't the OMG say something like:
>=20
> "You may modify this software, but if you distribute a modified version=20
> you must change the package name to something that does not begin with=20
> 'org.omg'."

That would restrict certain functionality since package scoping is an
important functionality of the java language. It has meaning to the
language runtime. So this would not be something we could use to provide
a free software implementation.

> If we were to advocate this solution to the OMG, we should at least make=20
> sure we have consensus within the Free Software community that the=20
> solution we're proposing is acceptable. (I think the benchmark for=20
> "everyone agrees it's free enough" is if RMS and debian-legal are both=20
> okay with it ;) )

My proposal is to discuss how the FSF dealt with this issue with the W3C
organisation, which has separate policies for distributions of their
specifications and any (derived) software. The distribution policy for
their software is GPL compatible (we use it for example by importing the
GNU JAXP package which comes with org.w3c packages).

Brian has send me the latest correspondence he had with the FSF and
someone of the OMG about this issue. Hopefully we can continue that
discussion and come to some solution that makes it possible to provide a
free implementation of the CORBA specification classes.

Cheers,

Mark

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

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

iD8DBQA/mE5IxVhZCJWr9QwRAvQDAKCL65s3sJOaArIkogphzWWn/XQJbACgrpqK
PXt6P5ZZE+g5kwcXfTd4Y34=
=CQJA
-----END PGP SIGNATURE-----

--=-ta9JZKVdw36wLAcLo8OY--




From MAILER-DAEMON Thu Oct 23 17:58:15 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACnTD-0005BA-12
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 17:58:15 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACnTB-0005B0-0R
	for classpath@gnu.org; Thu, 23 Oct 2003 17:58:13 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACnSe-000555-2Z
	for classpath@gnu.org; Thu, 23 Oct 2003 17:58:11 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACnSb-00054c-MN
	for classpath@gnu.org; Thu, 23 Oct 2003 17:57:37 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1ACnSL-00084V-00
	for <classpath@gnu.org>; Thu, 23 Oct 2003 23:57:21 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <3F9840B6.2070109@corp.fast.net>
References: <200310230158.h9N1we8q001730@piglet.dstc.edu.au>
	<3F981D4E.8030505@corp.fast.net>
	<200310232044.h9NKi0Z14996@guri.is.kpn.be>
	<3F9840B6.2070109@corp.fast.net>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-ZZD7VUDS1Xfg82JQqX9U"
Message-Id: <1066946256.1249.138.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Thu, 23 Oct 2003 23:57:36 +0200
Subject: Re: Classpath and org.omg.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 21:58:13 -0000


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

Hi,

On Thu, 2003-10-23 at 22:57, Stuart Ballard wrote:
> Chris Gray wrote:
> > But it would of course be incompatible with the GPL ...
>=20
> Probably, but definitely compatible with Classpath's modified version of=20
> the GPL.
>=20
> There would be problems for GPL software that wished to *use* the=20
> org.omg classes, but not for the integration of the classes into=20
> Classpath itself.

A solution that would prevent programs distributed under the GPL to use
our library would not be very productive. Lots of GNU software is
distributed under the GPL so we would not integrate very well with the
rest of the system in that case.

Cheers,

Mark

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

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

iD8DBQA/mE7PxVhZCJWr9QwRAvJDAJ46BH40xZd6OIIcg8bVznSYcMNMdwCeO+/w
7+j2z7Xyy6H7VbTwWg7e1A4=
=CIuT
-----END PGP SIGNATURE-----

--=-ZZD7VUDS1Xfg82JQqX9U--




From MAILER-DAEMON Thu Oct 23 18:00:41 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACnVY-0005oa-Fv
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 18:00:40 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACnVV-0005mw-02
	for classpath@gnu.org; Thu, 23 Oct 2003 18:00:37 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACnUs-0005er-Gn
	for classpath@gnu.org; Thu, 23 Oct 2003 18:00:29 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACnUs-0005eT-5p
	for classpath@gnu.org; Thu, 23 Oct 2003 17:59:58 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1ACnUb-00084b-00
	for <classpath@gnu.org>; Thu, 23 Oct 2003 23:59:41 +0200
From: Mark Wielaard <mark@klomp.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <3F98155C.7070400@kaffe.org>
References: <3F98155C.7070400@kaffe.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-d3AjjK7mZxtR3k57kgna"
Message-Id: <1066946396.1252.142.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Thu, 23 Oct 2003 23:59:56 +0200
Subject: Re: CVS configure.in is broken
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 22:00:38 -0000


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

Hi,

On Thu, 2003-10-23 at 19:52, Dalibor Topic wrote:
> apparently the configure.in in CVs is broken. I tried the
> aclocal; autoheader; automake; autoconf
> routine as recommended in the HACKING document, but it doesn't work:=20
> aclocal complains about
>=20
> aclocal: configure.in: 134: macro `AM_PATH_GTK_2_0' not found in library
> aclocal: configure.in: 137: macro `AM_PATH_GLIB_2_0' not found in library
> aclocal: configure.in: 140: macro `AM_PATH_LIBART' not found in library
>=20
> and it's all down from there ;)

Also from the HACKING document:

        the following are required.
        =20
                - GTK+ 2.x.x
                - libart_lgpl 2.1.0

Those packages should provide the missing AM_ macros.

Cheers,

Mark

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

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

iD8DBQA/mE9cxVhZCJWr9QwRAiOcAJ9agzXemLpQ1fk9y54uAbN6rZfFCwCfVNoG
6pkbbCnggrCOgYApOz3K5Ls=
=0MJV
-----END PGP SIGNATURE-----

--=-d3AjjK7mZxtR3k57kgna--




From MAILER-DAEMON Thu Oct 23 18:46:07 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACoDX-0003lf-Hg
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 18:46:07 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACoDV-0003jq-L7
	for classpath@gnu.org; Thu, 23 Oct 2003 18:46:05 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACoCz-0003Sm-0n
	for classpath@gnu.org; Thu, 23 Oct 2003 18:46:04 -0400
Received: from [210.55.57.198] (helo=server.flinders.co.nz)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ACoCy-0003Rd-5Y
	for classpath@gnu.org; Thu, 23 Oct 2003 18:45:32 -0400
Received: from [192.168.0.191] by server.flinders.co.nz (AppleMailServer
	10.2.3.0) id 89349 via TCP with SMTP; Fri, 24 Oct 2003 11:55:32 +1300
In-Reply-To: <1066946120.1244.134.camel@elsschot>
References: <200310230158.h9N1we8q001730@piglet.dstc.edu.au>
	<3F981D4E.8030505@corp.fast.net>
	<1066946120.1244.134.camel@elsschot>
Mime-Version: 1.0 (Apple Message framework v606)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <9910F0F4-05AA-11D8-891D-003065F97F7C@mckinlay.net.nz>
Content-Transfer-Encoding: 7bit
From: Bryce McKinlay <bryce@mckinlay.net.nz>
Date: Fri, 24 Oct 2003 11:45:27 +1300
To: Mark Wielaard <mark@klomp.org>
X-Mailer: Apple Mail (2.606)
Cc: classpath@gnu.org
Subject: Re: Classpath and org.omg.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 22:46:06 -0000

On Oct 24, 2003, at 10:55 AM, Mark Wielaard wrote:

> Hi,
>
> On Thu, 2003-10-23 at 20:26, Stuart Ballard wrote:
>> I think I see a fairly simple way that OMG could preserve the 
>> integrity
>> of the CORBA standard while remaining Free Software. In much the same
>> way as some Free licenses allow free modification but require that
>> anyone making such modifications must change the name of the software,
>> couldn't the OMG say something like:
>>
>> "You may modify this software, but if you distribute a modified 
>> version
>> you must change the package name to something that does not begin with
>> 'org.omg'."
>
> That would restrict certain functionality since package scoping is an
> important functionality of the java language. It has meaning to the
> language runtime. So this would not be something we could use to 
> provide
> a free software implementation.

Mark,

How does the org.omg spec differ from the java.* spec which is also 
non-modifiable according to its license?

Bryce.





From MAILER-DAEMON Thu Oct 23 19:22:31 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AComf-0002Z2-DC
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 19:22:25 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AComa-0002Rb-3V
	for classpath@gnu.org; Thu, 23 Oct 2003 19:22:20 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACom3-0001zs-Uz
	for classpath@gnu.org; Thu, 23 Oct 2003 19:22:18 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AColx-0001ya-GC
	for classpath@gnu.org; Thu, 23 Oct 2003 19:21:41 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1AColh-0008H3-00
	for <classpath@gnu.org>; Fri, 24 Oct 2003 01:21:25 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <9910F0F4-05AA-11D8-891D-003065F97F7C@mckinlay.net.nz>
References: <200310230158.h9N1we8q001730@piglet.dstc.edu.au>
	<3F981D4E.8030505@corp.fast.net> <1066946120.1244.134.camel@elsschot>
	<9910F0F4-05AA-11D8-891D-003065F97F7C@mckinlay.net.nz>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-WzHdJtKLM0WjGXP9SAHV"
Message-Id: <1066951299.1256.152.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Fri, 24 Oct 2003 01:21:39 +0200
Subject: Re: Classpath and org.omg.*
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Oct 2003 23:22:20 -0000


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

Hi,

On Fri, 2003-10-24 at 13:45, Bryce McKinlay wrote:
> How does the org.omg spec differ from the java.* spec which is also=20
> non-modifiable according to its license?

I haven't studied specs or books on org.omg yet, so I cannot tell you. I
was talking about software distributed under the restrictions that
Stuart proposed.

The license for the java.*  spec isn't really relevant since we don't
distribute that spec anyway. And you don't have to accept that license
to read the specs that we use to implement these class libraries.
(I just went to the bookstore and bought the JCL books.)
I actually talked about this with RMS and his opinion was that as long
as people publish books about how these classes are supposed to work, we
are allowed to publish code that shows people how these classes are
supposed to work.

Cheers,

Mark

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

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

iD8DBQA/mGKDxVhZCJWr9QwRAs48AJwINI9OEBFoQHnrCc0H1ltcl9ZusACfWyjh
v2iXSN15ngBg2mZGMd5YOIA=
=d5vk
-----END PGP SIGNATURE-----

--=-WzHdJtKLM0WjGXP9SAHV--




From MAILER-DAEMON Thu Oct 23 22:06:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACrLI-00054B-Dk
	for mharc-classpath@gnu.org; Thu, 23 Oct 2003 22:06:20 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACrLF-00051b-I2
	for classpath@gnu.org; Thu, 23 Oct 2003 22:06:17 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACrKj-0004rN-J3
	for classpath@gnu.org; Thu, 23 Oct 2003 22:06:16 -0400
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACrKi-0004qp-T1
	for classpath@gnu.org; Thu, 23 Oct 2003 22:05:45 -0400
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.10/8.12.10) with ESMTP id h9O25I8q007705;
	Fri, 24 Oct 2003 12:05:18 +1000 (EST)
Message-Id: <200310240205.h9O25I8q007705@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: Mark Wielaard <mark@klomp.org>
In-Reply-To: Message from Mark Wielaard <mark@klomp.org> of "Thu,
	23 Oct 2003 23:59:56 +0200." <1066946396.1252.142.camel@elsschot> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 24 Oct 2003 12:05:40 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.38
Cc: crawley@piglet.dstc.edu.au, GNU Classpath <classpath@gnu.org>
Subject: Re: CVS configure.in is broken 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Oct 2003 02:06:18 -0000


Mark Wielaard <mark@klomp.org> wrote:
> On Thu, 2003-10-23 at 19:52, Dalibor Topic wrote:
> > apparently the configure.in in CVs is broken. I tried the
> > aclocal; autoheader; automake; autoconf
> > routine as recommended in the HACKING document, but it doesn't work:=20
> > aclocal complains about
> >=20
> > aclocal: configure.in: 134: macro `AM_PATH_GTK_2_0' not found in library
> > aclocal: configure.in: 137: macro `AM_PATH_GLIB_2_0' not found in library
> > aclocal: configure.in: 140: macro `AM_PATH_LIBART' not found in library
> >=20
> > and it's all down from there ;)
> 
> Also from the HACKING document:
> 
>         the following are required.
>         =20
>                 - GTK+ 2.x.x
>                 - libart_lgpl 2.1.0
> 
> Those packages should provide the missing AM_ macros.

There is an alternative workaround to this.  There is an ugly hack in
the configure.ac file that allows you configure to Classpath with
--disable-gtk-peer on a platform that does not have GTK+ 2.x.x.  

This workaround allows you to build / use Classpath for non-GUI apps if
you are stuck with an older Linux distro that only has GTK+ 1.x.x.
(Retrofitting GTK+ 2.x.x can be really hard because of the number of
libraries and applications that need to be upgraded.  At least, that
was what I found with RedHat 7.2.)

-- Steve

P.S.  This should be documented in the HACKING file, since the question
      seems to come up every few months.




From MAILER-DAEMON Fri Oct 24 04:32:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACxMY-0006Va-EH
	for mharc-classpath@gnu.org; Fri, 24 Oct 2003 04:32:02 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACxMV-0006T2-HJ
	for classpath@gnu.org; Fri, 24 Oct 2003 04:31:59 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACxLy-00068l-M0
	for classpath@gnu.org; Fri, 24 Oct 2003 04:31:57 -0400
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACxLy-00068T-99
	for classpath@gnu.org; Fri, 24 Oct 2003 04:31:26 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 1ACxLx-00081H-00
	for <classpath@gnu.org>; Fri, 24 Oct 2003 10:31:25 +0200
Received: from mpiat2304.ag2.mpi-sb.mpg.de
	([139.19.20.93] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1ACxLu-00080h-00; Fri, 24 Oct 2003 10:31:22 +0200
Message-ID: <3F98E35A.2040401@kaffe.org>
Date: Fri, 24 Oct 2003 10:31:22 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
References: <3F98155C.7070400@kaffe.org> <1066946396.1252.142.camel@elsschot>
In-Reply-To: <1066946396.1252.142.camel@elsschot>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: CVS configure.in is broken
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Oct 2003 08:32:00 -0000

Mark Wielaard wrote:
> Hi,
> 
> On Thu, 2003-10-23 at 19:52, Dalibor Topic wrote:
> 
>>apparently the configure.in in CVs is broken. I tried the
>>aclocal; autoheader; automake; autoconf
>>routine as recommended in the HACKING document, but it doesn't work: 
>>aclocal complains about
>>
>>aclocal: configure.in: 134: macro `AM_PATH_GTK_2_0' not found in library
>>aclocal: configure.in: 137: macro `AM_PATH_GLIB_2_0' not found in library
>>aclocal: configure.in: 140: macro `AM_PATH_LIBART' not found in library
>>
>>and it's all down from there ;)
> 
> 
> Also from the HACKING document:
> 
>         the following are required.
>          
>                 - GTK+ 2.x.x
>                 - libart_lgpl 2.1.0
> 
> Those packages should provide the missing AM_ macros.

Not in my HACKING document ;) There is says:

For building the JNI native libraries, the following are required.

         - GTK+ 2.x.x
         - libart_lgpl 2.1.0
         - gdk-pixbuf (Only needed if you want to compile the native 
library)

But as I don't want to build the JNI libraries, I figured I wouldn't 
need it ;)

Anyway, thanks, I'll fetch them just for the macros. Any idea where the 
macros hide in those packages?

Stupid question no 2: why aren't those macros in the CVS archive? They 
are not generated files, as far as I can tell. Installing gtk2, glib2 
and libart just to be able to compile Classpath's java classes with 
jikes seems like a bit of overkill ;)

cheers,
dalibor topic




From MAILER-DAEMON Fri Oct 24 06:06:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ACypJ-0002GT-Qp
	for mharc-classpath@gnu.org; Fri, 24 Oct 2003 06:05:49 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ACyp3-00021u-P9
	for classpath@gnu.org; Fri, 24 Oct 2003 06:05:33 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACyoT-0001ay-Mb
	for classpath@gnu.org; Fri, 24 Oct 2003 06:05:28 -0400
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACyoT-0001Zu-4z
	for classpath@gnu.org; Fri, 24 Oct 2003 06:04:57 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 90163621F5; Fri, 24 Oct 2003 10:04:55 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 46095-01; Fri, 24 Oct 2003 10:04:52 +0000 (GMT)
Received: from reali.dnsalias.net (adsl-212-41-91-8.solnet.ch [212.41.91.8])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 3368D60D6A; Fri, 24 Oct 2003 10:04:49 +0000 (GMT)
Received: from pcprr (unknown [193.72.144.232])
	by reali.dnsalias.net (Postfix) with SMTP
	id 0085E3F2A5; Fri, 24 Oct 2003 11:55:37 +0200 (CEST)
Message-ID: <003501c39a16$3a19e740$360a280a@elca.ch>
From: "Patrik Reali" <reali@acm.org>
To: "Mark Wielaard" <mark@klomp.org>, "Stephen Crawley" <crawley@dstc.edu.au>
References: <200310240205.h9O25I8q007705@piglet.dstc.edu.au>
Date: Fri, 24 Oct 2003 12:04:32 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Virus-Scanned: by SolNet
Cc: GNU Classpath <classpath@gnu.org>, crawley@piglet.dstc.edu.au
Subject: Re: CVS configure.in is broken 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: Patrik Reali <reali@acm.org>
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Oct 2003 10:05:47 -0000

The problem with --disable-gtk-peer is that it works for the compilation,
but GTK must be installed anyway, otherwise aclocal fails.

In practice, I would have to install GTK-2 just to be able to configure the
package _not_ to use GTK-2.

To avoid this, I used to remove the GTK, GLIB, and LIBART stuff in the
configure.in file (from line 121 to line 148) before aclocal and eventually
configured classpath with --disable-gtk.peer. It's a hack , but it works for
me.

-Patrik


Stephen Crawley wrote:
>
> Mark Wielaard <mark@klomp.org> wrote:
> > On Thu, 2003-10-23 at 19:52, Dalibor Topic wrote:
> > > apparently the configure.in in CVs is broken. I tried the
> > > aclocal; autoheader; automake; autoconf
> > > routine as recommended in the HACKING document, but it doesn't
work:=20
> > > aclocal complains about
> > >=20
> > > aclocal: configure.in: 134: macro `AM_PATH_GTK_2_0' not found in
library
> > > aclocal: configure.in: 137: macro `AM_PATH_GLIB_2_0' not found in
library
> > > aclocal: configure.in: 140: macro `AM_PATH_LIBART' not found in
library
> > >=20
> > > and it's all down from there ;)
> >
> > Also from the HACKING document:
> >
> >         the following are required.
> >         =20
> >                 - GTK+ 2.x.x
> >                 - libart_lgpl 2.1.0
> >
> > Those packages should provide the missing AM_ macros.
>
> There is an alternative workaround to this.  There is an ugly hack in
> the configure.ac file that allows you configure to Classpath with
> --disable-gtk-peer on a platform that does not have GTK+ 2.x.x.
>
> This workaround allows you to build / use Classpath for non-GUI apps if
> you are stuck with an older Linux distro that only has GTK+ 1.x.x.
> (Retrofitting GTK+ 2.x.x can be really hard because of the number of
> libraries and applications that need to be upgraded.  At least, that
> was what I found with RedHat 7.2.)
>
> -- Steve
>
> P.S.  This should be documented in the HACKING file, since the question
>       seems to come up every few months.
>
>
>
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath
>
>




From MAILER-DAEMON Fri Oct 24 07:23:01 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AD021-0006FV-1f
	for mharc-classpath@gnu.org; Fri, 24 Oct 2003 07:23:01 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AD01x-0006EE-LR
	for classpath@gnu.org; Fri, 24 Oct 2003 07:22:57 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ACzw5-0004mz-9d
	for classpath@gnu.org; Fri, 24 Oct 2003 07:17:24 -0400
Received: from [24.25.9.102] (helo=ms-smtp-03-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACzw1-0004ll-3w
	for classpath@gnu.org; Fri, 24 Oct 2003 07:16:49 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-03-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	h9OBGMhf023541; Fri, 24 Oct 2003 07:16:23 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 31493BE641; Fri, 24 Oct 2003 07:07:54 -0400 (EDT)
Sender: cbj@haphazard.org
To: Patrik Reali <reali@acm.org>
References: <200310240205.h9O25I8q007705@piglet.dstc.edu.au>
	<003501c39a16$3a19e740$360a280a@elca.ch>
From: Brian Jones <cbj@gnu.org>
Date: 24 Oct 2003 07:07:54 -0400
In-Reply-To: <003501c39a16$3a19e740$360a280a@elca.ch>
Message-ID: <m3r812nbat.fsf@lyta.haphazard.org>
Lines: 19
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: crawley@piglet.dstc.edu.au, Mark Wielaard <mark@klomp.org>,
	GNU Classpath <classpath@gnu.org>, Stephen Crawley <crawley@dstc.edu.au>
Subject: Re: CVS configure.in is broken
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Oct 2003 11:22:59 -0000

Patrik Reali <reali@acm.org> writes:

> The problem with --disable-gtk-peer is that it works for the compilation,
> but GTK must be installed anyway, otherwise aclocal fails.
> 
> In practice, I would have to install GTK-2 just to be able to configure the
> package _not_ to use GTK-2.
> 
> To avoid this, I used to remove the GTK, GLIB, and LIBART stuff in the
> configure.in file (from line 121 to line 148) before aclocal and eventually
> configured classpath with --disable-gtk.peer. It's a hack , but it works for
> me.

Right, as a rule we don't check in generated files.  To avoid this
problem we'd have to check in the generated aclocal.m4.

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



From MAILER-DAEMON Fri Oct 24 08:34:17 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AD18z-0005lx-2H
	for mharc-classpath@gnu.org; Fri, 24 Oct 2003 08:34:17 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AD18q-0005kn-Mw
	for classpath@gnu.org; Fri, 24 Oct 2003 08:34:08 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AD18K-0005d0-Gx
	for classpath@gnu.org; Fri, 24 Oct 2003 08:34:07 -0400
Received: from [207.219.125.105] (helo=touchme.toronto.redhat.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AD18J-0005cF-OU
	for classpath@gnu.org; Fri, 24 Oct 2003 08:33:35 -0400
Received: from tortoise.toronto.redhat.com (tortoise.toronto.redhat.com
	[172.16.14.92]) by touchme.toronto.redhat.com (Postfix) with ESMTP
	id 3ADD280040B; Fri, 24 Oct 2003 08:33:34 -0400 (EDT)
From: Thomas Fitzsimmons <fitzsim@redhat.com>
To: Dalibor Topic <robilad@kaffe.org>
In-Reply-To: <3F98E35A.2040401@kaffe.org>
References: <3F98155C.7070400@kaffe.org>
	<1066946396.1252.142.camel@elsschot>  <3F98E35A.2040401@kaffe.org>
Content-Type: text/plain
Message-Id: <1066998813.25115.77.camel@tortoise.toronto.redhat.com>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-1) 
Date: Fri, 24 Oct 2003 08:33:34 -0400
Content-Transfer-Encoding: 7bit
Cc: Mark Wielaard <mark@klomp.org>, GNU Classpath <classpath@gnu.org>
Subject: Re: CVS configure.in is broken
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Oct 2003 12:34:09 -0000

On Fri, 2003-10-24 at 04:31, Dalibor Topic wrote:
> Mark Wielaard wrote:
> > Hi,
> > 
> > On Thu, 2003-10-23 at 19:52, Dalibor Topic wrote:
> > 
> >>apparently the configure.in in CVs is broken. I tried the
> >>aclocal; autoheader; automake; autoconf
> >>routine as recommended in the HACKING document, but it doesn't work: 
> >>aclocal complains about
> >>
> >>aclocal: configure.in: 134: macro `AM_PATH_GTK_2_0' not found in library
> >>aclocal: configure.in: 137: macro `AM_PATH_GLIB_2_0' not found in library
> >>aclocal: configure.in: 140: macro `AM_PATH_LIBART' not found in library
> >>
> >>and it's all down from there ;)
> > 
> > 
> > Also from the HACKING document:
> > 
> >         the following are required.
> >          
> >                 - GTK+ 2.x.x
> >                 - libart_lgpl 2.1.0
> > 
> > Those packages should provide the missing AM_ macros.
> 
> Not in my HACKING document ;) There is says:
> 
> For building the JNI native libraries, the following are required.
> 
>          - GTK+ 2.x.x
>          - libart_lgpl 2.1.0
>          - gdk-pixbuf (Only needed if you want to compile the native 
> library)
> 
> But as I don't want to build the JNI libraries, I figured I wouldn't 
> need it ;)
> 
> Anyway, thanks, I'll fetch them just for the macros. Any idea where the 
> macros hide in those packages?
> 

They're defined in gtk-2.0.m4, glib-2.0.m4 and libart.m4.

> Stupid question no 2: why aren't those macros in the CVS archive? They 
> are not generated files, as far as I can tell. Installing gtk2, glib2 
> and libart just to be able to compile Classpath's java classes with 
> jikes seems like a bit of overkill ;)

Yes, I agree.  We should probably just check the macro files into
Classpath's top-level directory.  That's what we've done with libgcj. 
We should also update the HACKING file to recommend

aclocal -I .

That should solve the problem.

Tom

> 
> cheers,
> dalibor topic
> 
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath




From MAILER-DAEMON Fri Oct 24 10:05:10 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AD2Yw-0004Mj-9N
	for mharc-classpath@gnu.org; Fri, 24 Oct 2003 10:05:10 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AD2Yt-0004MS-On
	for classpath@gnu.org; Fri, 24 Oct 2003 10:05:07 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AD2YN-0004IK-1X
	for classpath@gnu.org; Fri, 24 Oct 2003 10:05:06 -0400
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AD2YM-0004IH-Kk
	for classpath@gnu.org; Fri, 24 Oct 2003 10:04:34 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 1AD2YL-0002Xt-00
	for <classpath@gnu.org>; Fri, 24 Oct 2003 16:04:33 +0200
Received: from mpiat2304.ag2.mpi-sb.mpg.de
	([139.19.20.93] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1AD2YK-0002Xh-00
	for <classpath@gnu.org>; Fri, 24 Oct 2003 16:04:32 +0200
Message-ID: <3F993170.60907@kaffe.org>
Date: Fri, 24 Oct 2003 16:04:32 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>
Content-Type: multipart/mixed; boundary="------------070507060101000106060206"
X-Virus-Scanned: by AMaViS perl-11
Subject: [patch] Small fix for java.beans
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Oct 2003 14:05:08 -0000

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

Hi all,

while merging in GNU Classpath's java.beans into kaffe, there was a 
small issue that caused a regression test in kaffe to fail: the 
Introspector wouldn't add public static methods to the BeanInfo of a 
bean, as the spec demands. The attached patch solves this problem.

cheers,
dalibor topic

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

Index: libraries/javalib/gnu/java/beans/IntrospectionIncubator.java
===================================================================
RCS file: /cvs/kaffe/kaffe/libraries/javalib/gnu/java/beans/IntrospectionIncubator.java,v
retrieving revision 1.2
diff -u -r1.2 IntrospectionIncubator.java
--- libraries/javalib/gnu/java/beans/IntrospectionIncubator.java	22 Oct 2003 10:34:45 -0000	1.2
+++ libraries/javalib/gnu/java/beans/IntrospectionIncubator.java	24 Oct 2003 13:39:29 -0000
@@ -67,7 +67,7 @@
 
 	/* Paving the way for automatic Introspection */
 	public void addMethod(Method method) {
-		if(Modifier.isPublic(method.getModifiers()) && !Modifier.isStatic(method.getModifiers())) {
+		if(Modifier.isPublic(method.getModifiers())) {
 			String name = ClassHelper.getTruncatedName(method.getName());
 			Class retType = method.getReturnType();
 			Class[] params = method.getParameterTypes();

--------------070507060101000106060206--




From MAILER-DAEMON Fri Oct 24 10:16:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AD2k0-00072M-Qa
	for mharc-classpath@gnu.org; Fri, 24 Oct 2003 10:16:36 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AD2jI-0006p4-SS
	for classpath@gnu.org; Fri, 24 Oct 2003 10:15:52 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AD2gp-00067T-3X
	for classpath@gnu.org; Fri, 24 Oct 2003 10:13:50 -0400
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AD2gl-00065u-5n
	for classpath@gnu.org; Fri, 24 Oct 2003 10:13:15 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 1AD2gh-0003zv-00
	for <classpath@gnu.org>; Fri, 24 Oct 2003 16:13:11 +0200
Received: from mpiat2304.ag2.mpi-sb.mpg.de
	([139.19.20.93] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1AD2ge-0003zR-00; Fri, 24 Oct 2003 16:13:08 +0200
Message-ID: <3F993373.5080606@kaffe.org>
Date: Fri, 24 Oct 2003 16:13:07 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Dalibor Topic <robilad@kaffe.org>
References: <3F993170.60907@kaffe.org>
In-Reply-To: <3F993170.60907@kaffe.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: [patch] Small fix for java.beans
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Oct 2003 14:16:34 -0000

Oops, and of course I forgot the ChangeLog entry:

2003-10-24  Dalibor Topic <robilad@kaffe.org>

         * libraries/javalib/gnu/java/beans/IntrospectionIncubator.java:
         (addMethod) Add public static methods.

now, flame away ;)

cheers,
dalibor topic

Dalibor Topic wrote:
> Hi all,
> 
> while merging in GNU Classpath's java.beans into kaffe, there was a 
> small issue that caused a regression test in kaffe to fail: the 
> Introspector wouldn't add public static methods to the BeanInfo of a 
> bean, as the spec demands. The attached patch solves this problem.
> 
> cheers,
> dalibor topic
> 
> 
> ------------------------------------------------------------------------
> 
> Index: libraries/javalib/gnu/java/beans/IntrospectionIncubator.java
> ===================================================================
> RCS file: /cvs/kaffe/kaffe/libraries/javalib/gnu/java/beans/IntrospectionIncubator.java,v
> retrieving revision 1.2
> diff -u -r1.2 IntrospectionIncubator.java
> --- libraries/javalib/gnu/java/beans/IntrospectionIncubator.java	22 Oct 2003 10:34:45 -0000	1.2
> +++ libraries/javalib/gnu/java/beans/IntrospectionIncubator.java	24 Oct 2003 13:39:29 -0000
> @@ -67,7 +67,7 @@
>  
>  	/* Paving the way for automatic Introspection */
>  	public void addMethod(Method method) {
> -		if(Modifier.isPublic(method.getModifiers()) && !Modifier.isStatic(method.getModifiers())) {
> +		if(Modifier.isPublic(method.getModifiers())) {
>  			String name = ClassHelper.getTruncatedName(method.getName());
>  			Class retType = method.getReturnType();
>  			Class[] params = method.getParameterTypes();
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath





From MAILER-DAEMON Fri Oct 24 10:25:19 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AD2qS-0001E2-Su
	for mharc-classpath@gnu.org; Fri, 24 Oct 2003 10:23:16 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AD2qH-0000xZ-De
	for classpath@gnu.org; Fri, 24 Oct 2003 10:23:05 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AD2pf-0000a9-Rj
	for classpath@gnu.org; Fri, 24 Oct 2003 10:22:58 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AD2p6-0000Hy-B0
	for classpath@gnu.org; Fri, 24 Oct 2003 10:21:52 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1AD2om-0001RY-00; Fri, 24 Oct 2003 16:21:32 +0200
From: Mark Wielaard <mark@klomp.org>
To: Dalibor Topic <robilad@kaffe.org>
In-Reply-To: <3F993170.60907@kaffe.org>
References: <3F993170.60907@kaffe.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-mR20FEVCnwSU0UHjdS5l"
Message-Id: <1067005307.1257.167.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Fri, 24 Oct 2003 16:21:47 +0200
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: [patch] Small fix for java.beans
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Oct 2003 14:23:14 -0000


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

Hi,

On Fri, 2003-10-24 at 16:04, Dalibor Topic wrote:
> while merging in GNU Classpath's java.beans into kaffe, there was a=20
> small issue that caused a regression test in kaffe to fail: the=20
> Introspector wouldn't add public static methods to the BeanInfo of a=20
> bean, as the spec demands. The attached patch solves this problem.

Thanks. Committed as follows:

2003-10-24  Dalibor Topic  <robilad@kaffe.org>

       * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
       static methods.

That file is really badly formatted (but was already in the Classpath
tree). If someone wants to clean that up, that would be very
appreciated.

Cheers,

Mark

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

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

iD8DBQA/mTV7xVhZCJWr9QwRAkpSAJ9WsNMXPm/EcgYTCC8RvDCL7IrueQCfXWUw
8c4f/6/OQOIwn9eEA/0JTlc=
=uirQ
-----END PGP SIGNATURE-----

--=-mR20FEVCnwSU0UHjdS5l--




From MAILER-DAEMON Fri Oct 24 10:47:05 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AD3DU-0004x8-T0
	for mharc-classpath@gnu.org; Fri, 24 Oct 2003 10:47:04 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AD3DR-0004vb-HG
	for classpath@gnu.org; Fri, 24 Oct 2003 10:47:01 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AD3Cu-0004Ya-AH
	for classpath@gnu.org; Fri, 24 Oct 2003 10:46:59 -0400
Received: from [139.165.32.78] (helo=serv09.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AD3Ct-0004TX-P8
	for classpath@gnu.org; Fri, 24 Oct 2003 10:46:27 -0400
Received: (qmail 19116 invoked by uid 504); 24 Oct 2003 16:46:21 +0200
Received: from arnaud.vandyck@ulg.ac.be by serv09.segi.ulg.ac.be by uid 501
	with qmail-scanner-1.16 
	(clamscan: 0.60. spamassassin: 2.55.  Clear:. 
	Processed in 0.356413 secs); 24 Oct 2003 14:46:21 -0000
Received: from unknown (HELO localhost) ([139.165.77.48])
	(envelope-sender <arnaud.vandyck@ulg.ac.be>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 24 Oct 2003 16:46:20 +0200
Date: Fri, 24 Oct 2003 16:46:20 +0200 (CEST)
Message-Id: <20031024.164620.77870723.arnaud.vandyck@ulg.ac.be>
To: classpath@gnu.org
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
In-Reply-To: <1067005307.1257.167.camel@elsschot>
References: <3F993170.60907@kaffe.org>
	<1067005307.1257.167.camel@elsschot>
Organization: STE-Formations Informatiques, ULg
X-Fingerprint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2
X-URL: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
X-Face: ".{A?<Dzy|V1IPZL0O-B-~G{n+`j%t7K$Y`:u[w54'>P>_0mS1E$Wn4RK&CR)_yvw`),0&;
	?-]upzJvA]->#pP:$si]X039T'Qrd}9t=!EstonSVE1F$dtgGsRC"lyQnP+H6/g:f^d:,0@)P#xCy9?MmW[8n{8B75hA_=]O7TRZ~r9SE6CL*xpR8k4'~!5B8"|u
X-Mailer: Mew version 4.0.59 on Emacs 21.3.1 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: Re: [patch] Small fix for java.beans
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Oct 2003 14:47:02 -0000

On Fri, 24 Oct 2003 16:21:47 +0200
Mark Wielaard <mark@klomp.org> wrote:

[gnu/java/beans/IntrospectionIncubator.java]

> That file is really badly  formatted (but was already in the Classpath
> tree).  If  someone  wants  to  clean  that up,  that  would  be  very
> appreciated.

I have to learn so I can reformat this file. I'll send a patch asap ;)

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



From MAILER-DAEMON Fri Oct 24 11:28:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AD3rO-0006CT-ME
	for mharc-classpath@gnu.org; Fri, 24 Oct 2003 11:28:18 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AD3rL-0006AH-PH
	for classpath@gnu.org; Fri, 24 Oct 2003 11:28:15 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AD3qp-0005s3-E0
	for classpath@gnu.org; Fri, 24 Oct 2003 11:28:14 -0400
Received: from [155.185.1.3] (helo=antivirus.unimo.it)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AD3qo-0005rU-NZ
	for classpath@gnu.org; Fri, 24 Oct 2003 11:27:42 -0400
Received: from fluca.ing.unimo.it (fluca.ing.unimo.it [155.185.48.190])
	by antivirus.unimo.it (8.12.10/8.12.10) with ESMTP id h9OFReee012923
	for <classpath@gnu.org>; Fri, 24 Oct 2003 17:27:40 +0200
From: Luca Ferrari <fluca1978@virgilio.it>
To: classpath@gnu.org
Date: Fri, 24 Oct 2003 17:27:38 +0200
User-Agent: KMail/1.5.3
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200310241727.39308.fluca1978@virgilio.it>
X-Virus-Scanned: by amavisd-milter on antivirus (http://amavis.org/)
Subject: installing classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: fluca1978REMOVE_THIS_STRING@virgilio.it
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Oct 2003 15:28:16 -0000

Hi to everyone,
I0m unable to rightly install gnu classpath on my linux machine (suse 8.2).
When I try to excute "configure" I get:

configure: cannot find javac, try --with-gcj, --with-jikes, or --with-kjc

where my command line is:

luca@fluca:~/tmp/classpath-0.06> ./configure --prefix=/java/classpath 
--with-java=`which java`

Can anybody help me?

Thanks.
-- 
Luca Ferrari,
fluca1978@virgilio.it




From MAILER-DAEMON Fri Oct 24 11:33:30 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AD3wQ-0007cM-43
	for mharc-classpath@gnu.org; Fri, 24 Oct 2003 11:33:30 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AD3m6-00048W-Ir
	for classpath@gnu.org; Fri, 24 Oct 2003 11:22:50 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AD3lZ-00043u-HZ
	for classpath@gnu.org; Fri, 24 Oct 2003 11:22:48 -0400
Received: from [139.165.32.78] (helo=serv09.segi.ulg.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AD3lY-000430-0s
	for classpath@gnu.org; Fri, 24 Oct 2003 11:22:16 -0400
Received: (qmail 29803 invoked by uid 504); 24 Oct 2003 17:22:14 +0200
Received: from avdyk@debian.org by serv09.segi.ulg.ac.be by uid 501 with
	qmail-scanner-1.16 (clamscan: 0.60. spamassassin: 2.55.  Clear:. 
	Processed in 0.895234 secs); 24 Oct 2003 15:22:14 -0000
Received: from unknown (HELO localhost) ([139.165.77.48])
	(envelope-sender <avdyk@debian.org>)
	by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 24 Oct 2003 17:22:13 +0200
Date: Fri, 24 Oct 2003 17:22:12 +0200 (CEST)
Message-Id: <20031024.172212.118992088.arnaud.vandyck@ulg.ac.be>
To: classpath@gnu.org
From: Arnaud Vandyck <avdyk@debian.org>
In-Reply-To: <20031024.164620.77870723.arnaud.vandyck@ulg.ac.be>
References: <3F993170.60907@kaffe.org> <1067005307.1257.167.camel@elsschot>
	<20031024.164620.77870723.arnaud.vandyck@ulg.ac.be>
Organization: STE-Formations Informatiques, ULg
X-Fingerprint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2
X-URL: http://vbstefi60.fapse.ulg.ac.be/~arnaud/
X-Face: ".{A?<Dzy|V1IPZL0O-B-~G{n+`j%t7K$Y`:u[w54'>P>_0mS1E$Wn4RK&CR)_yvw`),0&;
	?-]upzJvA]->#pP:$si]X039T'Qrd}9t=!EstonSVE1F$dtgGsRC"lyQnP+H6/g:f^d:,0@)P#xCy9?MmW[8n{8B75hA_=]O7TRZ~r9SE6CL*xpR8k4'~!5B8"|u
X-Mailer: Mew version 4.0.59 on Emacs 21.3.1 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
	boundary="--Next_Part(Fri_Oct_24_17_22_12_2003_283)--"
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Fri, 24 Oct 2003 11:33:28 -0400
Subject: Re: [patch] Small fix for java.beans
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Oct 2003 15:22:51 -0000

----Next_Part(Fri_Oct_24_17_22_12_2003_283)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

On Fri, 24 Oct 2003 16:46:20 +0200 (CEST)
Arnaud Vandyck <arnaud.vandyck@ulg.ac.be> wrote:

> On Fri, 24 Oct 2003 16:21:47 +0200
> Mark Wielaard <mark@klomp.org> wrote:
> 
> [gnu/java/beans/IntrospectionIncubator.java]
> 
> > That file is really badly  formatted (but was already in the Classpath
> > tree).  If  someone  wants  to  clean  that up,  that  would  be  very
> > appreciated.
> 
> I have to learn so I can reformat this file. I'll send a patch asap ;)

Attached is the patch and here is the Changelog entry:
2003-10-24 Arnaud Vandyck <avdyk@debian.org>

	* gnu/java/beans/IntrospectionIncubator.java: reformated to conform to
    the GNU standards

Waiting for your comments, thanks,

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

----Next_Part(Fri_Oct_24_17_22_12_2003_283)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="InspectorIncubator.patch"

Index: IntrospectionIncubator.java
===================================================================
RCS file: /cvsroot/classpath/classpath/gnu/java/beans/IntrospectionIncubator.java,v
retrieving revision 1.11
diff -u -r1.11 IntrospectionIncubator.java
--- IntrospectionIncubator.java	24 Oct 2003 14:19:35 -0000	1.11
+++ IntrospectionIncubator.java	24 Oct 2003 15:16:55 -0000
@@ -53,303 +53,383 @@
  ** @see java.beans.BeanInfo
  **/
 
-public class IntrospectionIncubator {
-	Hashtable propertyMethods = new Hashtable();
-	Hashtable listenerMethods = new Hashtable();
-	Vector otherMethods = new Vector();
-
-	Class propertyStopClass;
-	Class eventStopClass;
-	Class methodStopClass;
-
-	public IntrospectionIncubator() {
-	}
-
-	/* Paving the way for automatic Introspection */
-	public void addMethod(Method method) {
-		if(Modifier.isPublic(method.getModifiers())) {
-			String name = ClassHelper.getTruncatedName(method.getName());
-			Class retType = method.getReturnType();
-			Class[] params = method.getParameterTypes();
-			boolean isVoid = retType.equals(java.lang.Void.TYPE);
-			Class methodClass = method.getDeclaringClass();
-			if(propertyStopClass == null || (propertyStopClass.isAssignableFrom(methodClass) && !propertyStopClass.equals(methodClass))) {
-				if(name.startsWith("is")
-				   && retType.equals(java.lang.Boolean.TYPE)
-				   && params.length == 0) {
-					addToPropertyHash(name,method,IS);
-				} else if(name.startsWith("get") && !isVoid) {
-					if(params.length == 0) {
-						addToPropertyHash(name,method,GET);
-					} else if(params.length == 1 && params[0].equals(java.lang.Integer.TYPE)) {
-						addToPropertyHash(name,method,GET_I);
-					} else {
-						otherMethods.addElement(method);
-					}
-				} else if(name.startsWith("set") && isVoid) {
-					if(params.length == 1) {
-						addToPropertyHash(name,method,SET);
-					} else if(params.length == 2 && params[0].equals(java.lang.Integer.TYPE)) {
-						addToPropertyHash(name,method,SET_I);
-					} else {
-						otherMethods.addElement(method);
-					}
-				}
-			}
-			if(eventStopClass == null || (eventStopClass.isAssignableFrom(methodClass) && !eventStopClass.equals(methodClass))) {
-				if(name.startsWith("add")
-				          && isVoid
-				          && params.length == 1
-				          && java.util.EventListener.class.isAssignableFrom(params[0])) {
-					addToListenerHash(name,method,ADD);
-				} else if(name.startsWith("remove")
-				          && isVoid
-				          && params.length == 1
-				          && java.util.EventListener.class.isAssignableFrom(params[0])) {
-					addToListenerHash(name,method,REMOVE);
-				}
-			}
-			if(methodStopClass == null || (methodStopClass.isAssignableFrom(methodClass) && !methodStopClass.equals(methodClass))) {
-				otherMethods.addElement(method);
-			}
-		}
-	}
-
-	public void addMethods(Method[] m) {
-		for(int i=0;i<m.length;i++) {
-			addMethod(m[i]);
-		}
-	}
-
-	public void setPropertyStopClass(Class c) {
-		propertyStopClass = c;
-	}
-
-	public void setEventStopClass(Class c) {
-		eventStopClass = c;
-	}
-
-	public void setMethodStopClass(Class c) {
-		methodStopClass = c;
-	}
-
-
-	public BeanInfoEmbryo getBeanInfoEmbryo() throws IntrospectionException {
-		BeanInfoEmbryo b = new BeanInfoEmbryo();
-		findXXX(b,IS);
-		findXXXInt(b,GET_I);
-		findXXXInt(b,SET_I);
-		findXXX(b,GET);
-		findXXX(b,SET);
-		findAddRemovePairs(b);
-		for(int i=0;i<otherMethods.size();i++) {
-			MethodDescriptor newMethod = new MethodDescriptor((Method)otherMethods.elementAt(i));
-			if(!b.hasMethod(newMethod)) {
-				b.addMethod(new MethodDescriptor((Method)otherMethods.elementAt(i)));
-			}
-		}
-		return b;
-	}
-
-	public BeanInfo getBeanInfo() throws IntrospectionException {
-		return getBeanInfoEmbryo().getBeanInfo();
-	}
-
-
-	void findAddRemovePairs(BeanInfoEmbryo b) throws IntrospectionException {
-		Enumeration listenerEnum = listenerMethods.keys();
-		while(listenerEnum.hasMoreElements()) {
-			DoubleKey k = (DoubleKey)listenerEnum.nextElement();
-			Method[] m = (Method[])listenerMethods.get(k);
-			if(m[ADD] != null && m[REMOVE] != null) {
-				EventSetDescriptor e = new EventSetDescriptor(Introspector.decapitalize(k.getName()),
-				                                              k.getType(), k.getType().getMethods(),
-				                                              m[ADD],m[REMOVE]);
-				e.setUnicast(ArrayHelper.contains(m[ADD].getExceptionTypes(),java.util.TooManyListenersException.class));
-				if(!b.hasEvent(e)) {
-					b.addEvent(e);
-				}
-			}
-		}
-	}
-
-	void findXXX(BeanInfoEmbryo b, int funcType) throws IntrospectionException {
-		Enumeration keys = propertyMethods.keys();
-		while(keys.hasMoreElements()) {
-			DoubleKey k = (DoubleKey)keys.nextElement();
-			Method[] m = (Method[])propertyMethods.get(k);
-			if(m[funcType] != null) {
-				PropertyDescriptor p = new PropertyDescriptor(Introspector.decapitalize(k.getName()),
-				                                     m[IS] != null ? m[IS] : m[GET],
-				                                     m[SET]);
-				if(m[SET] != null) {
-					p.setConstrained(ArrayHelper.contains(m[SET].getExceptionTypes(),java.beans.PropertyVetoException.class));
-				}
-				if(!b.hasProperty(p)) {
-					b.addProperty(p);
-				}
-			}
-		}
-	}
-
-	void findXXXInt(BeanInfoEmbryo b, int funcType) throws IntrospectionException {
-		Enumeration keys = propertyMethods.keys();
-		while(keys.hasMoreElements()) {
-			DoubleKey k = (DoubleKey)keys.nextElement();
-			Method[] m = (Method[])propertyMethods.get(k);
-			if(m[funcType] != null) {
-				boolean constrained;
-				if(m[SET_I] != null) {
-					constrained = ArrayHelper.contains(m[SET_I].getExceptionTypes(),java.beans.PropertyVetoException.class);
-				} else {
-					constrained = false;
-				}
-
-				/** Find out if there is an array type get or set **/
-				Class arrayType = Array.newInstance(k.getType(),0).getClass();
-				DoubleKey findSetArray = new DoubleKey(arrayType,k.getName());
-				Method[] m2 = (Method[])propertyMethods.get(findSetArray);
-				IndexedPropertyDescriptor p;
-				if(m2 == null) {
-					p = new IndexedPropertyDescriptor(Introspector.decapitalize(k.getName()),
-				                                          null,null,
-				                                          m[GET_I],m[SET_I]);
-				} else {
-					if(constrained && m2[SET] != null) {
-						constrained = ArrayHelper.contains(m2[SET].getExceptionTypes(),java.beans.PropertyVetoException.class);
-					}
-					p = new IndexedPropertyDescriptor(Introspector.decapitalize(k.getName()),
-				                                          m2[GET],m2[SET],
-				                                          m[GET_I],m[SET_I]);
-				}
-				p.setConstrained(constrained);
-				if(!b.hasProperty(p)) {
-					b.addProperty(p);
-				}
-			}
-		}
-	}
-
-	static final int IS=0;
-	static final int GET_I=1;
-	static final int SET_I=2;
-	static final int GET=3;
-	static final int SET=4;
-
-	static final int ADD=0;
-	static final int REMOVE=1;
-
-	void addToPropertyHash(String name, Method method, int funcType) {
-		String newName;
-		Class type;
-
-		switch(funcType) {
-			case IS:
-				type = java.lang.Boolean.TYPE;
-				newName = name.substring(2);
-				break;
-			case GET_I:
-				type = method.getReturnType();
-				newName = name.substring(3);
-				break;
-			case SET_I:
-				type = method.getParameterTypes()[1];
-				newName = name.substring(3);
-				break;
-			case GET:
-				type = method.getReturnType();
-				newName = name.substring(3);
-				break;
-			case SET:
-				type = method.getParameterTypes()[0];
-				newName = name.substring(3);
-				break;
-			default:
-				return;
-		}
-		newName = capitalize(newName);
-
-		DoubleKey k = new DoubleKey(type,newName);
-		Method[] methods = (Method[])propertyMethods.get(k);
-		if(methods == null) {
-			methods = new Method[5];
-			propertyMethods.put(k,methods);
-		}
-		methods[funcType] = method;
-	}
-
-
-	void addToListenerHash(String name, Method method, int funcType) {
-		String newName;
-		Class type;
-
-		switch(funcType) {
-			case ADD:
-				type = method.getParameterTypes()[0];
-				newName = name.substring(3,name.length()-8);
-				break;
-			case REMOVE:
-				type = method.getParameterTypes()[0];
-				newName = name.substring(6,name.length()-8);
-				break;
-			default:
-				return;
-		}
-		newName = capitalize(newName);
-
-		DoubleKey k = new DoubleKey(type,newName);
-		Method[] methods = (Method[])listenerMethods.get(k);
-		if(methods == null) {
-			methods = new Method[2];
-			listenerMethods.put(k,methods);
-		}
-		methods[funcType] = method;
-	}
-
-	static String capitalize(String name) {
-		try {
-			if(Character.isUpperCase(name.charAt(0))) {
-				return name;
-			} else {
-				char[] c = name.toCharArray();
-				c[0] = Character.toLowerCase(c[0]);
-				return new String(c);
-			}
-		} catch(StringIndexOutOfBoundsException E) {
-			return name;
-		} catch(NullPointerException E) {
-			return null;
-		}
-	}
+public class IntrospectionIncubator
+{
+  Hashtable propertyMethods = new Hashtable ();
+  Hashtable listenerMethods = new Hashtable ();
+  Vector otherMethods = new Vector ();
+  
+  Class propertyStopClass;
+  Class eventStopClass;
+  Class methodStopClass;
+  
+  public IntrospectionIncubator ()
+  {
+  }
+  
+  /* Paving the way for automatic Introspection */
+  public void addMethod (Method method)
+  {
+    if (Modifier.isPublic (method.getModifiers ()))
+      {
+        String name = ClassHelper.getTruncatedName (method.getName ());
+        Class retType = method.getReturnType ();
+        Class[] params = method.getParameterTypes ();
+        boolean isVoid = retType.equals (java.lang.Void.TYPE);
+        Class methodClass = method.getDeclaringClass ();
+        if (propertyStopClass == null || (propertyStopClass.isAssignableFrom (methodClass) && !propertyStopClass.equals (methodClass)))
+          {
+            if (name.startsWith ("is")
+                && retType.equals (java.lang.Boolean.TYPE)
+                && params.length == 0)
+              {
+                addToPropertyHash (name,method,IS);
+              }
+            else if (name.startsWith ("get") && !isVoid)
+              {
+                if (params.length == 0)
+                  {
+                    addToPropertyHash (name,method,GET);
+                  }
+                else if (params.length == 1 && params[0].equals (java.lang.Integer.TYPE))
+                  {
+                    addToPropertyHash (name,method,GET_I);
+                  }
+                else
+                  {
+                    otherMethods.addElement (method);
+                  }
+              }
+            else if (name.startsWith ("set") && isVoid)
+              {
+                if (params.length == 1)
+                  {
+                    addToPropertyHash (name,method,SET);
+                  }
+                else if (params.length == 2 && params[0].equals (java.lang.Integer.TYPE))
+                  {
+                    addToPropertyHash (name,method,SET_I);
+                  }
+                else
+                  {
+                    otherMethods.addElement (method);
+                  }
+              }
+          }
+        if (eventStopClass == null || (eventStopClass.isAssignableFrom (methodClass) && !eventStopClass.equals (methodClass)))
+          {
+            if (name.startsWith ("add")
+                && isVoid
+                && params.length == 1
+                && java.util.EventListener.class.isAssignableFrom (params[0]))
+              {
+                addToListenerHash (name,method,ADD);
+              }
+            else if (name.startsWith ("remove")
+                     && isVoid
+                     && params.length == 1
+                     && java.util.EventListener.class.isAssignableFrom (params[0]))
+              {
+                addToListenerHash (name,method,REMOVE);
+              }
+          }
+        if (methodStopClass == null || (methodStopClass.isAssignableFrom (methodClass) && !methodStopClass.equals (methodClass)))
+          {
+            otherMethods.addElement (method);
+          }
+      }
+  }
+  
+  public void addMethods (Method[] m)
+  {
+    for (int i=0;i<m.length;i++)
+      {
+        addMethod (m[i]);
+      }
+  }
+  
+  public void setPropertyStopClass (Class c)
+  {
+    propertyStopClass = c;
+  }
+  
+  public void setEventStopClass (Class c)
+  {
+    eventStopClass = c;
+  }
+  
+  public void setMethodStopClass (Class c)
+  {
+    methodStopClass = c;
+  }
+  
+  
+  public BeanInfoEmbryo getBeanInfoEmbryo ()
+    throws IntrospectionException
+  {
+    BeanInfoEmbryo b = new BeanInfoEmbryo ();
+    findXXX (b,IS);
+    findXXXInt (b,GET_I);
+    findXXXInt (b,SET_I);
+    findXXX (b,GET);
+    findXXX (b,SET);
+    findAddRemovePairs (b);
+    for (int i=0;i<otherMethods.size ();i++)
+      {
+        MethodDescriptor newMethod = new MethodDescriptor ( (Method)otherMethods.elementAt (i));
+        if(!b.hasMethod (newMethod))
+          {
+            b.addMethod (new MethodDescriptor ( (Method)otherMethods.elementAt(i)));
+          }
+      }
+    return b;
+  }
+  
+  public BeanInfo getBeanInfo () throws IntrospectionException
+  {
+    return getBeanInfoEmbryo ().getBeanInfo ();
+  }
+  
+  void findAddRemovePairs (BeanInfoEmbryo b)
+    throws IntrospectionException
+  {
+    Enumeration listenerEnum = listenerMethods.keys ();
+    while (listenerEnum.hasMoreElements ()) {
+      DoubleKey k = (DoubleKey)listenerEnum.nextElement ();
+      Method[] m = (Method[])listenerMethods.get (k);
+      if (m[ADD] != null && m[REMOVE] != null)
+        {
+          EventSetDescriptor e = new EventSetDescriptor (Introspector.decapitalize (k.getName()),
+                                                         k.getType (), k.getType ().getMethods (),
+                                                         m[ADD],m[REMOVE]);
+          e.setUnicast (ArrayHelper.contains (m[ADD].getExceptionTypes (),java.util.TooManyListenersException.class));
+          if (!b.hasEvent (e))
+            {
+              b.addEvent (e);
+            }
+        }
+    }
+  }
+  
+  void findXXX (BeanInfoEmbryo b, int funcType)
+    throws IntrospectionException
+  {
+    Enumeration keys = propertyMethods.keys ();
+    while (keys.hasMoreElements ())
+      {
+        DoubleKey k = (DoubleKey)keys.nextElement ();
+        Method[] m = (Method[])propertyMethods.get (k);
+        if (m[funcType] != null)
+          {
+            PropertyDescriptor p = new PropertyDescriptor (Introspector.decapitalize (k.getName()),
+                                                           m[IS] != null ? m[IS] : m[GET],
+                                                           m[SET]);
+            if (m[SET] != null)
+              {
+                p.setConstrained (ArrayHelper.contains (m[SET].getExceptionTypes (),java.beans.PropertyVetoException.class));
+              }
+            if (!b.hasProperty (p))
+              {
+                b.addProperty (p);
+              }
+          }
+      }
+  }
+  
+  void findXXXInt (BeanInfoEmbryo b, int funcType)
+    throws IntrospectionException
+  {
+    Enumeration keys = propertyMethods.keys ();
+    while (keys.hasMoreElements ())
+      {
+        DoubleKey k = (DoubleKey)keys.nextElement ();
+        Method[] m = (Method[])propertyMethods.get (k);
+        if (m[funcType] != null)
+          {
+            boolean constrained;
+            if (m[SET_I] != null)
+              {
+                constrained = ArrayHelper.contains (m[SET_I].getExceptionTypes (),java.beans.PropertyVetoException.class);
+              }
+            else
+              {
+                constrained = false;
+              }
+            
+            /** Find out if there is an array type get or set **/
+            Class arrayType = Array.newInstance (k.getType (),0).getClass ();
+            DoubleKey findSetArray = new DoubleKey (arrayType,k.getName ());
+            Method[] m2 = (Method[])propertyMethods.get (findSetArray);
+            IndexedPropertyDescriptor p;
+            if (m2 == null)
+              {
+                p = new IndexedPropertyDescriptor (Introspector.decapitalize (k.getName ()),
+                                                   null,null,
+                                                   m[GET_I],m[SET_I]);
+              }
+            else
+              {
+                if (constrained && m2[SET] != null)
+                  {
+                    constrained = ArrayHelper.contains (m2[SET].getExceptionTypes (),java.beans.PropertyVetoException.class);
+                  }
+                p = new IndexedPropertyDescriptor (Introspector.decapitalize (k.getName ()),
+                                                   m2[GET],m2[SET],
+                                                   m[GET_I],m[SET_I]);
+              }
+            p.setConstrained (constrained);
+            if (!b.hasProperty (p))
+              {
+                b.addProperty (p);
+              }
+          }
+      }
+  }
+  
+  static final int IS=0;
+  static final int GET_I=1;
+  static final int SET_I=2;
+  static final int GET=3;
+  static final int SET=4;
+  
+  static final int ADD=0;
+  static final int REMOVE=1;
+  
+  void addToPropertyHash (String name, Method method, int funcType)
+  {
+    String newName;
+    Class type;
+    
+    switch (funcType)
+      {
+      case IS:
+        type = java.lang.Boolean.TYPE;
+        newName = name.substring (2);
+        break;
+      case GET_I:
+        type = method.getReturnType ();
+        newName = name.substring (3);
+        break;
+      case SET_I:
+        type = method.getParameterTypes ()[1];
+        newName = name.substring (3);
+        break;
+      case GET:
+        type = method.getReturnType ();
+        newName = name.substring (3);
+        break;
+      case SET:
+        type = method.getParameterTypes ()[0];
+        newName = name.substring (3);
+        break;
+      default:
+        return;
+      }
+    newName = capitalize (newName);
+    
+    DoubleKey k = new DoubleKey (type,newName);
+    Method[] methods = (Method[])propertyMethods.get (k);
+    if (methods == null)
+      {
+        methods = new Method[5];
+        propertyMethods.put (k,methods);
+      }
+    methods[funcType] = method;
+  }
+  
+  
+  void addToListenerHash (String name, Method method, int funcType)
+  {
+    String newName;
+    Class type;
+    
+    switch (funcType)
+      {
+      case ADD:
+        type = method.getParameterTypes ()[0];
+        newName = name.substring (3,name.length ()-8);
+        break;
+      case REMOVE:
+        type = method.getParameterTypes ()[0];
+        newName = name.substring (6,name.length ()-8);
+        break;
+      default:
+        return;
+      }
+    newName = capitalize (newName);
+    
+    DoubleKey k = new DoubleKey (type,newName);
+    Method[] methods = (Method[])listenerMethods.get (k);
+    if (methods == null)
+      {
+        methods = new Method[2];
+        listenerMethods.put (k,methods);
+      }
+    methods[funcType] = method;
+  }
+  
+  static String capitalize (String name)
+  {
+    try
+      {
+        if (Character.isUpperCase (name.charAt (0)))
+          {
+            return name;
+          }
+        else
+          {
+            char[] c = name.toCharArray ();
+            c[0] = Character.toLowerCase (c[0]);
+            return new String (c);
+          }
+      }
+    catch (StringIndexOutOfBoundsException E)
+      {
+        return name;
+      }
+    catch (NullPointerException E)
+      {
+        return null;
+      }
+  }
 }
 
-class DoubleKey {
-	Class type;
-	String name;
-
-	DoubleKey(Class type, String name) {
-		this.type = type;
-		this.name = name;
-	}
-
-	Class getType() {
-		return type;
-	}
-
-	String getName() {
-		return name;
-	}
-
-	public boolean equals(Object o) {
-		if(o instanceof DoubleKey) {
-			DoubleKey d = (DoubleKey)o;
-			return d.type.equals(type) && d.name.equals(name);
-		} else {
-			return false;
-		}
-	}
-
-	public int hashCode() {
-		return type.hashCode() ^ name.hashCode();
-	}
+class DoubleKey
+{
+  Class type;
+  String name;
+  
+  DoubleKey (Class type, String name)
+  {
+    this.type = type;
+    this.name = name;
+  }
+  
+  Class getType ()
+  {
+    return type;
+  }
+  
+  String getName ()
+  {
+    return name;
+  }
+  
+  public boolean equals (Object o)
+  {
+    if (o instanceof DoubleKey)
+      {
+        DoubleKey d = (DoubleKey)o;
+        return d.type.equals (type) && d.name.equals (name);
+      }
+    else
+      {
+        return false;
+      }
+  }
+  
+  public int hashCode ()
+  {
+    return type.hashCode () ^ name.hashCode ();
+  }
 }

----Next_Part(Fri_Oct_24_17_22_12_2003_283)----



From MAILER-DAEMON Fri Oct 24 11:52:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AD4DB-0000Jq-A3
	for mharc-classpath@gnu.org; Fri, 24 Oct 2003 11:50:49 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AD4Bf-0008GW-AK
	for classpath@gnu.org; Fri, 24 Oct 2003 11:49:15 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AD4AR-0005pD-Ta
	for classpath@gnu.org; Fri, 24 Oct 2003 11:48:32 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AD498-00059Z-Ot
	for classpath@gnu.org; Fri, 24 Oct 2003 11:46:38 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1AD48r-0001bw-00
	for <classpath@gnu.org>; Fri, 24 Oct 2003 17:46:21 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <200310241727.39308.fluca1978@virgilio.it>
References: <200310241727.39308.fluca1978@virgilio.it>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-2jGZ3kkmdQl4n370v6+u"
Message-Id: <1067010397.1260.170.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Fri, 24 Oct 2003 17:46:37 +0200
Subject: Re: installing classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Oct 2003 15:50:43 -0000


--=-2jGZ3kkmdQl4n370v6+u
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

On Fri, 2003-10-24 at 17:27, Luca Ferrari wrote:
> configure: cannot find javac, try --with-gcj, --with-jikes, or --with-kjc
>=20
> where my command line is:
>=20
> luca@fluca:~/tmp/classpath-0.06> ./configure --prefix=3D/java/classpath=20
> --with-java=3D`which java`

Only the latest versions of gcj (3.3 or CVS) and jikes (1.18) are
supported. kjc was know to work a long time ago. Other java compilers
are untested.

Cheers,

Mark

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

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

iD8DBQA/mUlcxVhZCJWr9QwRAhBoAJ4sfYPrYAkBMHGJdBugWleE4IeDKACglag9
5lpSj4mrmp8nGpy+WtIT44A=
=jscV
-----END PGP SIGNATURE-----

--=-2jGZ3kkmdQl4n370v6+u--




From MAILER-DAEMON Fri Oct 24 12:06:28 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AD4Mx-0004tt-MK
	for mharc-classpath@gnu.org; Fri, 24 Oct 2003 12:00:55 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AD4Mt-0004sN-OU
	for classpath@gnu.org; Fri, 24 Oct 2003 12:00:51 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AD4ML-0004lW-Iz
	for classpath@gnu.org; Fri, 24 Oct 2003 12:00:48 -0400
Received: from [212.6.122.106] (helo=mail1.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AD4MJ-0004kf-2C
	for classpath@gnu.org; Fri, 24 Oct 2003 12:00:15 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-64-043.ewetel.net
	[80.228.64.43])
	by mail1.ewetel.de (8.12.1/8.12.9) with ESMTP id h9OG06Zv025098;
	Fri, 24 Oct 2003 18:00:11 +0200 (MEST)
Received: from mkoch by majestix.konqueror.de with local (Exim 3.35 #1
	(Debian)) id 1AD4MB-0005ME-00; Fri, 24 Oct 2003 18:00:07 +0200
Date: Fri, 24 Oct 2003 18:00:07 +0200
From: Michael Koch <konqueror@gmx.de>
To: Mark Wielaard <mark@klomp.org>
Message-ID: <20031024160007.GA20263@mail.konqueror.de>
References: <200310241727.39308.fluca1978@virgilio.it>
	<1067010397.1260.170.camel@elsschot>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1067010397.1260.170.camel@elsschot>
User-Agent: Mutt/1.3.28i
Sender: Michael Koch <mkoch@mail.konqueror.de>
X-CheckCompat: OK
Cc: classpath@gnu.org
Subject: Re: installing classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Oct 2003 16:00:53 -0000

On Fri, Oct 24, 2003 at 05:46:37PM +0200, Mark Wielaard wrote:
> Hi,
> 
> On Fri, 2003-10-24 at 17:27, Luca Ferrari wrote:
> > configure: cannot find javac, try --with-gcj, --with-jikes, or --with-kjc
> > 
> > where my command line is:
> > 
> > luca@fluca:~/tmp/classpath-0.06> ./configure --prefix=/java/classpath 
> > --with-java=`which java`
> 
> Only the latest versions of gcj (3.3 or CVS) and jikes (1.18) are
> supported. kjc was know to work a long time ago. Other java compilers
> are untested.

afaik only specifiers like 'gcj' or 'jikes' are allowed, not executables
with complete path. I may be wrong but last I tried it it didnt worked
with full path.

Michael



From MAILER-DAEMON Fri Oct 24 18:33:36 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ADAUy-0004Al-Dg
	for mharc-classpath@gnu.org; Fri, 24 Oct 2003 18:33:36 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ADAUv-00049B-JW
	for classpath@gnu.org; Fri, 24 Oct 2003 18:33:33 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ADAUP-0003rJ-Ac
	for classpath@gnu.org; Fri, 24 Oct 2003 18:33:32 -0400
Received: from [199.232.41.8] (helo=mx20.gnu.org)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.24) id 1ADAUP-0003qu-0X
	for classpath@gnu.org; Fri, 24 Oct 2003 18:33:01 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by mx20.gnu.org with esmtp (Exim 4.24) id 1ADATk-00048k-Oa
	for classpath@gnu.org; Fri, 24 Oct 2003 18:32:21 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1ADATT-0002JX-00
	for <classpath@gnu.org>; Sat, 25 Oct 2003 00:32:03 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <20031024.172212.118992088.arnaud.vandyck@ulg.ac.be>
References: <3F993170.60907@kaffe.org> <1067005307.1257.167.camel@elsschot>
	<20031024.164620.77870723.arnaud.vandyck@ulg.ac.be>
	<20031024.172212.118992088.arnaud.vandyck@ulg.ac.be>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-evwKPR5RCndqoKyrIuj5"
Message-Id: <1067034738.1260.312.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sat, 25 Oct 2003 00:32:18 +0200
Subject: Code formatting (Was: [patch] Small fix for java.beans)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Oct 2003 22:33:34 -0000


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

Hi,

On Fri, 2003-10-24 at 17:22, Arnaud Vandyck wrote:
> > I have to learn so I can reformat this file. I'll send a patch asap ;)
>=20
> Attached is the patch and here is the Changelog entry:
> 2003-10-24 Arnaud Vandyck <avdyk@debian.org>
>=20
> 	* gnu/java/beans/IntrospectionIncubator.java: reformated to conform to
>     the GNU standards
>=20
> Waiting for your comments, thanks,

Thanks so much for doing this.
I think this is mostly the way we want it, but to be honest we never
really set down all formatting rules that we want to use.

So we are now forced to actually think about it and write down the code
formatting convention we should use. People have been complaining about
the different styles we now have in the source tree and the fact that
there isn't a clear description of the formatting conventions that
should be used. So here we go...

And please comment, but be gentle, since obviously it is mostly a matter
of taste. I tried to give some rationals to make it look less arbitrary,
but I am sure you can come up with your own rationals :) But if we can
agree on something then we can also start making sure that we have the
tools to do the auto-formatting for us!

First the easy one, C files. We should just use the standard GNU Coding
Standards for that. <http://www.gnu.org/prep/standards_23.html>
There are lots of tools that can automatically generate it and it seems
as good a standard as any.

For .java source files I recommend to follow the GNU Coding Standards
for C as closely as possible. With a few exceptions:
(This is almost, except for the method/space thing, how Brian summarized
 it: http://mail.gnu.org/archive/html/classpath/2003-05/msg00025.html)

- Since method definitions don't start in column zero anyway (since they
are always inside a class definition), the rational for easy grepping
for "^method_def" is mostly gone already. Since it is customary for
almost everybody who writes java source code to put modifiers, return
value and method name on the same line, we do to.
[Another rational for always indenting the method definition is that it
makes it a bit easier to distinguish methods in inner and anonymous
classes from code in their enclosing context. NEED EXAMPLE.]

- Don't add a space between a method or constructor call/definition and
the open-bracket. This is because often the return value is an object on
which you want to apply another method or from which you want to access
a field.
       =20
        Example:
        	getToolkit().createWindow(this);
       =20
        NOT:
        	getToolkit ().createWindow (this);

- Look at the examples in the GNU Coding Standard it gives examples for
almost every construct. One missing is the try-catch which should be
formatted as:

  try
    {
      //
    }
  catch (...)
    {
      //
    }

- Don't put multiple class definitions in the same file, except for
inner classes. File names (plus .java) and class names should be the
same.

BTW. One line really is a max of 80 characters (this also goes for
ChangeLog Entries).

[Things not documented yet - need to get some sleep now...]
=3D Describe standard header, blank line, package statement, blank line,
  imports (sorted, use * when more then 3 from same package), blank
  line.
=3D Anonymous classes.
=3D Naming conventions.
=3D API doc javadoc tags used.
=3D ChangeLog entry guide
  http://mail.gnu.org/archive/html/classpath/2003-08/msg00066.html
=3D Examples, examples, examples.

All the above is of course a bit arbitrary, but I hope it is not that
controversial.

Now we need to stick to these guidelines and adapt some source
formatting tools to do these things automatically. And standard settings
for emacs, vim, eclipse...

Cheers,

Mark

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

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

iD8DBQA/mahyxVhZCJWr9QwRAvyiAJ9rJ+1obRIbhs/z+5IjiE4Y8h+X6gCdHKIO
9ZEhCOJCP9vLpTsa0w28YSg=
=Rjh0
-----END PGP SIGNATURE-----

--=-evwKPR5RCndqoKyrIuj5--




From MAILER-DAEMON Fri Oct 24 19:59:00 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ADBpW-00059I-80
	for mharc-classpath@gnu.org; Fri, 24 Oct 2003 19:58:54 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ADBpK-0004gU-8p
	for classpath@gnu.org; Fri, 24 Oct 2003 19:58:42 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ADBoR-0003We-7C
	for classpath@gnu.org; Fri, 24 Oct 2003 19:58:18 -0400
Received: from [210.230.164.2] (helo=mail.jsdi.or.jp)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ADBoO-0003TY-0T
	for classpath@gnu.org; Fri, 24 Oct 2003 19:57:44 -0400
Received: from dl.maczuka.gcd.org (d067.hi.jsdi.or.jp [210.230.165.67])
	by mail.jsdi.or.jp (8.11.6p2/8.11.6) with SMTP id h9ONvap05426
	for <classpath@gnu.org>; Sat, 25 Oct 2003 08:57:37 +0900 (JST)
Received: (qmail 2276 invoked by uid 0); 24 Oct 2003 23:19:00 -0000
Received: from ph.maczuka.gcd.org (HELO maczuka.gcd.org) (192.168.0.1)
	by dl.maczuka.gcd.org with SMTP; 24 Oct 2003 23:19:00 -0000
Received: (qmail 39097 invoked by uid 1000); 24 Oct 2003 23:19:20 -0000
Message-ID: <20031024231920.39096.qmail@maczuka.gcd.org>
From: Ito Kazumitsu <kaz@maczuka.gcd.org>
To: tromey@redhat.com
In-reply-to: Your message of "22 Oct 2003 10:33:22 CST"
References: <20031022153814.898.qmail@maczuka.gcd.org>
	<87smllnsfh.fsf@fleche.redhat.com>
User-Agent: EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.2
	(i386-unknown-freebsd4.7) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu")
Content-Type: text/plain; charset=US-ASCII
Date: Sat, 25 Oct 2003 08:19:19 +0900
Sender: kaz@maczuka.gcd.org
Cc: classpath@gnu.org, kaffe@kaffe.org
Subject: Re: [kaffe] Re: Bug Report: unexpected IllegalArgumentException
	from java.text.DecimalFormat
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Oct 2003 23:58:51 -0000

>>>>> ":" == Tom Tromey <tromey@redhat.com> writes:

:> Could you make your test case suitable for Mauve?  How about we give
:> you mauve write access and then you can just check it in?  And then
:> you can check in future tests too :-).  If this sounds good, fill out
:> this form and give my email address in the appropriate field:
:> 
:>     http://sources.redhat.com/cgi-bin/pdw/ps_form.cgi

Thank you for your suggestion. I am trying.

:> I'm ok with the patch, though it needs a ChangeLog entry.

How about this?

2003-xx-xx  Ito Kazumitsu <kaz@maczuka.gcd.org>

	* java/text/DecimalFormat.java
	(scanFormat) corrected so that '%' may appear in a pattern.




From MAILER-DAEMON Fri Oct 24 20:02:01 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ADBsX-0006WT-6U
	for mharc-classpath@gnu.org; Fri, 24 Oct 2003 20:02:01 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ADBrv-00069z-TF
	for classpath@gnu.org; Fri, 24 Oct 2003 20:01:23 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ADBrB-0005uC-JN
	for classpath@gnu.org; Fri, 24 Oct 2003 20:01:08 -0400
Received: from [24.25.9.102] (helo=ms-smtp-03-eri0.southeast.rr.com)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ADBqL-0005ff-Hg
	for classpath@gnu.org; Fri, 24 Oct 2003 19:59:45 -0400
Received: from lyta.haphazard.org (rdu57-9-048.nc.rr.com [66.57.9.48])
	by ms-smtp-03-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id
	h9ONxZhf014225; Fri, 24 Oct 2003 19:59:36 -0400 (EDT)
Received: by lyta.haphazard.org (Postfix, from userid 500)
	id 8E6FFBE641; Fri, 24 Oct 2003 19:50:59 -0400 (EDT)
Sender: cbj@haphazard.org
To: Michael Koch <konqueror@gmx.de>
References: <200310241727.39308.fluca1978@virgilio.it>
	<1067010397.1260.170.camel@elsschot>
	<20031024160007.GA20263@mail.konqueror.de>
From: Brian Jones <cbj@gnu.org>
Date: 24 Oct 2003 19:50:59 -0400
In-Reply-To: <20031024160007.GA20263@mail.konqueror.de>
Message-ID: <m3n0bqmbz0.fsf@lyta.haphazard.org>
Lines: 12
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: Re: installing classpath
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Oct 2003 00:01:59 -0000

Michael Koch <konqueror@gmx.de> writes:

> afaik only specifiers like 'gcj' or 'jikes' are allowed, not executables
> with complete path. I may be wrong but last I tried it it didnt worked
> with full path.

You should be able to --with-gcj=/usr/foo/gcc/bin/gcj and similar for
jikes.  If it doesn't work it is a bug.

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



From MAILER-DAEMON Fri Oct 24 22:49:32 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ADEUe-00046s-0e
	for mharc-classpath@gnu.org; Fri, 24 Oct 2003 22:49:32 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ADEUb-00046f-NI
	for classpath@gnu.org; Fri, 24 Oct 2003 22:49:29 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ADEU5-000401-Nh
	for classpath@gnu.org; Fri, 24 Oct 2003 22:49:28 -0400
Received: from [210.55.57.198] (helo=server.flinders.co.nz)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ADEU4-0003zY-S3
	for classpath@gnu.org; Fri, 24 Oct 2003 22:48:57 -0400
Received: from [192.168.0.191] by server.flinders.co.nz (AppleMailServer
	10.2.3.0) id 89975 via TCP with SMTP; Sat, 25 Oct 2003 15:59:05 +1300
Mime-Version: 1.0 (Apple Message framework v606)
To: GNU Classpath <classpath@gnu.org>
Message-Id: <C41AB2E2-0695-11D8-891D-003065F97F7C@mckinlay.net.nz>
Content-Type: multipart/mixed; boundary=Apple-Mail-5-696102214
From: Bryce McKinlay <bryce@mckinlay.net.nz>
Date: Sat, 25 Oct 2003 15:48:51 +1300
X-Mailer: Apple Mail (2.606)
Subject: AccessibleObject redundant check
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Oct 2003 02:49:30 -0000


--Apple-Mail-5-696102214
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

Anyone care to comment on this patch? Checking for whether we are 
setting accessibility on a member of AccessibleObject seems redundant, 
as code can only do that if it has already passed the SecurityManager 
check required to call setAccessible() in the first place (the check 
for java.lang.Class constructors, however, is specified by Sun's docs 
so we should probably keep that one).

Regards

Bryce.


--Apple-Mail-5-696102214
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; x-unix-mode=0600; name="AccessibleObject.patch.txt"
Content-Disposition: attachment;
	filename=AccessibleObject.patch.txt

2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>

	* java/lang/reflect/AccessibleObject.java (secureSetAccessible):
	Don't check for AccessibleObject. Update javadocs.

Index: AccessibleObject.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/reflect/AccessibleObject.java,v
retrieving revision 1.7
diff -u -r1.7 AccessibleObject.java
--- AccessibleObject.java	22 Jan 2002 22:40:20 -0000	1.7
+++ AccessibleObject.java	25 Oct 2003 02:43:07 -0000
@@ -59,8 +59,7 @@
 {
   /**
    * True if this object is marked accessible, which means the reflected
-   * object bypasses normal security checks. <em>NOTE</em>Don't try messing
-   * with this by reflection.  You'll mess yourself up.
+   * object bypasses normal security checks.
    */
   // default visibility for use by inherited classes
   boolean flag = false;
@@ -88,19 +87,11 @@
    * security check. If a security manager exists, it is checked for
    * <code>ReflectPermission("suppressAccessChecks")</code>.<p>
    *
-   * If <code>flag</code> is true, and the initial security check succeeds,
-   * this can still fail if a forbidden object is encountered, leaving the
-   * array half-modified. At the moment, the forbidden members are:<br>
-   * <ul>
-   *  <li>Any Constructor for java.lang.Class</li>
-   *  <li>Any AccessibleObject for java.lang.reflect.AccessibleObject
-   *      (this is not specified by Sun, but it closes a big security hole
-   *      where you can use reflection to bypass the security checks that
-   *      reflection is supposed to provide)</li>
-   * </ul>
-   * (Sun has not specified others, but good candidates might include
-   * ClassLoader, String, and such. However, the more checks we do, the
-   * slower this method gets).
+   * It is forbidden to set the accessibility flag to true on any constructor
+   * for java.lang.Class. This will result in a SecurityException. If the 
+   * SecurityException is thrown for any of the passed AccessibleObjects,
+   * the accessibility flag will be set on AccessibleObjects in the array prior 
+   * to the one which resulted in the exception.
    *
    * @param array the array of accessible objects
    * @param flag the desired state of accessibility, true to bypass security
@@ -121,19 +112,8 @@
    * manager exists, it is checked for
    * <code>ReflectPermission("suppressAccessChecks")</code>.<p>
    *
-   * If <code>flag</code> is true, and the initial security check succeeds,
-   * this will still fail for a forbidden object. At the moment, the
-   * forbidden members are:<br>
-   * <ul>
-   *  <li>Any Constructor for java.lang.Class</li>
-   *  <li>Any AccessibleObject for java.lang.reflect.AccessibleObject
-   *      (this is not specified by Sun, but it closes a big security hole
-   *      where you can use reflection to bypass the security checks that
-   *      reflection is supposed to provide)</li>
-   * </ul>
-   * (Sun has not specified others, but good candidates might include
-   * ClassLoader, String, and such. However, the more checks we do, the
-   * slower this method gets).
+   * It is forbidden to set the accessibility flag to true on any constructor for 
+   * java.lang.Class. This will result in a SecurityException.
    *
    * @param flag the desired state of accessibility, true to bypass security
    * @throws NullPointerException if array is null
@@ -171,9 +151,8 @@
   private final void secureSetAccessible(boolean flag)
   {
     if (flag &&
-        ((this instanceof Constructor
-          && ((Constructor) this).getDeclaringClass() == Class.class)
-         || ((Member) this).getDeclaringClass() == AccessibleObject.class))
+        (this instanceof Constructor
+          && ((Constructor) this).getDeclaringClass() == Class.class))
       throw new SecurityException("Cannot make object accessible: " + this);
     this.flag = flag;
   }

--Apple-Mail-5-696102214--





From MAILER-DAEMON Sat Oct 25 04:38:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ADJwj-0005hv-K1
	for mharc-classpath@gnu.org; Sat, 25 Oct 2003 04:38:53 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ADJwg-0005hh-N4
	for classpath@gnu.org; Sat, 25 Oct 2003 04:38:50 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ADJwA-0005XS-3H
	for classpath@gnu.org; Sat, 25 Oct 2003 04:38:49 -0400
Received: from [212.6.122.106] (helo=mail1.ewetel.de)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ADJw9-0005XP-Km
	for classpath@gnu.org; Sat, 25 Oct 2003 04:38:17 -0400
Received: from majestix.konqueror.de (dynadsl-080-228-80-183.ewetel.net
	[80.228.80.183])
	by mail1.ewetel.de (8.12.1/8.12.9) with ESMTP id h9P8cDmc012676;
	Sat, 25 Oct 2003 10:38:14 +0200 (MEST)
Received: from mkoch by majestix.konqueror.de with local (Exim 3.35 #1
	(Debian)) id 1ADJw5-0007hV-00; Sat, 25 Oct 2003 10:38:13 +0200
Date: Sat, 25 Oct 2003 10:38:13 +0200
From: Michael Koch <konqueror@gmx.de>
To: Mark Wielaard <mark@klomp.org>
Message-ID: <20031025083813.GA27689@mail.konqueror.de>
References: <3F993170.60907@kaffe.org> <1067005307.1257.167.camel@elsschot>
	<20031024.164620.77870723.arnaud.vandyck@ulg.ac.be>
	<20031024.172212.118992088.arnaud.vandyck@ulg.ac.be>
	<1067034738.1260.312.camel@elsschot>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1067034738.1260.312.camel@elsschot>
User-Agent: Mutt/1.3.28i
Sender: Michael Koch <mkoch@mail.konqueror.de>
X-CheckCompat: OK
Cc: classpath@gnu.org
Subject: Re: Code formatting (Was: [patch] Small fix for java.beans)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Oct 2003 08:38:51 -0000

On Sat, Oct 25, 2003 at 12:32:18AM +0200, Mark Wielaard wrote:
>         
>         Example:
>         	getToolkit().createWindow(this);
>         
>         NOT:
>         	getToolkit ().createWindow (this);
> 

>From what I understood what Tom said to me our style would be to write:

		getToolkit().create (this);

Empty brackets have no space before it, non-empty brackets have a
space before it.


Michael



From MAILER-DAEMON Sat Oct 25 08:15:24 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ADNK9-0002cW-V9
	for mharc-classpath@gnu.org; Sat, 25 Oct 2003 08:15:17 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ADNK4-0002Wk-2K
	for classpath@gnu.org; Sat, 25 Oct 2003 08:15:12 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ADNIU-0001zP-Lj
	for classpath@gnu.org; Sat, 25 Oct 2003 08:14:05 -0400
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ADNIT-0001y0-0V
	for classpath@gnu.org; Sat, 25 Oct 2003 08:13:33 -0400
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1ADNIB-0003fk-00; Sat, 25 Oct 2003 14:13:15 +0200
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-jSlRK5F/ucOM5lpjt2gw"
Message-Id: <1067084011.1256.341.camel@elsschot>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sat, 25 Oct 2003 14:13:31 +0200
Cc: Jean-Daniel.Fekete@inria.fr
Subject: GNU Classpath Workshop Agile2D presentation slides
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Oct 2003 12:15:16 -0000


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

Hi,

Sascha send me the slides of Jean Daniel his presentation during the GNU
Classpath Workshop. Since both Sascha and Jean Daniel are on vacation at
the moment I have temporarily put them online at:
http://www.klomp.org/mark/classpath/Agile2D.pdf
Read them if you want to know more about "Implementing Graphics2D over
OpenGL".

Cheers,

Mark

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

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

iD8DBQA/mmjrxVhZCJWr9QwRAoPwAJ9q/gDuYageYohwPd1Y9jqckKsvTwCeNAOB
m8sDbYkTa7xQ+ysUPosEL4I=
=0nY1
-----END PGP SIGNATURE-----

--=-jSlRK5F/ucOM5lpjt2gw--




From MAILER-DAEMON Sat Oct 25 13:44:24 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ADSSe-0008TE-4G
	for mharc-classpath@gnu.org; Sat, 25 Oct 2003 13:44:24 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ADSSc-0008Ro-8n
	for classpath@gnu.org; Sat, 25 Oct 2003 13:44:22 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ADSS6-0008II-60
	for classpath@gnu.org; Sat, 25 Oct 2003 13:44:21 -0400
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ADSS4-0008Fv-RB
	for classpath@gnu.org; Sat, 25 Oct 2003 13:43:48 -0400
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 1ADSRz-0004Wy-00
	for <classpath@gnu.org>; Sat, 25 Oct 2003 19:43:43 +0200
Received: from mpiat2304.ag2.mpi-sb.mpg.de
	([139.19.20.93] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1ADSRw-0004Ug-00; Sat, 25 Oct 2003 19:43:40 +0200
Message-ID: <3F9AB64B.1000002@kaffe.org>
Date: Sat, 25 Oct 2003 19:43:39 +0200
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: GNU Classpath <classpath@gnu.org>, Mark Wielaard <mark@klomp.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: 
Subject: VMInterface addition: Make native library names part of VMInterface
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Oct 2003 17:44:23 -0000

Hi all,

One of the things I keep stumbling over whenever I merge code from 
Classpath into Kaffe is the different native library names. Would it be 
possible to separate those out into their own VMInterface class and use 
references instead?

I'd prefer something like

System.loadLibrary(VMNativeLibraries.IO);

to what we have now,

System.loadLibrary("javaio");

where library names are hardcoded in each class that needs to use them. 
Beside preventing errors the compiler can't catch, like misspelling a 
library name, it would make the code slightly cleaner in my opinion, as 
it would replace a hardcoded constant with a single occurence. If 
everyone agrees, I'd be happy to provide a patch, and an implementation 
of the VMNativeLibraries class with the current library names.

cheers,
dalibor topic




From MAILER-DAEMON Sat Oct 25 19:32:31 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ADXtX-0004ZK-5p
	for mharc-classpath@gnu.org; Sat, 25 Oct 2003 19:32:31 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ADXtU-0004Xy-Os
	for classpath@gnu.org; Sat, 25 Oct 2003 19:32:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ADXsy-0004Id-RZ
	for classpath@gnu.org; Sat, 25 Oct 2003 19:32:27 -0400
Received: from [210.55.57.198] (helo=server.flinders.co.nz)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ADXsy-0004IZ-1h
	for classpath@gnu.org; Sat, 25 Oct 2003 19:31:56 -0400
Received: from [192.168.0.191] by server.flinders.co.nz (AppleMailServer
	10.2.3.0) id 90243 via TCP with SMTP; Sun, 26 Oct 2003 12:40:59 +1300
In-Reply-To: <3F9AB64B.1000002@kaffe.org>
References: <3F9AB64B.1000002@kaffe.org>
Mime-Version: 1.0 (Apple Message framework v606)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <4208EED4-0743-11D8-BB2F-003065F97F7C@mckinlay.net.nz>
Content-Transfer-Encoding: 7bit
From: Bryce McKinlay <bryce@mckinlay.net.nz>
Date: Sun, 26 Oct 2003 12:30:45 +1300
To: Dalibor Topic <robilad@kaffe.org>
X-Mailer: Apple Mail (2.606)
Cc: Mark Wielaard <mark@klomp.org>, GNU Classpath <classpath@gnu.org>
Subject: Re: VMInterface addition: Make native library names part of
	VMInterface
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Oct 2003 23:32:29 -0000

On Oct 26, 2003, at 6:43 AM, Dalibor Topic wrote:

> One of the things I keep stumbling over whenever I merge code from 
> Classpath into Kaffe is the different native library names. Would it 
> be possible to separate those out into their own VMInterface class and 
> use references instead?
>
> I'd prefer something like
>
> System.loadLibrary(VMNativeLibraries.IO);

How about having less native libraries? Does it really make sense to 
have, for example, separate native libs for java.net, java.io, and 
java.nio? I think these ones at least should be merged into one 
library, which is loaded unconditionally at startup. After all, 
virtually all desktop java apps use some kind of I/O.

This way we can get rid of the static initializer System.loadLibrary() 
calls all over the place, something that could be prone to bugs if 
someone forgets to include one somewhere. It would simplify the number 
of files needed to "deploy" classpath, make for less places that VM 
implementors need to customize, and probably improve performance as 
System.loadLibrary can be slowish.

The AWT libs, however, should probably remain separate due to the 
existence of multiple toolkits and such.

Regards

Bryce.





From MAILER-DAEMON Sun Oct 26 04:27:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ADhB0-0003Ff-Gq
	for mharc-classpath@gnu.org; Sun, 26 Oct 2003 04:27:10 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ADhAv-0003Ah-Hz
	for classpath@gnu.org; Sun, 26 Oct 2003 04:27:05 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ADhAP-0002uW-Ca
	for classpath@gnu.org; Sun, 26 Oct 2003 04:27:04 -0500
Received: from [62.4.16.100] (helo=kraid.nerim.net)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ADhAO-0002uH-Ml
	for classpath@gnu.org; Sun, 26 Oct 2003 04:26:32 -0500
Received: from kaffe.org (lavaux.net1.nerim.net [62.212.115.70])
	by kraid.nerim.net (Postfix) with ESMTP id 7D9FA40E2F
	for <classpath@gnu.org>; Sun, 26 Oct 2003 10:26:24 +0100 (CET)
Message-ID: <3F9B9474.3020404@kaffe.org>
Date: Sun, 26 Oct 2003 10:31:32 +0100
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
X-Enigmail-Version: 0.74.3.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/mixed; boundary="------------030500040702010104000804"
Subject: Modular InetAddress
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 26 Oct 2003 09:27:06 -0000

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

Hi,

here is a quick patch to be able to have a modular getHostByName and a 
getHostByAddr.
To change implementation the user has just to provide a property 
gnu.java.net.dns
containing the full class name of an implementation.

I hope that it's fine for you even though I introduce a slight overhead when
solving because I don't use static method anymore for getHostByName and
getHostByAddr.

Cheers,
Guilhem.

P.S.: This is against classpath 2003-10-26.

ChangeLog entry:

2003-10-26  Guilhem Lavaux <guilhem@kaffe.org>

	* java/net/InetAddress.java:
	(<clinit>) check the system property "gnu.java.net.dns" and change
	implementation accordingly
	(getHostName, getAllByName) use the implementation to solve
	name and address.

	* gnu/java/net/InetAddressImpl.java:
	new interface for modular DNS.

	* gnu/java/net/SysInetAddressImpl.java:
	DNS solver using native system call.

	* native/jni/java-net/java_net_InetAddress.c,
	native/jni/java-net/gnu_java_net_SysInetAddressImpl.c:
	moved the implementation of getHostByAddr and getHostByName
	from java.net.InetAddress to gnu.java.net.SysInetAddressImpl.




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

Index: gnu/java/net/Makefile.am
===================================================================
RCS file: /cvsroot/classpath/classpath/gnu/java/net/Makefile.am,v
retrieving revision 1.6
diff -u -r1.6 Makefile.am
--- gnu/java/net/Makefile.am	9 Oct 2003 16:04:22 -0000	1.6
+++ gnu/java/net/Makefile.am	26 Oct 2003 07:55:35 -0000
@@ -5,5 +5,7 @@
 EXTRA_DIST = \
 HeaderFieldHelper.java \
 PlainDatagramSocketImpl.java \
-PlainSocketImpl.java
+PlainSocketImpl.java \
+InetAddressImpl.java \
+SysInetAddressImpl.java
 
Index: java/net/InetAddress.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/net/InetAddress.java,v
retrieving revision 1.28
diff -u -r1.28 InetAddress.java
--- java/net/InetAddress.java	9 Oct 2003 15:59:56 -0000	1.28
+++ java/net/InetAddress.java	26 Oct 2003 07:55:37 -0000
@@ -39,6 +39,7 @@
 package java.net;
 
 import gnu.classpath.Configuration;
+import gnu.java.net.InetAddressImpl;
 import java.io.IOException;
 import java.io.ObjectInputStream;
 import java.io.ObjectOutputStream;
@@ -114,6 +115,12 @@
    */
   private static HashMap cache;
 
+  /**
+   * Real implementation for DNS resolution. This implementation is specified
+   * at run time.
+   */
+  private static InetAddressImpl impl;
+
   static
   {
     // load the shared library needed for name resolution
@@ -121,7 +128,26 @@
       {
         System.loadLibrary ("javanet");
       }
+
+    // Initialize DNS implementation
+    String dnsImpl = System.getProperty("gnu.java.net.dns");
     
+    if (dnsImpl == null)
+      {
+        impl = new gnu.java.net.SysInetAddressImpl();
+      }
+    else
+      {
+        try
+          {
+            impl = (InetAddressImpl) Class.forName(dnsImpl).newInstance();
+          }
+        catch (Exception _)
+          {
+            impl = new gnu.java.net.SysInetAddressImpl();
+          }
+      }
+   
     // Look for properties that override default caching behavior
     cache_size = Integer.getInteger ("gnu.java.net.dns_cache_size",
 				     DEFAULT_CACHE_SIZE).intValue();
@@ -420,7 +446,7 @@
 
     try
       {
-        hostName = getHostByAddr (addr);
+        hostName = impl.getHostByAddr (addr);
         return hostName;
       }
     catch (UnknownHostException e)
@@ -697,7 +723,7 @@
       return addresses;
 
     // Not in cache, try the lookup
-    byte[][] iplist = getHostByName (hostname);
+    byte[][] iplist = impl.getHostByName (hostname);
     
     if (iplist.length == 0)
       throw new UnknownHostException (hostname);
@@ -829,26 +855,6 @@
    * Returns the value of the special address INADDR_ANY
    */
   private static native byte[] lookupInaddrAny() throws UnknownHostException;
-
-  /**
-   * This method returns the hostname for a given IP address.  It will
-   * throw an UnknownHostException if the hostname cannot be determined.
-   *
-   * @param ip The IP address as a int array
-   * 
-   * @return The hostname
-   *
-   * @exception UnknownHostException If the reverse lookup fails
-   */
-  private static native String getHostByAddr (byte[] ip)
-    throws UnknownHostException;
-
-  /**
-   * Returns a list of all IP addresses for a given hostname.  Will throw
-   * an UnknownHostException if the hostname cannot be resolved.
-   */
-  private static native byte[][] getHostByName (String hostname)
-    throws UnknownHostException;
 
   /*
    * Needed for serialization.
Index: native/jni/java-net/Makefile.am
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/java-net/Makefile.am,v
retrieving revision 1.5
diff -u -r1.5 Makefile.am
--- native/jni/java-net/Makefile.am	19 Sep 2003 06:12:39 -0000	1.5
+++ native/jni/java-net/Makefile.am	26 Oct 2003 07:55:38 -0000
@@ -5,7 +5,8 @@
 			java_net_InetAddress.c \
 			java_net_NetworkInterface.c \
 			gnu_java_net_PlainDatagramSocketImpl.c \
-                        gnu_java_net_PlainSocketImpl.c
+                        gnu_java_net_PlainSocketImpl.c \
+                        gnu_java_net_SysInetAddressImpl.c
 
 libjavanet_la_LDFLAGS = -module -version-info @LIBVERSION@
 libjavanet_la_LIBADD = $(top_builddir)/native/jni/classpath/jcl.lo
Index: native/jni/java-net/java_net_InetAddress.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/java-net/java_net_InetAddress.c,v
retrieving revision 1.7
diff -u -r1.7 java_net_InetAddress.c
--- native/jni/java-net/java_net_InetAddress.c	9 Oct 2003 15:59:57 -0000	1.7
+++ native/jni/java-net/java_net_InetAddress.c	26 Oct 2003 07:55:38 -0000
@@ -128,152 +128,4 @@
   return(IParray);
 }
 
-/*************************************************************************/
-
-/*
- * Function to return the canonical hostname for a given IP address passed
- * in as a byte array
- */
-JNIEXPORT jstring JNICALL
-Java_java_net_InetAddress_getHostByAddr(JNIEnv *env, jclass class, jarray arr)
-{
-#ifndef WITHOUT_NETWORK
-  jbyte   *octets;
-  jsize   len;
-  int     addr;
-  char    hostname[255];
-  int     result;
-  jstring retval;
-
-  assert(env!=NULL);
-  assert((*env)!=NULL);
-
-  /* Grab the byte[] array with the IP out of the input data */
-  len = (*env)->GetArrayLength(env, arr);
-  if (len != 4)
-    {
-      JCL_ThrowException(env, UNKNOWN_HOST_EXCEPTION, "Bad IP Address");
-      return (jstring)NULL;
-    }
-
-  octets = (*env)->GetByteArrayElements(env, arr, 0);
-  if (!octets)
-    {
-      JCL_ThrowException(env, UNKNOWN_HOST_EXCEPTION, "Bad IP Address");
-      return (jstring)NULL;
-    }
-
-  /* Convert it to a 32 bit address */
-  TARGET_NATIVE_NETWORK_IPADDRESS_BYTES_TO_INT(octets[0],
-                                               octets[1],
-                                               octets[2],
-                                               octets[3],
-                                               addr
-                                              );
-
-  /* Release some memory */
-  (*env)->ReleaseByteArrayElements(env, arr, octets, 0);
-
-  /* Resolve the address and return the name */
-  TARGET_NATIVE_NETWORK_GET_HOSTNAME_BY_ADDRESS(addr,hostname,sizeof(hostname),result);
-  if (result != TARGET_NATIVE_OK)
-    {
-      JCL_ThrowException(env, UNKNOWN_HOST_EXCEPTION, "Bad IP address");
-      return (jstring)NULL;
-    }
-
-  retval = (*env)->NewStringUTF(env, hostname);
-
-  return(retval);
-#else /* not WITHOUT_NETWORK */
-  return (jstring)NULL;
-#endif /* not WITHOUT_NETWORK */
-}
-
-/*************************************************************************/
-
-JNIEXPORT jobjectArray JNICALL
-Java_java_net_InetAddress_getHostByName(JNIEnv *env, jclass class, jstring host)
-{
-#ifndef WITHOUT_NETWORK
-  const char     *hostname;
-/* FIXME: limitation of max. 64 addresses - how to make it more flexibale? */
-  int            addresses[64];
-  jsize          addresses_count;
-  int            result;
-  jclass         arr_class;
-  jobjectArray   addrs;
-  int            i;
-  jbyte          *octets;
-  jarray         ret_octets;
-
-  assert(env!=NULL);
-  assert((*env)!=NULL);
-
-  /* Grab the hostname string */
-  hostname = (*env)->GetStringUTFChars(env, host, 0);
-  if (!hostname)  
-    {
-      JCL_ThrowException(env, UNKNOWN_HOST_EXCEPTION, "Null hostname");
-      return (jobjectArray)NULL;
-    }
-
-  /* Look up the host */
-  TARGET_NATIVE_NETWORK_GET_HOSTNAME_BY_NAME(hostname,
-                                             addresses,
-                                             sizeof(addresses)/sizeof(addresses[0]),
-                                             addresses_count,
-                                             result
-                                            );
-  if (result != TARGET_NATIVE_OK)
-    {
-      JCL_ThrowException(env, UNKNOWN_HOST_EXCEPTION, (char*)hostname);
-      return (jobjectArray)NULL;
-    }
-  (*env)->ReleaseStringUTFChars(env, host, hostname);
-
-  arr_class = (*env)->FindClass(env,"[B");
-  if (!arr_class)
-    {
-      JCL_ThrowException(env, UNKNOWN_HOST_EXCEPTION, "Internal Error");
-      return (jobjectArray)NULL;
-    }
-
-  addrs = (*env)->NewObjectArray(env, addresses_count, arr_class, 0);
-  if (!addrs)
-    {
-      JCL_ThrowException(env, UNKNOWN_HOST_EXCEPTION, "Internal Error");
-      return (jobjectArray)NULL;
-    }
-
-  /* Now loop and copy in each address */
-  for (i = 0; i < addresses_count; i++)
-    {
-      ret_octets = (*env)->NewByteArray(env, 4);
-      if (!ret_octets)      
-      {
-        JCL_ThrowException(env, UNKNOWN_HOST_EXCEPTION, "Internal Error");
-        return (jobjectArray)NULL;
-      }
-
-      octets = (*env)->GetByteArrayElements(env, ret_octets, 0);
-
-      TARGET_NATIVE_NETWORK_INT_TO_IPADDRESS_BYTES(addresses[i],
-                                                   octets[0],
-                                                   octets[1],
-                                                   octets[2],
-                                                   octets[3]
-                                                  );
-
-      (*env)->ReleaseByteArrayElements(env, ret_octets, octets, 0);
-
-      (*env)->SetObjectArrayElement(env, addrs, i, ret_octets);
-    }
-
-  return(addrs);
-#else /* not WITHOUT_NETWORK */
-  return (jobjectArray)NULL;
-#endif /* not WITHOUT_NETWORK */
-}
-
 /* end of file */
--- /dev/null	1970-01-01 01:00:00.000000000 +0100
+++ native/jni/java-net/gnu_java_net_SysInetAddressImpl.c	2003-10-26 08:50:43.000000000 +0100
@@ -0,0 +1,206 @@
+/* SysInetAddressImpl.c - Native methods for SysInetAddressImpl class
+   Copyright (C) 1998, 2002, 2003 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+#include <jni.h>
+#include <jcl.h>
+
+#include "javanet.h"
+
+#include "target_native.h"
+#ifndef WITHOUT_NETWORK
+  #include "target_native_network.h"
+#endif /* WITHOUT_NETWORK */
+
+#include "java_net_InetAddress.h"
+
+/*************************************************************************/
+
+/*
+ * Function to return the canonical hostname for a given IP address passed
+ * in as a byte array
+ */
+JNIEXPORT jstring JNICALL
+Java_gnu_java_net_SysInetAddressImpl_getHostByAddr(JNIEnv *env, jclass class, jobject obj, jarray arr)
+{
+#ifndef WITHOUT_NETWORK
+  jbyte   *octets;
+  jsize   len;
+  int     addr;
+  char    hostname[255];
+  int     result;
+  jstring retval;
+
+  assert(env!=NULL);
+  assert((*env)!=NULL);
+
+  /* Grab the byte[] array with the IP out of the input data */
+  len = (*env)->GetArrayLength(env, arr);
+  if (len != 4)
+    {
+      JCL_ThrowException(env, UNKNOWN_HOST_EXCEPTION, "Bad IP Address");
+      return (jstring)NULL;
+    }
+
+  octets = (*env)->GetByteArrayElements(env, arr, 0);
+  if (!octets)
+    {
+      JCL_ThrowException(env, UNKNOWN_HOST_EXCEPTION, "Bad IP Address");
+      return (jstring)NULL;
+    }
+
+  /* Convert it to a 32 bit address */
+  TARGET_NATIVE_NETWORK_IPADDRESS_BYTES_TO_INT(octets[0],
+                                               octets[1],
+                                               octets[2],
+                                               octets[3],
+                                               addr
+                                              );
+
+  /* Release some memory */
+  (*env)->ReleaseByteArrayElements(env, arr, octets, 0);
+
+  /* Resolve the address and return the name */
+  TARGET_NATIVE_NETWORK_GET_HOSTNAME_BY_ADDRESS(addr,hostname,sizeof(hostname),result);
+  if (result != TARGET_NATIVE_OK)
+    {
+      JCL_ThrowException(env, UNKNOWN_HOST_EXCEPTION, "Bad IP address");
+      return (jstring)NULL;
+    }
+
+  retval = (*env)->NewStringUTF(env, hostname);
+
+  return(retval);
+#else /* not WITHOUT_NETWORK */
+  return (jstring)NULL;
+#endif /* not WITHOUT_NETWORK */
+}
+
+/*************************************************************************/
+
+JNIEXPORT jobjectArray JNICALL
+Java_gnu_java_net_SysInetAddressImpl_getHostByName(JNIEnv *env, jclass class, jobject obj, jstring host)
+{
+#ifndef WITHOUT_NETWORK
+  const char     *hostname;
+/* FIXME: limitation of max. 64 addresses - how to make it more flexibale? */
+  int            addresses[64];
+  jsize          addresses_count;
+  int            result;
+  jclass         arr_class;
+  jobjectArray   addrs;
+  int            i;
+  jbyte          *octets;
+  jarray         ret_octets;
+
+  assert(env!=NULL);
+  assert((*env)!=NULL);
+
+  /* Grab the hostname string */
+  hostname = (*env)->GetStringUTFChars(env, host, 0);
+  if (!hostname)  
+    {
+      JCL_ThrowException(env, UNKNOWN_HOST_EXCEPTION, "Null hostname");
+      return (jobjectArray)NULL;
+    }
+
+  /* Look up the host */
+  TARGET_NATIVE_NETWORK_GET_HOSTNAME_BY_NAME(hostname,
+                                             addresses,
+                                             sizeof(addresses)/sizeof(addresses[0]),
+                                             addresses_count,
+                                             result
+                                            );
+  if (result != TARGET_NATIVE_OK)
+    {
+      JCL_ThrowException(env, UNKNOWN_HOST_EXCEPTION, (char*)hostname);
+      return (jobjectArray)NULL;
+    }
+  (*env)->ReleaseStringUTFChars(env, host, hostname);
+
+  arr_class = (*env)->FindClass(env,"[B");
+  if (!arr_class)
+    {
+      JCL_ThrowException(env, UNKNOWN_HOST_EXCEPTION, "Internal Error");
+      return (jobjectArray)NULL;
+    }
+
+  addrs = (*env)->NewObjectArray(env, addresses_count, arr_class, 0);
+  if (!addrs)
+    {
+      JCL_ThrowException(env, UNKNOWN_HOST_EXCEPTION, "Internal Error");
+      return (jobjectArray)NULL;
+    }
+
+  /* Now loop and copy in each address */
+  for (i = 0; i < addresses_count; i++)
+    {
+      ret_octets = (*env)->NewByteArray(env, 4);
+      if (!ret_octets)      
+      {
+        JCL_ThrowException(env, UNKNOWN_HOST_EXCEPTION, "Internal Error");
+        return (jobjectArray)NULL;
+      }
+
+      octets = (*env)->GetByteArrayElements(env, ret_octets, 0);
+
+      TARGET_NATIVE_NETWORK_INT_TO_IPADDRESS_BYTES(addresses[i],
+                                                   octets[0],
+                                                   octets[1],
+                                                   octets[2],
+                                                   octets[3]
+                                                  );
+
+      (*env)->ReleaseByteArrayElements(env, ret_octets, octets, 0);
+
+      (*env)->SetObjectArrayElement(env, addrs, i, ret_octets);
+    }
+
+  return(addrs);
+#else /* not WITHOUT_NETWORK */
+  return (jobjectArray)NULL;
+#endif /* not WITHOUT_NETWORK */
+}
+
+/* end of file */
--- /dev/null	1970-01-01 01:00:00.000000000 +0100
+++ gnu/java/net/SysInetAddressImpl.java	2003-10-26 08:46:25.000000000 +0100
@@ -0,0 +1,50 @@
+/* SysInetAddressImpl.java -- Internet address implementation using
+   system solvers.
+   Copyright (C) 2003 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+package gnu.java.net;
+
+import java.net.UnknownHostException;
+
+/* This class is just a forward to native implementation. */
+public class SysInetAddressImpl implements InetAddressImpl
+{
+  public native String getHostByAddr (byte[] ip)
+    throws UnknownHostException;
+
+  public native byte[][] getHostByName (String hostname)
+    throws UnknownHostException;
+}
--- /dev/null	1970-01-01 01:00:00.000000000 +0100
+++ gnu/java/net/InetAddressImpl.java	2003-10-26 08:46:25.000000000 +0100
@@ -0,0 +1,68 @@
+/* InetAddressImpl.java -- Class to model an Internet address implementation
+   Copyright (C) 2003 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+package gnu.java.net;
+
+import java.net.UnknownHostException;
+
+/**
+ * This interface precises the shape of the implementation of an InetAddress.
+ * This interface can be used to build new way to resolve host names. This
+ * can be useful when system dns resolution is failing in a way or another.
+ *
+ * @author Guilhem Lavaux
+ */
+public interface InetAddressImpl {
+  /**
+   * This method returns the hostname for a given IP address.  It will
+   * throw an UnknownHostException if the hostname cannot be determined.
+   *
+   * @param ip The IP address as a int array
+   * 
+   * @return The hostname
+   *
+   * @exception UnknownHostException If the reverse lookup fails
+   */
+  public String getHostByAddr (byte[] ip)
+    throws UnknownHostException;
+
+  /**
+   * Returns a list of all IP addresses for a given hostname.  Will throw
+   * an UnknownHostException if the hostname cannot be resolved.
+   */
+  public byte[][] getHostByName (String hostname)
+    throws UnknownHostException;
+}

--------------030500040702010104000804--




From MAILER-DAEMON Sun Oct 26 06:55:42 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ADjTv-0001Bb-UD
	for mharc-classpath@gnu.org; Sun, 26 Oct 2003 06:54:51 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ADjTF-00015D-PB
	for classpath@gnu.org; Sun, 26 Oct 2003 06:54:09 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ADjS9-0008T2-1v
	for classpath@gnu.org; Sun, 26 Oct 2003 06:53:32 -0500
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ADjRy-0008Dm-Dq
	for classpath@gnu.org; Sun, 26 Oct 2003 06:52:50 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1ADjRe-0006FI-00
	for <classpath@gnu.org>; Sun, 26 Oct 2003 12:52:30 +0100
From: Mark Wielaard <mark@klomp.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <1066998813.25115.77.camel@tortoise.toronto.redhat.com>
References: <3F98155C.7070400@kaffe.org>
	<1066946396.1252.142.camel@elsschot>  <3F98E35A.2040401@kaffe.org>
	<1066998813.25115.77.camel@tortoise.toronto.redhat.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-cpG9H4Ls8zozbISEu/S+"
Message-Id: <1067169166.910.48.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sun, 26 Oct 2003 12:52:46 +0100
Subject: Re: CVS configure.in is broken
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 26 Oct 2003 11:54:49 -0000


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

Hi,

On Fri, 2003-10-24 at 14:33, Thomas Fitzsimmons wrote:
> On Fri, 2003-10-24 at 04:31, Dalibor Topic wrote:
> >=20
> > Anyway, thanks, I'll fetch them just for the macros. Any idea where the=
=20
> > macros hide in those packages?
>=20
> They're defined in gtk-2.0.m4, glib-2.0.m4 and libart.m4.
>=20
> > Stupid question no 2: why aren't those macros in the CVS archive? They=20
> > are not generated files, as far as I can tell. Installing gtk2, glib2=20
> > and libart just to be able to compile Classpath's java classes with=20
> > jikes seems like a bit of overkill ;)
>=20
> Yes, I agree.  We should probably just check the macro files into
> Classpath's top-level directory.  That's what we've done with libgcj.=20
> We should also update the HACKING file to recommend
>=20
> aclocal -I .
>=20
> That should solve the problem.

Dalibor, did that do the trick for you?

The files that libgcj uses can be found at
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/
But I see they don't have a copyright notice or distribution permission.

Cheers,

Mark

--=-cpG9H4Ls8zozbISEu/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.3 (GNU/Linux)

iD8DBQA/m7WOxVhZCJWr9QwRApG6AKCqUihQ5+uOj4PPqD6XAebgSd6MgwCePrHD
sWfwXUqiP9bYIlSvi07VQ9c=
=AdAX
-----END PGP SIGNATURE-----

--=-cpG9H4Ls8zozbISEu/S+--




From MAILER-DAEMON Sun Oct 26 07:06:35 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ADjfG-0007ir-U6
	for mharc-classpath@gnu.org; Sun, 26 Oct 2003 07:06:34 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ADjfD-0007hY-Nr
	for classpath@gnu.org; Sun, 26 Oct 2003 07:06:31 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ADjeh-0007OM-8h
	for classpath@gnu.org; Sun, 26 Oct 2003 07:06:30 -0500
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ADjef-0007MD-HQ
	for classpath@gnu.org; Sun, 26 Oct 2003 07:05:57 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1ADjeD-0006KD-00
	for <classpath@gnu.org>; Sun, 26 Oct 2003 13:05:29 +0100
From: Mark Wielaard <mark@klomp.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <3F9AB64B.1000002@kaffe.org>
References: <3F9AB64B.1000002@kaffe.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-EVaHdbVNa/c+FOWRjA1W"
Message-Id: <1067169945.910.62.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sun, 26 Oct 2003 13:05:45 +0100
Subject: Re: VMInterface addition: Make native library names part of
	VMInterface
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 26 Oct 2003 12:06:33 -0000


--=-EVaHdbVNa/c+FOWRjA1W
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

On Sat, 2003-10-25 at 19:43, Dalibor Topic wrote:
> One of the things I keep stumbling over whenever I merge code from=20
> Classpath into Kaffe is the different native library names. Would it be=20
> possible to separate those out into their own VMInterface class and use=20
> references instead?
>=20
> I'd prefer something like
>=20
> System.loadLibrary(VMNativeLibraries.IO);
>=20
> to what we have now,
>=20
> System.loadLibrary("javaio");

I suggest to move the System.loadLibrary("javaio") calls completely into
the VMInterface classes. We want to have a system where (at least for
lang, net, io and util) we have the "native" calls in the VMInterface
classes. We then provide a reference implementation that implements this
with JNI using our own libraries.

This will be a bit more work since we still have a few classes that do
use "native" methods which don't have a VMInterface counterpart, but it
is the cleanest solution in the long run.

One thing that isn't split yet is java.io File and FileDescriptor. But
Anthony Green already had a proposal for splitting that up on the libgcj
mailinglist (he calls the VMInterface classes, Platform classes, but the
idea is the same).

Cheers,

Mark

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

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

iD8DBQA/m7iZxVhZCJWr9QwRAkHYAKCiBVjDGnGRG+5g9UxY6U1c7IJd0QCeL6F5
YXtuZTA4ta8MIQm5iLEd7cM=
=MfJ8
-----END PGP SIGNATURE-----

--=-EVaHdbVNa/c+FOWRjA1W--




From MAILER-DAEMON Sun Oct 26 19:04:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ADusJ-0007MB-0u
	for mharc-classpath@gnu.org; Sun, 26 Oct 2003 19:04:47 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ADusG-0007Jg-3P
	for classpath@gnu.org; Sun, 26 Oct 2003 19:04:44 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ADurh-0006qM-SS
	for classpath@gnu.org; Sun, 26 Oct 2003 19:04:42 -0500
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ADurg-0006kO-Rz
	for classpath@gnu.org; Sun, 26 Oct 2003 19:04:09 -0500
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.10/8.12.10) with ESMTP id h9R03Y8q013793;
	Mon, 27 Oct 2003 10:03:34 +1000 (EST)
Message-Id: <200310270003.h9R03Y8q013793@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: "Patrik Reali" <reali@acm.org>
In-Reply-To: Message from "Patrik Reali" <reali@acm.org> of "Fri,
	24 Oct 2003 12:04:32 +0200." <003501c39a16$3a19e740$360a280a@elca.ch> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 27 Oct 2003 10:03:55 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.38
Cc: GNU Classpath <classpath@gnu.org>, Mark Wielaard <mark@klomp.org>,
	crawley@piglet.dstc.edu.au, Stephen Crawley <crawley@dstc.edu.au>
Subject: Re: CVS configure.in is broken 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Oct 2003 00:04:45 -0000


Patrik,

> The problem with --disable-gtk-peer is that it works for the compilation,
> but GTK must be installed anyway, otherwise aclocal fails.

I can't recall exactly, but I think I found it was OK to just ignore
the aclocal error messages.

-- Steve




From MAILER-DAEMON Sun Oct 26 19:46:39 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ADvWo-0007Fl-GE
	for mharc-classpath@gnu.org; Sun, 26 Oct 2003 19:46:38 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ADvWl-0007F5-9K
	for classpath@gnu.org; Sun, 26 Oct 2003 19:46:35 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ADvWD-00076a-5L
	for classpath@gnu.org; Sun, 26 Oct 2003 19:46:32 -0500
Received: from [210.55.57.198] (helo=server.flinders.co.nz)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ADvWC-00075n-7R
	for classpath@gnu.org; Sun, 26 Oct 2003 19:46:00 -0500
Received: from [192.168.0.191] by server.flinders.co.nz (AppleMailServer
	10.2.3.0) id 90591 via TCP with SMTP; Mon, 27 Oct 2003 12:04:49 +1300
In-Reply-To: <3F9B9474.3020404@kaffe.org>
References: <3F9B9474.3020404@kaffe.org>
Mime-Version: 1.0 (Apple Message framework v606)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <5DD7C850-0807-11D8-81F0-003065F97F7C@mckinlay.net.nz>
Content-Transfer-Encoding: 7bit
From: Bryce McKinlay <bryce@mckinlay.net.nz>
Date: Mon, 27 Oct 2003 11:54:33 +1300
To: Guilhem Lavaux <guilhem@kaffe.org>
X-Mailer: Apple Mail (2.606)
Cc: classpath@gnu.org
Subject: Re: Modular InetAddress
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Oct 2003 00:46:36 -0000

On Oct 26, 2003, at 10:31 PM, Guilhem Lavaux wrote:

> here is a quick patch to be able to have a modular getHostByName and a 
> getHostByAddr.
> To change implementation the user has just to provide a property 
> gnu.java.net.dns
> containing the full class name of an implementation.

Hi Guilhem,

I'm not convinced that we need this. I know it is a feature of kaffe, 
but who is using it? What sort of system has sockets but no native 
ability to look up a DNS address?

Regards

Bryce.





From MAILER-DAEMON Sun Oct 26 19:46:41 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ADvWp-0007GF-4b
	for mharc-classpath@gnu.org; Sun, 26 Oct 2003 19:46:39 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ADvWj-0007EQ-KK
	for classpath@gnu.org; Sun, 26 Oct 2003 19:46:33 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ADvWB-00076B-Sq
	for classpath@gnu.org; Sun, 26 Oct 2003 19:46:31 -0500
Received: from [210.55.57.198] (helo=server.flinders.co.nz)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ADvWA-00075n-HH
	for classpath@gnu.org; Sun, 26 Oct 2003 19:45:58 -0500
Received: from [192.168.0.191] by server.flinders.co.nz (AppleMailServer
	10.2.3.0) id 90609 via TCP with SMTP; Mon, 27 Oct 2003 12:26:11 +1300
In-Reply-To: <1067169945.910.62.camel@elsschot.wildebeest.org>
References: <3F9AB64B.1000002@kaffe.org>
	<1067169945.910.62.camel@elsschot.wildebeest.org>
Mime-Version: 1.0 (Apple Message framework v606)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <59DF2508-080A-11D8-81F0-003065F97F7C@mckinlay.net.nz>
Content-Transfer-Encoding: 7bit
From: Bryce McKinlay <bryce@mckinlay.net.nz>
Date: Mon, 27 Oct 2003 12:15:55 +1300
To: Mark Wielaard <mark@klomp.org>
X-Mailer: Apple Mail (2.606)
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: VMInterface addition: Make native library names part of
	VMInterface
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Oct 2003 00:46:36 -0000

On Oct 27, 2003, at 1:05 AM, Mark Wielaard wrote:

> Hi,
>
> On Sat, 2003-10-25 at 19:43, Dalibor Topic wrote:
>> One of the things I keep stumbling over whenever I merge code from
>> Classpath into Kaffe is the different native library names. Would it 
>> be
>> possible to separate those out into their own VMInterface class and 
>> use
>> references instead?
>>
>> I'd prefer something like
>>
>> System.loadLibrary(VMNativeLibraries.IO);
>>
>> to what we have now,
>>
>> System.loadLibrary("javaio");
>
> I suggest to move the System.loadLibrary("javaio") calls completely 
> into
> the VMInterface classes. We want to have a system where (at least for
> lang, net, io and util) we have the "native" calls in the VMInterface
> classes. We then provide a reference implementation that implements 
> this
> with JNI using our own libraries.

I don't think that is a good idea. IMO the VMInterface should define 
the interface to a particular VM, not the entire native interface for 
all classes. Things like java.net and java.io will typically have the 
same native interface across different VMs.

Regards

Bryce.





From MAILER-DAEMON Sun Oct 26 20:01:59 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ADvlf-0001of-2q
	for mharc-classpath@gnu.org; Sun, 26 Oct 2003 20:01:59 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ADvlc-0001nY-JH
	for classpath@gnu.org; Sun, 26 Oct 2003 20:01:56 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ADvl4-0001Pm-QQ
	for classpath@gnu.org; Sun, 26 Oct 2003 20:01:53 -0500
Received: from [62.108.28.95] (helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1ADvl2-0001P1-OL
	for classpath@gnu.org; Sun, 26 Oct 2003 20:01:20 -0500
Received: from elsschot.wildebeest.org ([192.168.1.26] ident=mark)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 1ADvkk-0007UA-00
	for <classpath@gnu.org>; Mon, 27 Oct 2003 02:01:02 +0100
From: Mark Wielaard <mark@klomp.org>
To: GNU Classpath <classpath@gnu.org>
In-Reply-To: <59DF2508-080A-11D8-81F0-003065F97F7C@mckinlay.net.nz>
References: <3F9AB64B.1000002@kaffe.org>
	<1067169945.910.62.camel@elsschot.wildebeest.org>
	<59DF2508-080A-11D8-81F0-003065F97F7C@mckinlay.net.nz>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-NOA8k2Y5yuCJV9LYGk0h"
Message-Id: <1067216478.915.95.camel@elsschot.wildebeest.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Mon, 27 Oct 2003 02:01:19 +0100
Subject: Re: VMInterface addition: Make native library names part of
	VMInterface
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Oct 2003 01:01:57 -0000


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

Hi,

On Mon, 2003-10-27 at 13:15, Bryce McKinlay wrote:
> On Oct 27, 2003, at 1:05 AM, Mark Wielaard wrote:
> > I suggest to move the System.loadLibrary("javaio") calls completely=20
> > into the VMInterface classes. We want to have a system where (at least
> > for lang, net, io and util) we have the "native" calls in the
> > VMInterface classes. We then provide a reference implementation that
> > implements this with JNI using our own libraries.
>=20
> I don't think that is a good idea. IMO the VMInterface should define=20
> the interface to a particular VM, not the entire native interface for=20
> all classes. Things like java.net and java.io will typically have the=20
> same native interface across different VMs.

Could you explain that a bit more? I don't understand why you think
having the loadLibrary() call in the same (VMInterface) class as the
native methods is not a good idea. Or do you mean that having
loadLibrary() calls at all is a bad idea because VMs should just link
against our default jni libraries (at least for lang/net/io/util)?

The VMInterface classes define all methods that a particular VM might
want to/has to implement to get a complete working core libraries
implementation. We try to provide default implementations whenever
possible in the VMInterface classes. A particular VM/Classpath system is
then free to override/reimplement those VMInterface classes to work with
their internals and system libraries, or to get more optimal performance
then the generic implementations can provide.

For VMs that actually use the tradition JNI based native methods we
provide implementations that work with the native methods in those
VMInterface classes. But VMs that don't use JNI or don't even have a
concept of native methods can provide their own VMInterface classes.

Cheers,

Mark

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

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

iD8DBQA/nG5exVhZCJWr9QwRApqLAKCroBfSNBVYK8yp+BmpuVxb56w+CgCeMeK1
GQNWjWUeoTiSshZNr39rVqE=
=RGew
-----END PGP SIGNATURE-----

--=-NOA8k2Y5yuCJV9LYGk0h--




From MAILER-DAEMON Sun Oct 26 20:58:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1ADwdv-0008SN-0z
	for mharc-classpath@gnu.org; Sun, 26 Oct 2003 20:58:03 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1ADwds-0008SF-Th
	for classpath@gnu.org; Sun, 26 Oct 2003 20:58:00 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1ADwdL-0008BK-7m
	for classpath@gnu.org; Sun, 26 Oct 2003 20:57:59 -0500
Received: from [210.55.57.198] (helo=server.flinders.co.nz)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1ADwdK-00089E-EB
	for classpath@gnu.org; Sun, 26 Oct 2003 20:57:26 -0500
Received: from [192.168.0.191] by server.flinders.co.nz (AppleMailServer
	10.2.3.0) id 90664 via TCP with SMTP; Mon, 27 Oct 2003 15:07:42 +1300
In-Reply-To: <1067216478.915.95.camel@elsschot.wildebeest.org>
References: <3F9AB64B.1000002@kaffe.org>
	<1067169945.910.62.camel@elsschot.wildebeest.org>
	<59DF2508-080A-11D8-81F0-003065F97F7C@mckinlay.net.nz>
	<1067216478.915.95.camel@elsschot.wildebeest.org>
Mime-Version: 1.0 (Apple Message framework v606)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <E9D9AA7C-0820-11D8-81F0-003065F97F7C@mckinlay.net.nz>
Content-Transfer-Encoding: 7bit
From: Bryce McKinlay <bryce@mckinlay.net.nz>
Date: Mon, 27 Oct 2003 14:57:26 +1300
To: Mark Wielaard <mark@klomp.org>
X-Mailer: Apple Mail (2.606)
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: VMInterface addition: Make native library names part of
	VMInterface
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Oct 2003 01:58:01 -0000

On Oct 27, 2003, at 2:01 PM, Mark Wielaard wrote:

> On Mon, 2003-10-27 at 13:15, Bryce McKinlay wrote:
>> On Oct 27, 2003, at 1:05 AM, Mark Wielaard wrote:
>>> I suggest to move the System.loadLibrary("javaio") calls completely
>>> into the VMInterface classes. We want to have a system where (at 
>>> least
>>> for lang, net, io and util) we have the "native" calls in the
>>> VMInterface classes. We then provide a reference implementation that
>>> implements this with JNI using our own libraries.
>>
>> I don't think that is a good idea. IMO the VMInterface should define
>> the interface to a particular VM, not the entire native interface for
>> all classes. Things like java.net and java.io will typically have the
>> same native interface across different VMs.
>
> Could you explain that a bit more? I don't understand why you think
> having the loadLibrary() call in the same (VMInterface) class as the
> native methods is not a good idea. Or do you mean that having
> loadLibrary() calls at all is a bad idea because VMs should just link
> against our default jni libraries (at least for lang/net/io/util)?

Sorry, I think I misunderstood your message. I thought you were 
suggesting moving all the native methods (eg for IO classes) to 
separate VM* classes.

What I was suggesting in my previous message was consolidating the 
javaio, javanet, javanio native libraries (and perhaps others) into a 
single .so. In that case, we could just load this library once during 
initialization, with just one System.loadLibrary() call.

> The VMInterface classes define all methods that a particular VM might
> want to/has to implement to get a complete working core libraries
> implementation.

Right. I think there is a distinction, however, between what the VM 
must implement to operate with classpath - ie core VM classes like 
Class, Object, Throwable, Thread; and portable classes which happen to 
have native methods, such as java.io.File and java.net.PlainSocketImpl. 
The later are just normal classes with native methods, the 
implementations of which are typically be portable across different 
VMs. So, they a system/platform interface rather than the VM interface. 
To put it another way, just because a method is native doesn't mean it 
interfaces with the VM.

Regards,

Bryce





From MAILER-DAEMON Mon Oct 27 04:23:49 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AE3bI-0008Af-PX
	for mharc-classpath@gnu.org; Mon, 27 Oct 2003 04:23:48 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AE3bG-000899-Eo
	for classpath@gnu.org; Mon, 27 Oct 2003 04:23:46 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AE3ak-0007nG-DU
	for classpath@gnu.org; Mon, 27 Oct 2003 04:23:45 -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.24) id 1AE3aj-0007ec-T0
	for classpath@gnu.org; Mon, 27 Oct 2003 04:23:13 -0500
Received: from [62.4.17.101] (helo=mallaury.noc.nerim.net)
	by mx20.gnu.org with esmtp (Exim 4.24) id 1AE3Yp-0001Mk-J1
	for classpath@gnu.org; Mon, 27 Oct 2003 04:21:15 -0500
Received: from kaffe.org (lavaux.net1.nerim.net [62.212.115.70])
	by mallaury.noc.nerim.net (Postfix) with ESMTP
	id 73F8462D52; Mon, 27 Oct 2003 10:20:36 +0100 (CET)
Message-ID: <3F9CE497.9020407@kaffe.org>
Date: Mon, 27 Oct 2003 10:25:43 +0100
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Bryce McKinlay <bryce@mckinlay.net.nz>
References: <3F9B9474.3020404@kaffe.org>
	<5DD7C850-0807-11D8-81F0-003065F97F7C@mckinlay.net.nz>
In-Reply-To: <5DD7C850-0807-11D8-81F0-003065F97F7C@mckinlay.net.nz>
X-Enigmail-Version: 0.74.3.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: classpath@gnu.org
Subject: Re: Modular InetAddress
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Oct 2003 09:23:47 -0000

Bryce McKinlay wrote:

> On Oct 26, 2003, at 10:31 PM, Guilhem Lavaux wrote:
>
>> here is a quick patch to be able to have a modular getHostByName and 
>> a getHostByAddr.
>> To change implementation the user has just to provide a property 
>> gnu.java.net.dns
>> containing the full class name of an implementation.
>
>
> Hi Guilhem,
>
> I'm not convinced that we need this. I know it is a feature of kaffe, 
> but who is using it? What sort of system has sockets but no native 
> ability to look up a DNS address?

Hi Bryce,

The problem may not be the inability to look up a DNS address but some 
other limitations:
* non reentrancy of the native implementation (it may occur on old 
systems (libc5) and we want to support as much system as possible)
* blocking solver (some JVM like kaffe may not use pthreads but some 
other compatible systems which is not compatible with
native implementation of "gethostbyname")
* non fully compliance concerning the decoding of the incoming answers 
from DNS.

It is clear that implementing this structure has also drawbacks:
* slightly heavier and slower than directly calling native methods for 
systems which native calls are OK, (pure virtual methods)
* we call a package which is able to return a lot of informations we 
don't use

But the big advantage is that you have a replacement for 
buggy/non-friendly systems.

Regards,
Guilhem.




From MAILER-DAEMON Mon Oct 27 11:39:23 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AEAOo-0006qP-OI
	for mharc-classpath@gnu.org; Mon, 27 Oct 2003 11:39:22 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AEAOj-0006nt-EC
	for classpath@gnu.org; Mon, 27 Oct 2003 11:39:17 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AEAO8-0006PA-4s
	for classpath@gnu.org; Mon, 27 Oct 2003 11:39:11 -0500
Received: from [209.92.1.32] (helo=newmx2.fast.net)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1AEALV-00052T-M1
	for classpath@gnu.org; Mon, 27 Oct 2003 11:35:57 -0500
Received: (qmail 16830 invoked from network); 27 Oct 2003 16:35:55 -0000
Received: from unknown (HELO corp.fast.net) ([209.152.221.64])
	(envelope-sender <stuart.ballard@corp.fast.net>)
	by newmx2.fast.net (qmail-ldap-1.03) with SMTP
	for <classpath@gnu.org>; 27 Oct 2003 16:35:55 -0000
Message-ID: <3F9D4969.7050106@corp.fast.net>
Date: Mon, 27 Oct 2003 11:35:53 -0500
From: Stuart Ballard <stuart.ballard@corp.fast.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.4) Gecko/20031010 Debian/1.4-6
X-Accept-Language: en
MIME-Version: 1.0
To: classpath <classpath@gnu.org>
References: <NFBBKALFDCPFIDBNKAPCEEENDIAA.dholmes@dltech.com.au>
	<3F8E9012.9060706@byu.net> <3F969B4A.3030701@corp.fast.net>
In-Reply-To: <3F969B4A.3030701@corp.fast.net>
Content-Type: multipart/mixed; boundary="------------040004040804040600020008"
Cc: 
Subject: Re: [really patch] Re: HashMap putAll/putAllInternal bug
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Oct 2003 16:39:20 -0000

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

Stuart Ballard wrote:
> If nobody speaks up, may I suggest that the consensus is "reluctantly 
> apply it" - and in that case, could someone do so?

Nobody spoke up, so could someone apply the patch (attached)?

Thanks,
Stuart.

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

--------------040004040804040600020008
Content-Type: text/plain;
 name="classpath.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="classpath.patch"

Index: HashMap.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/HashMap.java,v
retrieving revision 1.24
diff -u -r1.24 HashMap.java
--- HashMap.java	1 Aug 2003 03:31:32 -0000	1.24
+++ HashMap.java	25 Sep 2003 18:16:52 -0000
@@ -381,8 +381,7 @@
   public void putAll(Map m)
   {
     Iterator itr = m.entrySet().iterator();
-    int msize = m.size();
-    while (msize-- > 0)
+    while (itr.hasNext())
       {
         Map.Entry e = (Map.Entry) itr.next();
         // Optimize in case the Entry is one of our own.
@@ -709,10 +708,10 @@
   void putAllInternal(Map m)
   {
     Iterator itr = m.entrySet().iterator();
-    int msize = m.size();
-    size = msize;
-    while (msize-- > 0)
+    size = 0;
+    while (itr.hasNext())
       {
+        size++;
 	Map.Entry e = (Map.Entry) itr.next();
 	Object key = e.getKey();
 	int idx = hash(key);
Index: Hashtable.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/Hashtable.java,v
retrieving revision 1.28
diff -u -r1.28 Hashtable.java
--- Hashtable.java	7 May 2002 05:13:05 -0000	1.28
+++ Hashtable.java	25 Sep 2003 18:16:52 -0000
@@ -510,7 +510,7 @@
   {
     Iterator itr = m.entrySet().iterator();
 
-    for (int msize = m.size(); msize > 0; msize--)
+    while (itr.hasNext())
       {
         Map.Entry e = (Map.Entry) itr.next();
         // Optimize in case the Entry is one of our own.
@@ -859,11 +859,11 @@
   void putAllInternal(Map m)
   {
     Iterator itr = m.entrySet().iterator();
-    int msize = m.size();
-    this.size = msize;
+    size = 0;
 
-    for (; msize > 0; msize--)
+    while (itr.hasNext())
       {
+        size++;
 	Map.Entry e = (Map.Entry) itr.next();
 	Object key = e.getKey();
 	int idx = hash(key);

--------------040004040804040600020008--




From MAILER-DAEMON Mon Oct 27 17:19:13 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AEFhg-0007IY-Co
	for mharc-classpath@gnu.org; Mon, 27 Oct 2003 17:19:12 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AEFhd-0007HZ-Bu
	for classpath@gnu.org; Mon, 27 Oct 2003 17:19:09 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AEFh6-00076e-ID
	for classpath@gnu.org; Mon, 27 Oct 2003 17:19:07 -0500
Received: from [212.101.4.135] (helo=mail01.solnet.ch)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AEFh5-00076b-Vo
	for classpath@gnu.org; Mon, 27 Oct 2003 17:18:36 -0500
Received: from localhost (localhost [127.0.0.1])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 2D6CB622CB; Mon, 27 Oct 2003 22:18:34 +0000 (GMT)
Received: from localhost ([127.0.0.1])
	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 78853-07; Mon, 27 Oct 2003 22:18:32 +0000 (GMT)
Received: from reali.dnsalias.net (adsl-212-41-91-8.solnet.ch [212.41.91.8])
	by mail01.solnet.ch (Postfix) with ESMTP
	id 4DDFC6225C; Mon, 27 Oct 2003 22:18:28 +0000 (GMT)
Received: from pcprr
	(192-168-001-003-at-home-your-network.privateiprange.solnet.ch
	[192.168.1.3]) by reali.dnsalias.net (Postfix) with SMTP
	id 2B57848FA7; Mon, 27 Oct 2003 23:09:19 +0100 (CET)
Message-ID: <007e01c39cd8$5a7916e0$0301a8c0@pcprr>
From: "Patrik Reali" <reali@acm.org>
To: "Stephen Crawley" <crawley@dstc.edu.au>
References: <200310270003.h9R03Y8q013793@piglet.dstc.edu.au>
Date: Mon, 27 Oct 2003 23:19:13 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Virus-Scanned: by SolNet
Cc: GNU Classpath <classpath@gnu.org>, Mark Wielaard <mark@klomp.org>,
	crawley@piglet.dstc.edu.au, Stephen Crawley <crawley@dstc.edu.au>
Subject: Re: CVS configure.in is broken 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Oct 2003 22:19:10 -0000

Hi Steve,

I just tried with a fresh classpath from CVS, but it doesn't work.
autoheader fails to create "include/config.h.in" and the rest follows. You
can see the results below.

I tried again after removing lines 128 to 141 from configure.in, and had no
problems at all.

-Patrik



reali@reali:~/projects/classpath/tmp/classpath> aclocal
aclocal: configure.in: 134: macro `AM_PATH_GTK_2_0' not found in library
aclocal: configure.in: 137: macro `AM_PATH_GLIB_2_0' not found in library
aclocal: configure.in: 140: macro `AM_PATH_LIBART' not found in library

reali@reali:~/projects/classpath/tmp/classpath> autoheader
autoheader: error: AC_CONFIG_HEADERS not found in configure.in

reali@reali:~/projects/classpath/tmp/classpath> automake
configure.in:17: no proper implementation of AM_INIT_AUTOMAKE was found,
configure.in:17: probably because aclocal.m4 is missing...
configure.in:17: You should run aclocal to create this file, then
configure.in:17: run automake again.
doc/api/Makefile.am:1: CREATE_API_DOCS does not appear in AM_CONDITIONAL

configure.in:19: required file `include/config.h.in' not found
lib/Makefile.am:33: USER_SPECIFIED_KJC does not appear in AM_CONDITIONAL
lib/Makefile.am:44: FOUND_JIKES does not appear in AM_CONDITIONAL
lib/Makefile.am:47: FOUND_GCJ does not appear in AM_CONDITIONAL
lib/Makefile.am:50: FOUND_KJC does not appear in AM_CONDITIONAL
lib/Makefile.am:76: HAVE_ZIP does not appear in AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/lang-compile.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/lang-compile.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/lang-compile.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/lang-compile.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/lang-compile.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/lang-compile.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/lang-compile.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/share/automake-1.6/am/lang-compile.am: AMDEP does not appear in
AM_CONDITIONAL

reali@reali:~/projects/classpath/tmp/classpath> autoconf
configure.in:17: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.in:19: error: possibly undefined macro: AM_CONFIG_HEADER
configure.in:65: error: possibly undefined macro: AM_CONDITIONAL
configure.in:88: error: possibly undefined macro: AC_DISABLE_STATIC
configure.in:89: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.in:140: error: possibly undefined macro: AM_PATH_LIBART
configure.in:178: error: possibly undefined macro: AM_MAINTAINER_MODE

reali@reali:~/projects/classpath/tmp/classpath>
./configure --with-jikes --disable-gtk-peer --disable-load-library
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
./configure: line 1334: AM_INIT_AUTOMAKE: command not found
./configure: line 1336: syntax error near unexpected token
`include/config.h'
./configure: line 1336: `AM_CONFIG_HEADER(include/config.h)'


----- Original Message -----
From: "Stephen Crawley" <crawley@dstc.edu.au>
To: "Patrik Reali" <reali@acm.org>
Cc: "Mark Wielaard" <mark@klomp.org>; "Stephen Crawley"
<crawley@dstc.edu.au>; <crawley@piglet.dstc.edu.au>; "GNU Classpath"
<classpath@gnu.org>; <robilad@kaffe.org>; <crawley@piglet.dstc.edu.au>
Sent: Monday, October 27, 2003 1:03 AM
Subject: Re: CVS configure.in is broken


>
> Patrik,
>
> > The problem with --disable-gtk-peer is that it works for the
compilation,
> > but GTK must be installed anyway, otherwise aclocal fails.
>
> I can't recall exactly, but I think I found it was OK to just ignore
> the aclocal error messages.
>
> -- Steve
>
>
>




From MAILER-DAEMON Mon Oct 27 17:27:41 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AEFpt-0000fP-Es
	for mharc-classpath@gnu.org; Mon, 27 Oct 2003 17:27:41 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AEFpr-0000f1-M3
	for classpath@gnu.org; Mon, 27 Oct 2003 17:27:39 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AEFpL-0000bv-Rb
	for classpath@gnu.org; Mon, 27 Oct 2003 17:27:38 -0500
Received: from [207.219.125.105] (helo=cachet)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AEFpL-0000bj-F0
	for classpath@gnu.org; Mon, 27 Oct 2003 17:27:07 -0500
Received: from tromey by cachet with local (Exim 3.35 #1 (Debian))
	id 1AEGet-0000fq-00; Mon, 27 Oct 2003 16:20:23 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16285.43063.411880.776782@creche.redhat.com>
Date: Mon, 27 Oct 2003 16:20:23 -0700
To: Michael Koch <konqueror@gmx.de>
In-Reply-To: <20031025083813.GA27689@mail.konqueror.de>
References: <3F993170.60907@kaffe.org> <1067005307.1257.167.camel@elsschot>
	<20031024.164620.77870723.arnaud.vandyck@ulg.ac.be>
	<20031024.172212.118992088.arnaud.vandyck@ulg.ac.be>
	<1067034738.1260.312.camel@elsschot>
	<20031025083813.GA27689@mail.konqueror.de>
X-Mailer: VM 7.07 under Emacs 21.2.1
From: Tom Tromey <tromey@redhat.com>
X-Attribution: Tom
X-Zippy: Yow!  I forgot my PAIL!!
Cc: Mark Wielaard <mark@klomp.org>, classpath@gnu.org
Subject: Re: Code formatting (Was: [patch] Small fix for java.beans)
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: tromey@redhat.com
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Oct 2003 22:27:40 -0000

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

Michael> From what I understood what Tom said to me our style would be to write:
Michael> 		getToolkit().create (this);
Michael> Empty brackets have no space before it, non-empty brackets have a
Michael> space before it.

Oops, I didn't mean to give that impression.
My understanding was that, in theory, for method calls we never had a
space before the parens.  (In practice we often do, we're kind of
random about it.)

Tom



From MAILER-DAEMON Mon Oct 27 20:19:43 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AEIWJ-0007KG-96
	for mharc-classpath@gnu.org; Mon, 27 Oct 2003 20:19:39 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AEIW3-0006uR-N2
	for classpath@gnu.org; Mon, 27 Oct 2003 20:19:23 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AEIVF-00065N-8l
	for classpath@gnu.org; Mon, 27 Oct 2003 20:19:04 -0500
Received: from [130.102.176.1] (helo=piglet.dstc.edu.au)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AEIV8-00064k-GY
	for classpath@gnu.org; Mon, 27 Oct 2003 20:18:26 -0500
Received: from dstc.edu.au (credence.dstc.edu.au [130.102.177.137])
	by piglet.dstc.edu.au (8.12.10/8.12.10) with ESMTP id h9S1Hr8q013211;
	Tue, 28 Oct 2003 11:17:53 +1000 (EST)
Message-Id: <200310280117.h9S1Hr8q013211@piglet.dstc.edu.au>
X-Mailer: exmh version 2.6.1 02/18/2003 with nmh-1.0.4
To: "Patrik Reali" <reali@acm.org>
In-Reply-To: Message from "Patrik Reali" <reali@acm.org> of "Mon,
	27 Oct 2003 23:19:13 +0100." <007e01c39cd8$5a7916e0$0301a8c0@pcprr> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 28 Oct 2003 11:18:14 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Scanned-By: MIMEDefang 2.38
Cc: GNU Classpath <classpath@gnu.org>, Stephen Crawley <crawley@dstc.edu.au>,
	crawley@piglet.dstc.edu.au, Mark Wielaard <mark@klomp.org>
Subject: Re: CVS configure.in is broken 
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Oct 2003 01:19:37 -0000


Hi Patrik,

> I just tried with a fresh classpath from CVS, but it doesn't work.
> autoheader fails to create "include/config.h.in" and the rest follows. You
> can see the results below.

OK, my memory was incorrect.  This evening, I'll try and work out how it 
used to work for me.  (Fortunately, I still have the stuff on my old PC.)

-- Steve




From MAILER-DAEMON Wed Oct 29 13:25:23 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AEv0U-0003UW-NL
	for mharc-classpath@gnu.org; Wed, 29 Oct 2003 13:25:22 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AEv0S-0003Tt-4S
	for classpath@gnu.org; Wed, 29 Oct 2003 13:25:20 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AEuzu-0003Il-Uk
	for classpath@gnu.org; Wed, 29 Oct 2003 13:25:18 -0500
Received: from [62.4.16.103] (helo=kraid.nerim.net)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AEuzu-0003HN-0U
	for classpath@gnu.org; Wed, 29 Oct 2003 13:24:46 -0500
Received: from kaffe.org (lavaux.net1.nerim.net [62.212.115.70])
	by kraid.nerim.net (Postfix) with ESMTP id 4F22D40E61
	for <classpath@gnu.org>; Wed, 29 Oct 2003 19:24:38 +0100 (CET)
Message-ID: <3FA0071C.10502@kaffe.org>
Date: Wed, 29 Oct 2003 19:29:48 +0100
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
X-Enigmail-Version: 0.74.3.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/mixed; boundary="------------010901020901010900080602"
Subject: URL's fix
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Oct 2003 18:25:20 -0000

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

Hi all !


I noticed some misbehaviour of classpath's URL compared to 
Sun's JDK while merging these classes in kaffe's library. 
Kaffe's regression test "URLTest" was failing nearly 
completely. BTW, there was an error when url of the type 
"http://anonymous:anonymous@host/" was entered: URL reports 
to detect "anonymous" as the host. This patch fixes all 
these things.

There is only one drawback: to be able to report errors in 
parseUrl() (for jar protocol especially) I was obliged to 
introduce a new error class inheriting from java.lang.Error. 
This is the only solution to be able to report errors.

Here is the corresponding ChangeLog entry:

2003-10-29	Guilhem Lavaux <guilhem@kaffe.org>

	* gnu/java/net/URLParseError.java: New error class.

	* gnu/java/net/protocol/jar/Handler.java:
	(parseUrl) Fixed error reporting. Fixed URL access
	using relative path.

	* java/net/URL.java:
	(URL) Reports Error generated using URLParseError as
	MalformedURLException.
	
	* java/net/URLStreamHandler:
	(parseUrl) Fixed URL parsing ('@' should be checked
	to distinguish port from userinfo). Fixed relative
	URL handling.

Cheers,
Guilhem.

P.S.: I'm sorry Mark. You have a new patch in the input 
queue. ;-)

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

Index: gnu/java/net/protocol/jar/Handler.java
===================================================================
RCS file: /cvsroot/classpath/classpath/gnu/java/net/protocol/jar/Handler.java,v
retrieving revision 1.6
diff -u -r1.6 Handler.java
--- gnu/java/net/protocol/jar/Handler.java	20 Oct 2003 13:57:39 -0000	1.6
+++ gnu/java/net/protocol/jar/Handler.java	29 Oct 2003 18:03:13 -0000
@@ -42,6 +42,8 @@
 import java.net.URL;
 import java.net.URLConnection;
 import java.net.URLStreamHandler;
+import java.net.MalformedURLException;
+import gnu.java.net.URLParseError;
 
 /**
  * @author Kresten Krab Thorup <krab@gnu.org>
@@ -88,12 +90,14 @@
         && file != "")
       { //has context url
 	url_string = url_string.substring (start, end);
-        if (url_string.startsWith("/"))
+        if (url_string.startsWith ("/"))
           { //url string is an absolute path
             int idx = file.lastIndexOf ("!/");
-            if (idx == -1) //context path is weird
-                file = file + "!" + url_string; 
-            else
+	    if (idx < 0)
+	      throw new URLParseError ("no !/ in spec");
+            //if (idx == -1) //context path is weird
+            //    file = file + "!" + url_string; 
+            //else
                 file = file.substring (0, idx + 1) + url_string;
           }
         else
@@ -108,7 +112,7 @@
               // according to Java API Documentation, here is a little different 
               // with URLStreamHandler.parseURL
               // but JDK seems doesn't handle it well
-              file = file + "/" + url_string;
+              file = file.substring(0, idx + 1) + url_string;
           }
         
         setURL (url, "jar", url.getHost(), url.getPort(), file, null);
@@ -125,9 +129,23 @@
     
     // Skip remains of protocol
     url_string = url_string.substring (start, end);
+
+    int jar_stop;
+    if ((jar_stop = url_string.indexOf ("!/")) < 0)
+      throw new URLParseError ("no !/ in spec");
+
+    try
+      {
+	new URL (url_string.substring (0, jar_stop));
+      }
+    catch (MalformedURLException e)
+      {
+	throw new URLParseError("invalid inner URL: " + e.getMessage());
+      }
+    
     
     if (!url.getProtocol().equals ("jar") )
-      return;
+      throw new URLParseError("unexpected protocol " + url.getProtocol());
         
     setURL (url, "jar", url.getHost(), url.getPort(), url_string, null);
   }
Index: java/net/URL.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/net/URL.java,v
retrieving revision 1.21
diff -u -r1.21 URL.java
--- java/net/URL.java	2 Oct 2003 11:57:56 -0000	1.21
+++ java/net/URL.java	29 Oct 2003 18:03:20 -0000
@@ -45,6 +45,7 @@
 import java.io.ObjectOutputStream;
 import java.util.HashMap;
 import java.util.StringTokenizer;
+import gnu.java.net.URLParseError;
 
 /*
  * Written using on-line Java Platform 1.2 API Specification, as well
@@ -409,8 +410,9 @@
         authority = context.authority;
       }
     else	// Protocol NOT specified in spec. and no context available.
-      throw new
-	  MalformedURLException("Absolute URL required with null context");
+	        // We do as if it was truely the protocol (behaviour of the
+		// JDK 1.4).
+      protocol = spec;
 
     if (ph != null)
       {
@@ -431,8 +433,15 @@
     // is to be excluded by passing the 'limit' as the indexOf the '#'
     // if one exists, otherwise pass the end of the string.
     int hashAt = spec.indexOf('#', colon + 1);
-    this.ph.parseURL(this, spec, colon + 1,
-		     hashAt < 0 ? spec.length() : hashAt);
+    try 
+      {
+        this.ph.parseURL(this, spec, colon + 1,
+		         hashAt < 0 ? spec.length() : hashAt);
+      }
+    catch (URLParseError e)
+      {
+        throw new MalformedURLException(e.getMessage());
+      }
     if (hashAt >= 0)
       ref = spec.substring(hashAt + 1);
 
Index: java/net/URLStreamHandler.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/net/URLStreamHandler.java,v
retrieving revision 1.19
diff -u -r1.19 URLStreamHandler.java
--- java/net/URLStreamHandler.java	19 Sep 2003 06:19:42 -0000	1.19
+++ java/net/URLStreamHandler.java	29 Oct 2003 18:03:21 -0000
@@ -129,11 +129,12 @@
     
     if (spec.regionMatches (start, "//", 0, 2))
       {
+	String genuineHost;
 	int hostEnd;
-	int colon;
+	int colon, at_host;
 
 	start += 2;
-	int slash = spec.indexOf('/', start);
+	int slash = spec.indexOf ('/', start);
 	if (slash >= 0) 
 	  hostEnd = slash;
         else
@@ -141,24 +142,37 @@
 
 	host = spec.substring (start, hostEnd);
 	
+	// We first need a genuine host name (with userinfo).
+	// So we check for '@': if it's present check the port in the
+	// section after '@' in the other case check it in the full string.
+	// P.S.: We don't care having '@' at the beginning of the string.
+	if ((at_host = host.indexOf ('@')) >= 0)
+	  genuineHost = host.substring (at_host);
+	else
+	  genuineHost = host;
+
 	// Look for optional port number.  It is valid for the non-port
 	// part of the host name to be null (e.g. a URL "http://:80").
 	// TBD: JDK 1.2 in this case sets host to null rather than "";
 	// this is undocumented and likely an unintended side effect in 1.2
 	// so we'll be simple here and stick with "". Note that
 	// "http://" or "http:///" produce a "" host in JDK 1.2.
-	if ((colon = host.indexOf(':')) >= 0)
+	if ((colon = genuineHost.indexOf (':')) >= 0)
 	  {
 	    try
 	      {
-		port = Integer.parseInt(host.substring(colon + 1));
+		port = Integer.parseInt (genuineHost.substring (colon + 1));
 	      }
 	    catch (NumberFormatException e)
 	      {
 		; // Ignore invalid port values; port is already set to u's
 		  // port.
 	      }
-	    host = host.substring(0, colon);
+	    // Now we must cut the port number in the original string.
+	    if (at_host >= 0)
+	      host = host.substring (0, at_host + colon);
+	    else
+	      host = host.substring (0, colon);
 	  }
 	file = null;
 	start = hostEnd;
@@ -166,12 +180,20 @@
     else if (host == null) 
       host = "";
 
-    if (file == null || file.length() == 0
-	|| (start < end && spec.charAt(start) == '/')) 
+    if (file == null || file.length() == 0)
       {
 	// No file context available; just spec for file.
-	// Or this is an absolute path name; ignore any file context.
-	file = spec.substring(start, end);
+	// First check that spec is absolute. If it's not the case
+	// prepend a '/'.
+	file = spec.substring (start, end);
+	ref = null;
+	if (start < end && spec.charAt(start) != '/')
+	  file = "/" + file;
+      }
+    else if (start < end && spec.charAt(start) == '/') 
+      {
+	// This is an absolute path name; ignore any file context.
+	file = spec.substring (start, end);
 	ref = null;
       } 
     else if (start < end)
@@ -180,26 +202,26 @@
         char sepChar = '/';
         int lastSlash = file.lastIndexOf (sepChar);
         if (lastSlash < 0 && File.separatorChar != sepChar
-            && url.getProtocol ().equals ("file"))
+            && url.getProtocol().equals ("file"))
           {
             // On Windows, even '\' is allowed in a "file" URL.
             sepChar = File.separatorChar;
             lastSlash = file.lastIndexOf (sepChar);
           }
         
-        file = file.substring(0, lastSlash)
+        file = file.substring (0, lastSlash)
                 + sepChar + spec.substring (start, end);
 
-        if (url.getProtocol ().equals ("file"))
+        if (url.getProtocol().equals ("file"))
           {
             // For "file" URLs constructed relative to a context, we
             // need to canonicalise the file path.
             try
               {
-		boolean endsWithSlash = file.charAt(file.length() - 1) == '/';
-                file = new File (file).getCanonicalPath ();
+		boolean endsWithSlash = file.charAt (file.length() - 1) == '/';
+                file = new File (file).getCanonicalPath();
 		if (endsWithSlash
-		    && file.charAt(file.length() - 1) != '/')
+		    && file.charAt (file.length() - 1) != '/')
 		  file += '/';
               }
             catch (IOException e)
--- /dev/null	1970-01-01 01:00:00.000000000 +0100
+++ gnu/java/net/URLParseError.java	2003-10-29 19:09:15.000000000 +0100
@@ -0,0 +1,56 @@
+/* URLParseError.java -- Helps bypassing the exception limitation for
+   parseUrl
+   Copyright (C) 2003 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+package gnu.java.net;
+
+/**
+ * This class helps the people writing protocols to report URL parse
+ * errors in parseUrl as this method cannot report other exceptions
+ * than Errors.
+ *
+ * The main drawback is that it uses the Error mechanism which should not
+ * be used for that type of error reporting.
+ *
+ * @author Guilhem Lavaux <guilhem@kaffe.org>
+ */
+
+public class URLParseError extends Error {
+	public URLParseError(String msg)
+	{
+		super(msg);
+	}
+}

--------------010901020901010900080602--




From MAILER-DAEMON Wed Oct 29 18:02:43 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AEzKs-00036H-CP
	for mharc-classpath@gnu.org; Wed, 29 Oct 2003 18:02:42 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AEzKo-00031N-3w
	for classpath@gnu.org; Wed, 29 Oct 2003 18:02:38 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AEzJA-0002DZ-7B
	for classpath@gnu.org; Wed, 29 Oct 2003 18:01:27 -0500
Received: from [200.202.112.3] (helo=netflow.ipaccess.diveo.net.br)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AEzIv-0002Ay-QL
	for classpath@gnu.org; Wed, 29 Oct 2003 18:00:42 -0500
Received: from everton by netflow.ipaccess.diveo.net.br with local (Exim 3.36
	#1 (Debian)) id 1AEzDD-0003kK-00; Wed, 29 Oct 2003 20:54:47 -0200
Date: Wed, 29 Oct 2003 20:54:47 -0200
From: Everton da Silva Marques <everton@lab.ipaccess.diveo.net.br>
To: kaffe@kaffe.org
Message-ID: <20031029225447.GA14374@netflow.ipaccess.diveo.net.br>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="vtzGhvizbBRQ85DL"
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
Sender: <everton@diveo.net.br>
Cc: classpath@gnu.org
Subject: Bug Report: NIO SelectorImpl crashing
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: everton@lab.ipaccess.diveo.net.br
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Oct 2003 23:02:39 -0000


--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


Please find attached a small test program which
reproduces the following crash under Kaffe 1.1.2:

/usr/local/kaffe/bin/java -classpath build telnet.TelnetServer
waiting for connections on 1234
java.lang.NullPointerException
   at gnu.java.nio.SelectorImpl.deregisterCancelledKeys (SelectorImpl.java:234)
   at gnu.java.nio.SelectorImpl.select (SelectorImpl.java:146)
   at gnu.java.nio.SelectorImpl.select (SelectorImpl.java:92)
   at telnet.TelnetServer.serve (TelnetServer.java:93)
   at telnet.TelnetServer.main (TelnetServer.java:22)

I have looked quickly on the problem, and it seems
SelectorImpl.deregisterCancelledKeys() calls cancelledKeys(),
which is inherited as "returning null" from AbstractSelector:

class SelectorImpl extends AbstractSelector:

  private final void deregisterCancelledKeys()
  {
    Iterator it = cancelledKeys().iterator();
    ...

class AbstractSelector:

  protected final Set cancelledKeys()
  {
    return null;
  }

So is someone writing SelectorImpl.cancelledKeys()...? ;)

Regards,
Everton


--vtzGhvizbBRQ85DL
Content-Type: text/x-java; charset=us-ascii
Content-Disposition: attachment; filename="TelnetServer.java"


package telnet;

import java.io.IOException;
import java.net.Socket;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.SocketException;
import java.net.UnknownHostException;
import java.util.Set;
import java.util.Iterator;
import java.nio.channels.Selector;
import java.nio.channels.SocketChannel;
import java.nio.channels.ServerSocketChannel;
import java.nio.channels.SelectionKey;
import java.nio.channels.ClosedChannelException;
import java.nio.channels.spi.SelectorProvider;

public class TelnetServer {

    public static void main(String args[]) {
	serve();
    }

    private static void serve() {

	Selector selector;
        try {
            selector = SelectorProvider.provider().openSelector();
        }
        catch (IOException e) {
            System.err.println("could not create channel selector: " + e);
            return;
        }

        ServerSocketChannel channel;
        try {
            channel = ServerSocketChannel.open();
        }
        catch (IOException e) {
            System.err.println("could not create channel: " + e);
            return;
        }

        try {
            channel.configureBlocking(false);
        }
        catch (IOException e) {
            System.err.println("could not set channel non-blocking mode: " + e);
            return;
        }

	final String ANY_ADDR = "0.0.0.0";
        InetAddress anyAddr;
        try {
            anyAddr = InetAddress.getByName(ANY_ADDR);
        }
        catch (UnknownHostException e) {
            System.err.println("could not solve wildcard address: " + ANY_ADDR + ": " + e);
            return;
        }

	final int listenPort = 1234;
        InetSocketAddress sockAddr = new InetSocketAddress(anyAddr, listenPort);
        if (sockAddr == null) {
            System.err.println("could not create socket for wildcard address on port " + listenPort);
            return;
        }

        try {
            channel.socket().bind(sockAddr);
        }
        catch (IOException e) {
            System.err.println("could not bind to local address: " + anyAddr.getHostAddress() + ":" + listenPort + ": " + e);
            return;
        }

        SelectionKey acceptKey;
        try {
            acceptKey = channel.register(selector, SelectionKey.OP_ACCEPT);
        }
        catch (ClosedChannelException e) {
            System.err.println("could not register accept interest: " + e);
            return;
        }

	System.out.println("waiting for connections on " + listenPort);

	for (;;) {

            int addedKeys;
            try {
                addedKeys = selector.select();
            }
            catch (IOException e) {
                System.err.println("channel selection failed: " + e);
                continue;
            }
	    if (addedKeys <= 0) {
		System.err.println("no key selected");
		break;
	    }

	    System.out.println("selected keys: " + addedKeys);

	    Set readyKeys = selector.selectedKeys();

	    for (Iterator i = readyKeys.iterator(); i.hasNext(); ) {
		SelectionKey sk = (SelectionKey) i.next();
		i.remove();

		if (sk.isAcceptable()) {
		    ServerSocketChannel nextReady = (ServerSocketChannel) sk.channel();

		    SocketChannel ch;
		    try {
			ch = nextReady.accept();
		    }
		    catch (IOException e) {
			System.err.println("could not accept client: " + e);
			continue;
		    }

		    try {
			ch.configureBlocking(false);
		    }
		    catch (IOException io) {
			System.err.println("could not set socket as non-blocking: " + io);
			try { ch.close(); } catch (IOException e) {}
			continue;
		    }

		    Socket s = ch.socket();

		    System.out.println("registering client socket for listening");

		    try {
			acceptKey = ch.register(selector, SelectionKey.OP_READ);
		    }
		    catch (ClosedChannelException e) {
			System.err.println("could not register socket for reading: " + e);
			continue;
		    }

		    continue;
		}

		if (sk.isReadable()) {
		    SocketChannel nextReady = (SocketChannel) sk.channel();
		    Socket s = nextReady.socket();

		    System.out.println("disconnecting client socket");

		    try {
			nextReady.close(); // calls sk.cancel(), de-registers key
		    }
		    catch (IOException e) {
			System.err.println("failure closing socket: " + e);
		    }

		    continue;
		}

		System.err.println("select LOOP");
	    }

	}

    }
}


--vtzGhvizbBRQ85DL--



From MAILER-DAEMON Wed Oct 29 22:04:15 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AF36d-000239-5J
	for mharc-classpath@gnu.org; Wed, 29 Oct 2003 22:04:15 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AF36a-000221-Cm
	for classpath@gnu.org; Wed, 29 Oct 2003 22:04:12 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AF35y-0001p6-Ew
	for classpath@gnu.org; Wed, 29 Oct 2003 22:04:05 -0500
Received: from [139.19.1.1] (helo=interferon.mpi-sb.mpg.de)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AF35x-0001lp-6W
	for classpath@gnu.org; Wed, 29 Oct 2003 22:03:33 -0500
Received: from amavis by interferon.mpi-sb.mpg.de with scanned-ok (Exim 3.35
	#1 (Debian)) id 1AF35q-0004Mm-00
	for <classpath@gnu.org>; Thu, 30 Oct 2003 04:03:26 +0100
Received: from mpiat2304.ag2.mpi-sb.mpg.de
	([139.19.20.93] helo=kaffe.org ident=topic)
	by interferon.mpi-sb.mpg.de with esmtp (Exim 3.35 #1 (Debian))
	id 1AF35n-0004L5-00; Thu, 30 Oct 2003 04:03:23 +0100
Message-ID: <3FA07F7B.9030408@kaffe.org>
Date: Thu, 30 Oct 2003 04:03:23 +0100
From: Dalibor Topic <robilad@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: everton@lab.ipaccess.diveo.net.br
References: <20031029225447.GA14374@netflow.ipaccess.diveo.net.br>
In-Reply-To: <20031029225447.GA14374@netflow.ipaccess.diveo.net.br>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS perl-11
Cc: classpath@gnu.org, kaffe@kaffe.org
Subject: Re: [kaffe] Bug Report: NIO SelectorImpl crashing
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Oct 2003 03:04:13 -0000

Hi Everton,

Everton da Silva Marques wrote:
> Please find attached a small test program which
> reproduces the following crash under Kaffe 1.1.2:
> 
> /usr/local/kaffe/bin/java -classpath build telnet.TelnetServer
> waiting for connections on 1234
> java.lang.NullPointerException
>    at gnu.java.nio.SelectorImpl.deregisterCancelledKeys (SelectorImpl.java:234)
>    at gnu.java.nio.SelectorImpl.select (SelectorImpl.java:146)
>    at gnu.java.nio.SelectorImpl.select (SelectorImpl.java:92)
>    at telnet.TelnetServer.serve (TelnetServer.java:93)
>    at telnet.TelnetServer.main (TelnetServer.java:22)
> 
> I have looked quickly on the problem, and it seems
> SelectorImpl.deregisterCancelledKeys() calls cancelledKeys(),
> which is inherited as "returning null" from AbstractSelector:
>

Thanks for the bug report and the test program.

This particular bug was fixed by Michael Koch in the Classpath CVS, and 
merged back into kaffe's CVS. But as I get from the follow up mail on 
the kaffe mailing list, you're still seing problems with NIO with the 
merged code. I'll check if there is some new NIO code to merge back ;)

cheers,
dal




From MAILER-DAEMON Thu Oct 30 03:08:09 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AF7qj-0008Mi-6h
	for mharc-classpath@gnu.org; Thu, 30 Oct 2003 03:08:09 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AF7ew-0006Oq-Pc
	for classpath@gnu.org; Thu, 30 Oct 2003 02:55:58 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AF7eN-0006DF-7e
	for classpath@gnu.org; Thu, 30 Oct 2003 02:55:55 -0500
Received: from [217.12.10.41] (helo=web25005.mail.ukl.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1AF7eJ-00066A-9z
	for classpath@gnu.org; Thu, 30 Oct 2003 02:55:19 -0500
Message-ID: <20031030075517.75989.qmail@web25005.mail.ukl.yahoo.com>
Received: from [203.67.181.35] by web25005.mail.ukl.yahoo.com via HTTP;
	Thu, 30 Oct 2003 07:55:17 GMT
Date: Thu, 30 Oct 2003 07:55:17 +0000 (GMT)
From: =?iso-8859-1?q?jsona=20laio?= <freeonfair@yahoo.co.uk>
To: classpath@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailman-Approved-At: Thu, 30 Oct 2003 03:08:08 -0500
Subject: characters set's problem
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Oct 2003 07:55:59 -0000

hi mavens,
i used to utilize sun java's vm to develop my porject.
however, lately i want to participate a porject, in
which involves developing encoding like CCCII (CJK
based characters set for asian characters, which
defines more characters than unicode supports in the
parts of CJK). however, as i know, java vm is based
upon unicode. so i hope to know weather there's
possible to switch encoding setting when using
classpath (or how to avoid such problem), for i'm
afraid that code value may miss when data exchanging
'twixt two character set; e.g., between CCCII and
unicode. or any else better way can avoid such
questions?
i appreciate any suggestions, sincerely.


________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk



From MAILER-DAEMON Thu Oct 30 06:09:41 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AFAgO-0001hg-03
	for mharc-classpath@gnu.org; Thu, 30 Oct 2003 06:09:40 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AFAgI-0001dR-Iv
	for classpath@gnu.org; Thu, 30 Oct 2003 06:09:34 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AFAfl-0001QE-Qc
	for classpath@gnu.org; Thu, 30 Oct 2003 06:09:32 -0500
Received: from [193.74.71.23] (helo=oola.is.kpn.be)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFAfk-0001PT-Gl
	for classpath@gnu.org; Thu, 30 Oct 2003 06:09:00 -0500
Received: from (eudslpro-213-49-17-120.antwerp.kpn.be [213.49.17.120]) 
	by oola.is.kpn.be  with SMTP id h9UB8qS31686; 
	Thu, 30 Oct 2003 12:08:52 +0100
Message-Id: <200310301108.h9UB8qS31686@oola.is.kpn.be>
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Gray <chris@kiffer.eunet.be>
To: jsona laio <freeonfair@yahoo.co.uk>, classpath@gnu.org
Date: Thu, 30 Oct 2003 12:09:13 +0100
X-Mailer: KMail [version 1.3]
References: <20031030075517.75989.qmail@web25005.mail.ukl.yahoo.com>
In-Reply-To: <20031030075517.75989.qmail@web25005.mail.ukl.yahoo.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Cc: 
Subject: Re: characters set's problem
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Oct 2003 11:09:37 -0000

On Thursday 30 October 2003 08:55, jsona laio wrote:
> hi mavens,

Hi jsona laio,

> i used to utilize sun java's vm to develop my porject.
> however, lately i want to participate a porject, in
> which involves developing encoding like CCCII (CJK
> based characters set for asian characters, which
> defines more characters than unicode supports in the
> parts of CJK). however, as i know, java vm is based
> upon unicode. so i hope to know weather there's
> possible to switch encoding setting when using
> classpath (or how to avoid such problem), for i'm
> afraid that code value may miss when data exchanging
> 'twixt two character set; e.g., between CCCII and
> unicode. or any else better way can avoid such
> questions?
> i appreciate any suggestions, sincerely.

Standard Java uses Unicode, stores characters as 16-bit quantities, and does 
not support the use of "surrogates". However there is a library developed by 
IBM, called ICU4J, which permits the use of surrogates: you should then be 
able to use a "private" mapping to represent each 3-byte CCCII character as a 
series of UCS-16 chars.

Of course you could also just pass your CCCII data around as arrays of bytes 
or longs. But then you'd need to define all your own libraries for 
manipulating the data, which probably is not what you want.

ICU4J appears to be under the X licence, which is compatible with 
classpath's, so it should be possible to incorporate ICU4J into classpath. 
You could even lead the project. :)

Best wishes


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



From MAILER-DAEMON Fri Oct 31 13:07:57 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AFdgi-0001h5-Ua
	for mharc-classpath@gnu.org; Fri, 31 Oct 2003 13:07:56 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AFdgg-0001g5-Av
	for classpath@gnu.org; Fri, 31 Oct 2003 13:07:54 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AFdgA-0001bH-FR
	for classpath@gnu.org; Fri, 31 Oct 2003 13:07:53 -0500
Received: from [62.4.16.105] (helo=kraid.nerim.net)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFdgA-0001b4-71
	for classpath@gnu.org; Fri, 31 Oct 2003 13:07:22 -0500
Received: from kaffe.org (lavaux.net1.nerim.net [62.212.115.70])
	by kraid.nerim.net (Postfix) with ESMTP id 09B3640E57
	for <classpath@gnu.org>; Fri, 31 Oct 2003 19:07:19 +0100 (CET)
Message-ID: <3FA2A610.8010002@kaffe.org>
Date: Fri, 31 Oct 2003 19:12:32 +0100
From: Guilhem Lavaux <guilhem@kaffe.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: classpath@gnu.org
X-Enigmail-Version: 0.74.3.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: java.io.DataInputStream.readLine misbehaviour
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion of the implemenation of the core Java class libraries
	<classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath>
List-Post: <mailto:classpath@gnu.org>
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 31 Oct 2003 18:07:54 -0000

Hi,

Continuing the Classpath-Kaffe merge, I noticed that 
DataInputStream is failing one of kaffe's regression test 
(InputStreamTest). It seems the failure comes from 
readLine(): readLine() is a little too conservative compared 
to JDK's implementation. The real behaviour seems to be the 
following:

readLine() is invoked => it reads bytes until it finds a 
'\r' => it reads the next byte
* if it is  a '\n' it eats it
* if it isn't it keeps it in an internal buffer until 
someone calls another read methods.

But in any case the byte isn't put back in the input buffer. 
  The real problem is what happens when someone calls one of 
the inherited method from FilterInputStream which are not 
overloaded (e.g. available).

Kaffe's answer was to create a mini-buffer with default 
access in FilterInputStream. It is obvious it is clumsy 
because it slightly changes the API, but the only other 
option would be to overload all read functions.

So what's your opinion for Classpath ?

Regards,
Guilhem.




