From nferrier@tapsellferrier.co.uk Fri Jun 01 07:46:04 2001
Received: from owls-house.tapsellferrier.co.uk ([195.7.242.237])
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 155nNT-0001EV-00; Fri, 01 Jun 2001 07:46:04 -0400
Received: from muddy-patch.tapsellferrier.co.uk ([195.7.242.227] helo=tapsellferrier.co.uk)
	by owls-house.tapsellferrier.co.uk with smtp (Exim 3.12 #1 (Debian))
	id 155nNS-0008Bw-00; Fri, 01 Jun 2001 12:46:02 +0100
Received: from tf-Message_Server by tapsellferrier.co.uk
	with Novell_GroupWise; Fri, 01 Jun 2001 12:46:26 +0100
Message-Id: <sb178ea2.089@tapsellferrier.co.uk>
X-Mailer: Novell GroupWise 5.2
Date: Fri, 01 Jun 2001 12:42:31 +0100
From: "Nic Ferrier" <nferrier@tapsellferrier.co.uk>
To: per@bothner.com,classpath@gnu.org, classpathx-discuss@gnu.org
Subject: new java pages now live
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.3
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

The new java pages are now live.

Here's a summary:

- java.html
Overview of the GNU project's java efforts. 
Links to further pages.
Political statement (about Indonesia).

- packages.html
The GNU package namespace registry
This is used to register all the names used within the GNU project.
If you have a package that uses GNU namespace please contact us to get
it included.
This page also explains why we use just "gnu." as the top level
package name.

- java-software.html
The list of GPLed and other free java software.

- selprint-java.html
Self printing java programs.


There are several mailing lists including javaweb-people which is
intended for GNU java people only (ie: no members  of the public). You
have to be a member of the savannah "javaweb" project to join that
list. It's the logical place to resolve inter project issues such as
package name clashes.


Nic Ferrier


From Erica_G@joins.com Mon Jun 04 04:56:37 2001
Received: from www.qh.cninfo.net ([202.100.128.82] helo=www.)
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 156qA2-00071q-00; Mon, 04 Jun 2001 04:56:30 -0400
Received: from netian.com by www. (SMI-8.6/SMI-SVR4)
	id QAA14904; Mon, 4 Jun 2001 16:47:40 +0800
From: Erica_G@joins.com
Message-ID: <000075bf2fb7$00001ce9$0000788a@joins.com>
To: <everyone@mvsw.int.net>
Subject: The Info You Requested                         30858
Date: Mon, 04 Jun 2001 01:58:57 -0700
MIME-Version: 1.0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
X-MSMail-Priority: Normal
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.3
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

<HTML><HEAD><TITLE>Take Control Of Your Conference Calls</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dwindows-12=
52">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR></HEAD>
<BODY vLink=3D#c0c0c0 link=3D#c0c0c0 bgColor=3D#000000 leftMargin=3D0><FON=
T 
face=3Darial,helvetica>
<P>
<CENTER>
<TABLE width=3D600 border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dmiddle><B><FONT color=3D#999999 size=3D6>Long Distance 
      Conferencing<BR>Only <U>18 Cents</U> Per 
Minute</B></FONT></TD></TR></TBODY></TABLE>
<P><FONT color=3D#ff0000 size=3D5><B>Connects Up To 100 Participants!</B><=
/FONT> 
<P>
<TABLE width=3D350 border=3D0>
  <TBODY>
  <TR>
    <TD><FONT color=3D#999999 size=3D3><B>
      <LI>No setup fees 
      <LI>No contracts or monthly fees 
      <LI>Call anytime, from anywhere, to anywhere 
      <LI>International Dial In 18 cents per minute 
      <LI>Simplicity in set up and administration 
      <LI>Operator Help available 24/7 </B></FONT></LI></TD></TR></TBODY><=
/TABLE>
<P>
<TABLE width=3D500 border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dmiddle><FONT color=3D#ff0000 size=3D60><B><FONT size=3D5>G=
et the best 
      quality, the easiest to use, and lowest rate in the 
      industry.</B></FONT></FONT></TD></TR></TBODY></TABLE>
<P>
<TABLE width=3D400 border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dmiddle><FONT color=3D#999999 size=3D4>If you like saving m=
oney, fill 
      out the form below and one of our consultants will contact 
  you.</FONT></TD></TR></TBODY></TABLE>
<P><FONT color=3D#999999 size=3D2>Required Input Field<FONT color=3D#ff000=
0 
size=3D2>*</FONT></FONT> 
<P>
<TABLE cellSpacing=3D0 borderColorDark=3D#333300 cellPadding=3D3 width=3D6=
00 
borderColorLight=3D#ffffcc>
  <TBODY>
  <TR>
    <TD align=3Dmiddle>
      <FORM action=3Dmailto:inbox011@excite.com?subject=3DConference_Inqui=
ry 
      method=3Dpost encType=3Dtext/plain>
      <TABLE width=3D"100%">
        <TBODY>
        <TR>
          <TD align=3Dright width=3D"50%"><FONT 
            face=3D"Arial, Helvetica, sans-serif" color=3D#ff0000 
          size=3D2>Name*</FONT></TD>
          <TD><INPUT name=3DNAME></TD></TR>
        <TR>
          <TD align=3Dright width=3D"50%"><FONT 
            face=3D"Arial, Helvetica, sans-serif" color=3D#ff0000 size=3D2=
>Web 
            Address*</FONT></TD>
          <TD><INPUT value=3Dhttp:// name=3DURL></TD></TR>
        <TR>
          <TD align=3Dright width=3D"50%"><FONT 
            face=3D"Arial, Helvetica, sans-serif" color=3D#ff0000 size=3D2=
>Company 
            Name*</FONT></TD>
          <TD><INPUT name=3DCOMPANY_NAME></TD></TR>
        <TR>
          <TD align=3Dright width=3D"50%"><FONT 
            face=3D"Arial, Helvetica, sans-serif" color=3D#ff0000 size=3D2=
>
            State*</FONT></TD>
          <TD><INPUT size=3D2 name=3DSTATE></TD></TR>
        <TR>
          <TD align=3Dright width=3D"50%"><FONT 
            face=3D"Arial, Helvetica, sans-serif" color=3D#ff0000 size=3D2=
>Business 
            Phone*</FONT></TD>
          <TD><INPUT name=3DBUS_PHONE></TD></TR>
        <TR>
          <TD align=3Dright width=3D"50%"><FONT 
            face=3D"Arial, Helvetica, sans-serif" color=3D#ff0000 size=3D2=
>Home 
            Phone</FONT></TD>
          <TD><INPUT name=3DHOME_PHONE></TD></TR>
        <TR>
          <TD align=3Dright width=3D"50%"><FONT 
            face=3D"Arial, Helvetica, sans-serif" color=3D#ff0000 size=3D2=
>Email 
            Address*</FONT></TD>
          <TD><INPUT name=3DEMAIL></TD></TR>
        <TR>
          <TD align=3Dright width=3D"50%"><FONT 
            face=3D"Arial, Helvetica, sans-serif" color=3D#ff0000 size=3D2=
>Type of 
            Business</FONT></TD>
          <TD><INPUT name=3DTYPE_OF_BUSINESS></TD></TR></TBODY></TABLE>
      <P><INPUT type=3Dsubmit value=3D"Submit Information" name=3Dsubmit> 
    </FORM></P></TD></TR></TBODY></TABLE>
<P>
	<P align=3Dcenter><FONT color=3D999999 face=3D"Arial, Helvetica, sans-ser=
if" size=3D5>
	This could be your ad!</FONT></B><FONT face=3D"Arial, Helvetica, sans-ser=
if" size=3D2>
	<BR><A href=3D"mailto:user877@excite.com?subject=3DDirect Marketing">
	<FONT color=3Dff0000>Click here to e-mail us your contact info</A>.</FONT=
></P>
<TABLE width=3D500>
  <TBODY>
  <TR>
    <TD align=3Dmiddle><FONT face=3D"Arial, Helvetica, sans-serif" color=3D=
#999999 
      size=3D1>This email is to those persons that have contacted Conferen=
ce Calls 
      for Less regarding available services or product information. If thi=
s 
      email is reaching you in error and you feel that you have not contac=
ted 
      us, <FONT color=3D#666666><A 
      href=3D"mailto:rem0ve008@excite.com?subject=3DRemove_Conferencing">C=
lick 
      here</A></FONT>. We will gladly remove you from our mailing 
      list.</FONT><BR></TD></TR></TBODY></TABLE></P></CENTER></FONT></BODY=
></HTML>





From tromey@creche.cygnus.com Mon Jun 04 18:54:32 2001
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 1573F2-0000le-00
	for <classpath@gnu.org>; Mon, 04 Jun 2001 18:54:32 -0400
Received: from creche.cygnus.com (tq0115.peakpeak.com [207.174.177.115])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id QAA00673;
	Mon, 4 Jun 2001 16:53:13 -0600
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id RAA27161;
	Mon, 4 Jun 2001 17:06:14 -0600
To: Java Patch List <java-patches@gcc.gnu.org>
Cc: Classpath Project <classpath@gnu.org>
Subject: Patch: java.security.PublicKey and PrivateKey
X-Zippy:  Ask me the DIFFERENCE between PHIL SILVERS and ALEXANDER HAIG!!
X-Attribution:  Tom
Reply-To: tromey@redhat.com
From: Tom Tromey <tromey@redhat.com>
Date: 04 Jun 2001 17:06:12 -0600
Message-ID: <87pucjvo9n.fsf@creche.redhat.com>
Lines: 59
X-Mailer: Gnus v5.7/Emacs 20.5
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.3
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

I'm checking this in to the trunk.  In 1.2, java.security.PublicKey
and PrivateKey extend Key.  I'm putting this into Classpath as well.

I'm not sure why, but the Classpath java.security.PublicKey has a
public serialVersionUID in it, while the libgcj version does not.  I'm
removing it from the Classpath version.  Anybody care to comment?

2001-06-04  Tom Tromey  <tromey@redhat.com>

	* java/security/PublicKey.java: Extend Key.
	* java/security/PrivateKey.java: Extend Key.

Tom


Index: java/security/PrivateKey.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/security/PrivateKey.java,v
retrieving revision 1.2
diff -u -r1.2 PrivateKey.java
--- PrivateKey.java	2001/04/25 15:45:12	1.2
+++ PrivateKey.java	2001/06/04 22:52:36
@@ -1,5 +1,5 @@
 /* PrivateKey.java -- "Super-interface" for all private keys
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2001 Free Software Foundation, Inc.
 
    This file is part of GNU Classpath.
 
@@ -35,6 +35,6 @@
    *
    * @author Aaron M. Renn (arenn@urbanophile.com)
  */
-public interface PrivateKey
+public interface PrivateKey extends Key
 {
 }
Index: java/security/PublicKey.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/security/PublicKey.java,v
retrieving revision 1.2
diff -u -r1.2 PublicKey.java
--- PublicKey.java	2001/04/25 15:45:12	1.2
+++ PublicKey.java	2001/06/04 22:52:36
@@ -1,5 +1,5 @@
 /* PublicKey.java -- "Super-interface" for all public keys
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2001 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -34,6 +34,6 @@
  *
  * @author Aaron M. Renn (arenn@urbanophile.com)
  */
-public interface PublicKey
+public interface PublicKey extends Key
 {
 }


From china@china.com Sun Jun 10 01:42:15 2001
Received: from [202.103.93.112] (helo=localhost)
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 158xzK-0008WU-00
	for <classpath@gnu.org>; Sun, 10 Jun 2001 01:42:14 -0400
From: china<china@china.com>
To: classpath@gnu.org<classpath@gnu.org>
X-mailer: 金锋邮件匿名群发-版本: 1.0
Subject: The best chinese manufacturer
Message-Id: <E158xzK-0008WU-00@fencepost.gnu.org>
Date: Sun, 10 Jun 2001 01:42:14 -0400
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Dear sir,
    welcom to:http://www.longf.com/speeda.htm, the manufacturer with biggest production scale, full range of products, most advanced technological facilities, perfect means of measurement and strongest capacity for development and research within the same domestic profession.
        WEBSITE:HTTP://WWW.LONGF.COM


From Specials@computerimagingsupply.com Wed Jun 13 10:42:40 2001
Received: from seltpd.ru ([212.24.32.166] helo=dokoselt.seltpd.ru)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15ABqx-00005o-00
	for <classpath@gnu.org>; Wed, 13 Jun 2001 10:42:39 -0400
Received: from cis2001 (208.199.8.100 [208.199.8.100]) by dokoselt.seltpd.ru with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0)
	id MY5901PC; Wed, 13 Jun 2001 18:41:28 +0400
From: Specials@computerimagingsupply.com
To: <>
Subject: Save BIG on printing supplies
Date: Wed, 13 Jun 2001 07:40:30 -0700
X-Sender: Specials@computerimagingsupply.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1
Content-Type: text/html; charset="iso-8859-1"
X-Priority: 3
X-MSMail-Priority: Normal
X-RBL-Warning: (relays.mail-abuse.org) 
Message-Id: <E15ABqx-00005o-00@fencepost.gnu.org>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

<html>
<head>
<title>Save $$$$ with Computer Imaging Supply Inc.!!!!!</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!--

You are seeing this message because your email reading
software cannot properly read HTML formatted email.
This message is formatted in HTML.

To view all of Computer Imaging Supply's great deals,
simply click on the following link and start enjoying
the savings.

http://www.computerimagingsupply.com

-------------------------------------------------------
Save $$$$ with Computer Imaging Supply Inc.!!!!!
-------------------------------------------------------

Sincerely,

Team Staff

http://www.ComputerImagingSupply.com









--> 
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta content="MSHTML 6.00.2462.0" name=GENERATOR>
<style></style>
</head>

<body bgcolor="#ffffff">
<div> </div>
<div align=center><a 
href="http://www.computerimagingsupply.com/CDindex.html"><img height=74 
src="http://www.computerimagingsupplies.com/Email/LG/CIS-logo-bevel.gif" 
width=447 border=0></a><font color=#ff0000><b><font 
face="Verdana, Arial, Helvetica, sans-serif" color=#0033cc 
size=-1><br>
  </font><font color=#0033cc><b><font 
face="Verdana, Arial, Helvetica, sans-serif">THE MOST EXPENSIVE PART OF A PRINTER 
  IS THE SUPPLIES!</font></b></font></b></font></div>
<div align=center><font face="Verdana, Arial, Helvetica, sans-serif"><b><font 
size=-1>Get more value for your money with <a 
href="http://www.ComputerImagingSupply.com/CDindex.html">http://www.ComputerImagingSupply.com</a>.</font></b></font><br>
</div>
<div align=center> 
  <table height=67 width=418 border=0>
    <tbody> 
    <tr> 
      <td width=153 bgcolor=#ff9999 height=150> 
        <div align=center><font face="Verdana, Arial, Helvetica, sans-serif" 
      size=-1><b><br>
          We have</b><br>
          <font color=#0000cc><i><b><font 
      color=#0000ff>LOWER</font></b></i></font> <font 
      color=#0000ff><i><b>PRICES</b></i></font><br>
          <font size=-2><b><font 
      color=#330066 size=-1>than the office supply superstores on OEM Inkjet/Laser 
          cartridges, FAX supplies &amp; Printer Ribbons!</font> </b></font></font></div>
      </td>
      <td width=125 bgcolor=#6699ff height=150> 
        <div align=center> 
          <p><font face="Verdana, Arial, Helvetica, sans-serif" size=-1><b><font 
      color=black><br>
            FREE SHIPPING</font></b><br>
            <i>on all orders!<br>
            </i><b><font color=black>NO SALES TAX!</font></b><i><br>
            (except CA)<br>
            </i><font color=black><b>100% MONEY BACK<br>
            GURANTEE!</b></font><i><br>
            <font color=#003333>=No Risk To You!</font></i></font> </p>
        </div>
      </td>
      <td width=118 bgcolor=#66ff66 height=150> 
        <p align=center><font face="Verdana, Arial, Helvetica, sans-serif" 
      size=-1><b>Check out our</b></font> <i><br>
          <b><font 
      face="Verdana, Arial, Helvetica, sans-serif" color=#006666>LOW PRICES!</font></b></i></p>
        <form>
          <select onChange="OpenCIS('http://computerimagingsupply.com')" 
      name="printer Model">
            <option selected>Printer Model</option>
            <option>Canon</option>
            <option>Epson</option>
            <option>Hewlett Packard</option>
            <option>Lexmark</option>
            <option>Xerox</option>
          </select>
        </form>
        <p align=center><i><b><font face="Verdana, Arial, Helvetica, sans-serif" 
      color=#006666><a 
      href="http://www.computerimagingsupply.com/CDindex.html">Click Here!</a> 
          </font></b></i></p>
      </td>
    </tr>
    </tbody>
  </table>
  <table width=480 border=0>
    <tbody> 
    <tr> 
      <td width=71 height=67><img height=81 
      src="http://www.computerimagingsupplies.com/Email/LG/cart1.gif" 
    width=70></td>
      <td width=336 height=67> 
        <div align=center><i><font face="Verdana, Arial, Helvetica, sans-serif" 
      color=#0000cc><b><font size=-1>Plus, we carry a full line of OEM quality 
          replacement products and our </font>CIS XL line<font size=-1>. These 
          unique long life products cost less than OEM &amp; they give you <br>
          </font></b></font></i><font 
      face="Verdana, Arial, Helvetica, sans-serif" color=#0000cc><b><font 
      color=#ff0000>25% or more prints!</font></b></font></div>
      </td>
      <td width=10 height=67><img height=81 
      src="http://www.computerimagingsupplies.com/Email/LG/toner1.gif" 
    width=70></td>
    </tr>
    </tbody>
  </table>
  <table width=552 bgcolor=#ffff00 border=0>
    <tbody> 
    <tr> 
      <td height=72> 
        <div align=center><font 
      face="Verdana, Arial, Helvetica, sans-serif"><b><i><font 
      color=#000099>Example</font></i></b></font><font 
      face="Verdana, Arial, Helvetica, sans-serif" size=-1><b>: Your printer needs 
          a <font color=#0000ff>Hewlett Packard</font> Series 2 Black Cartridge.<br>
          </b></font><b><font 
      face="Verdana, Arial, Helvetica, sans-serif" size=-1>Purchase our XL product 
          and you save money &amp; the cartridge has a longer life of up to </font><font 
      face="Verdana, Arial, Helvetica, sans-serif" color=#0000ff>25%</font><font 
      face="Verdana, Arial, Helvetica, sans-serif" size=-1> </font><font 
      face="Verdana, Arial, Helvetica, sans-serif" color=#0000ff>or more!</font><font face="Verdana, Arial, Helvetica, sans-serif" size=-1> 
          <br>
          <i><font color=#006666>It's that simple.</font></i></font></b></div>
      </td>
    </tr>
    </tbody>
  </table>
  <table height=88 width=595 border=0>
    <tbody> 
    <tr> 
      <td width=391 height=136> 
        <div align=center><font size=-2><b><font 
      face="Verdana, Arial, Helvetica, sans-serif" color=#000066 
      size=-1>Computer Imaging Supply is ready <br>
          to serve you<font size=-2> with our world class customer service <br>
          featuring<font size=-1> LIVE</font> onsite chat. Also, check out our<br>
          featured <font 
      color=#3333ff><i><font size=-1>FREE GIFT </font></i></font><font 
      size=-1><i><font color=#0000ff>PREMIUMS</font></i></font>. Visit our secure<br>
          and easy to use website today &amp; you'll receive a<br>
          <i><font 
      color=#cc0000 size=-1>FREE CLEANING KIT</font></i> with your first order 
          ... <br>
          no minimum required!</font></font></b></font></div>
      </td>
      <td width=239 height=136><a 
      href="http://www.computerimagingsupply.com/CDindex.html"><img height=115 
      src="http://www.computerimagingsupplies.com/Email/LG/hdquarters.gif" 
      width=254 border=0></a></td>
    </tr>
    </tbody>
  </table>
  <table width=496 border=0>
    <tbody> 
    <tr> 
      <td width=311 bgcolor=#66ff66> 
        <div align=center><b><font face="Verdana, Arial, Helvetica, sans-serif" 
      color=#000033 size=-1><br>
          START SAVING $$$ NOW AT:<br>
          </font><font 
      face="Verdana, Arial, Helvetica, sans-serif" color=#000033><a 
      href="http://www.computerimagingsupply.com/CDindex.html"><font 
      size=-1>http://www.ComputerImagingSupply.com</font></a></font></b></div>
      </td>
      <td width=169 bgcolor=#ff9999> 
        <div align=center><font face="Verdana, Arial, Helvetica, sans-serif" 
      size=-1><font color=#0000ff><b><font color=#003333>Questions? Call our toll 
          free direct <br>
          customer service:<br>
          1-888-289-4624 </font></b></font></font></div>
      </td>
    </tr>
    </tbody>
  </table>
  <table height=80 width=596 border=0>
    <tbody> 
    <tr> 
      <td height=90> 
        <p align=center><font face="Verdana, Arial, Helvetica, sans-serif" 
      size=-1><font color=#000099>If you are not responsible for printer supply 
          purchasing,<br>
          please forward this e-mail to appropriate persons.</font> <br>
          <font size=-2><br>
          To be removed form this list, please reply to this e-mail and type "Remove" 
          in the subject field. <br>
          You can also remove your email address by clicking on the following 
          link and hitting send: <br>
          <b>mailto:</b><a 
      href="mailto:remove@computerimagingsupply.com">remove@computerimagingsupply.com</a></font></font><font 
      face="Verdana, Arial, Helvetica, sans-serif" size=-1><font size=-2> Free 
          shipping offer good to continental U.S. only. <br>
          Gift premiums awarded at specific purchase levels. No tax available 
          outside CA only. <br>
          Free cleaning kits available while supplies last. </font></font></p>
      </td>
    </tr>
    </tbody>
  </table>
</div>
</body>
</html>



From tromey@creche.cygnus.com Thu Jun 14 11:38:15 2001
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 15AZCI-0002WT-00
	for <classpath@gnu.org>; Thu, 14 Jun 2001 11:38:14 -0400
Received: from creche.cygnus.com (tq0130.peakpeak.com [207.174.177.130])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id JAA29898;
	Thu, 14 Jun 2001 09:38:09 -0600
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id JAA18378;
	Thu, 14 Jun 2001 09:53:47 -0600
To: Classpath Project <classpath@gnu.org>
Subject: merge: java.util.Date
X-Zippy:  YOW!!  I am having FUN!!
X-Attribution:  Tom
Reply-To: tromey@redhat.com
From: Tom Tromey <tromey@redhat.com>
Date: 14 Jun 2001 09:53:45 -0600
Message-ID: <87ae3bt5va.fsf@creche.redhat.com>
Lines: 7
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

I've merged java.util.Date with libgcj.  By and large I took the
Classpath implementation since it had javadoc comments.  However I
extracted the parse() method from the libgcj implementation.  I know
it is deprecated, but we had a perfectly good implementation sitting
there and there didn't seem to be a reason to abandon it.

Tom


From Dealsmart@eshunet.com Sun Jun 17 16:56:37 2001
Received: from www.stsn-adsale.com ([202.134.88.137] helo=mail.stsn-adsale.com)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15Bjay-0000hx-00; Sun, 17 Jun 2001 16:56:32 -0400
Received: from soeye.com ([192.168.1.1])
	by mail.stsn-adsale.com (8.9.3/8.8.7) with SMTP id FAA03721;
	Mon, 18 Jun 2001 05:00:42 +0800
From: Dealsmart@eshunet.com
Message-ID: <0000210b1024$00003df9$000016ea@eshunet.com>
To: <mail2@umembersonly.org>
Subject: Customer Service                         5866
Date: Sun, 17 Jun 2001 13:58:23 -0700
MIME-Version: 1.0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
X-MSMail-Priority: Normal
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

<HTML><HEAD><TITLE>Flat Rate Long Distance</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dwindows-12=
52">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR></HEAD>
<BODY vLink=3D#c0c0c0 link=3D#c0c0c0 bgColor=3D#ffffff leftMargin=3D0><FON=
T 
face=3Darial,helvetica>
<P>
<CENTER>
<TABLE width=3D600 border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dmiddle><B><FONT color=3D#000000 size=3D7>Unlimited Long Di=
stance,<BR> 
      One Low Flat Rate<BR><FONT size=3D4>Test the quality, and<BR><B><FON=
T color=3D#CC0000 size=3D6>Try it for</FONT> 
      <FONT color=3D#000000 size=3D6>FREE!!</FONT></B><P>
<TABLE width=3D500 border=3D0>
  <TBODY>
  <TR>
    <TD align=3DLeft><FONT size=3D4>We'll activate your Flat Rate Unlimite=
d Long Distance Service for 1 week<B> 
	FREE*</B> to prove that the quality and service is what you expect.  
	</B></FONT></LI></TD></TR></TBODY></TABLE>
<P>
<TABLE width=3D600 border=3D0>
  <TBODY>
  <TR>
  <TD align=3Dmiddle><B><FONT color=3D#000066 size=3D6>Call now!</B><BR></=
FONT><FONT color=3D000000 size=3D5>Operators standing 
      by to<BR> activate your service.</FONT></B></P>
<P>
<TABLE width=3D400 border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dmiddle><FONT color=3D#CC0000 size=3D6><B>Toll Free: </B>87=
7-529-7358</B><BR><Font size=3D3 color=3D000000><B>
    9:00 a.m. to 9:00 p.m. EDT</B></TR></TBODY></TABLE>
<P><FONT color=3D#000000 size=3D2>For more information, fill out the form =
below.</FONT></FONT> 
<P>
<TABLE cellSpacing=3D0 borderColorDark=3D#333300 cellPadding=3D3 width=3D6=
00 
borderColorLight=3D#ffffcc>
  <TBODY>
  <TR>
    <TD align=3Dmiddle>
      <FORM action=3Dmailto:inbox986@excite.com?subject=3DTeletime_Reply 
      method=3Dpost encType=3Dtext/plain>
      <TABLE width=3D"100%">
        <TBODY>
        <TR>
          <TD align=3Dright width=3D"50%"><FONT 
            face=3D"Arial, Helvetica, sans-serif" color=3D#000000 
          size=3D2>Name<Font color=3DCC0000>*</FONT></TD>
          <TD><INPUT name=3DNAME></TD></TR>
        <TR>
          <TD align=3Dright width=3D"50%"><FONT 
            face=3D"Arial, Helvetica, sans-serif" color=3D#000000 size=3D2=
>Web 
            Address</FONT></TD>
          <TD><INPUT value=3Dhttp:// name=3DURL></TD></TR>
        <TR>
          <TD align=3Dright width=3D"50%"><FONT 
            face=3D"Arial, Helvetica, sans-serif" color=3D#000000 size=3D2=
>Company 
            Name<Font color=3DCC0000>*</FONT></TD>
          <TD><INPUT name=3DCOMPANY_NAME></TD></TR>
        <TR>
          <TD align=3Dright width=3D"50%"><FONT 
            face=3D"Arial, Helvetica, sans-serif" color=3D#000000 size=3D2=
>State<Font color=3DCC0000> 
            *</FONT></TD>
          <TD><INPUT size=3D2 name=3DSTATE></TD></TR>
        <TR>
          <TD align=3Dright width=3D"50%"><FONT 
            face=3D"Arial, Helvetica, sans-serif" color=3D#000000 size=3D2=
>Business 
            Phone<Font color=3DCC0000>*</FONT></TD>
          <TD><INPUT name=3DBUS_PHONE></TD></TR>
        <TR>
          <TD align=3Dright width=3D"50%"><FONT 
            face=3D"Arial, Helvetica, sans-serif" color=3D#000000 size=3D2=
>Home 
            Phone</FONT></TD>
          <TD><INPUT name=3DHOME_PHONE></TD></TR>
        <TR>
          <TD align=3Dright width=3D"50%"><FONT 
            face=3D"Arial, Helvetica, sans-serif" color=3D#000000 size=3D2=
>Email 
            Address<Font color=3DCC0000>*</FONT></TD>
          <TD><INPUT name=3DEMAIL></TD></TR>
        <TR>
          <TD align=3Dright width=3D"50%"><FONT 
            face=3D"Arial, Helvetica, sans-serif" color=3D#000000 size=3D2=
>Type of 
            Business</FONT></TD>
          <TD><INPUT name=3DTYPE_OF_BUSINESS></TD></TR></TBODY></TABLE>
      <P><INPUT type=3Dsubmit value=3D"Submit Information" name=3Dsubmit> 
    </FORM></P></TD></TR></TBODY></TABLE>
<P>
<TABLE width=3D550>
  <TBODY>
  <TR>
    <TD align=3Dleft><FONT face=3D"Arial, Helvetica, sans-serif" color=3D#=
000000 
      size=3D2>*One week free offer is valid to those who have a valid che=
cking account. 
      Service is never billed until after the 1 week free trial period. </=
FONT><BR></TD></TR></TBODY></TABLE></P>
<TABLE width=3D600>
  <TBODY>
  <TR>
    <TD align=3Dleft><FONT face=3D"Arial, Helvetica, sans-serif" color=3D#=
000000 
      size=3D1>This is not SPAM.  You have been emailed this message 
	because you have opted to receive information regarding
	business opportunities.  If you feel that your email address
	has been used without your consent and wish to be removed,
	<FONT color=3D#666666><A href=3D"mailto:rem0ve.3@excite.com?subject=3DRem=
ove">
	click here</A></FONT>. We will gladly remove you from our distribution
	list and apologize for any inconvenience.</FONT><BR></TD></TR></TBODY></T=
ABLE></P></CENTER></FONT></BODY></HTML>





From your1friend@hongkong.com Wed Jun 20 19:55:30 2001
Received: from tra133832-1.gw.connect.com.au ([210.8.15.57] helo=travelmate)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15Crom-0002Nb-00; Wed, 20 Jun 2001 19:55:29 -0400
Received: from bologna.au.org ([64.221.137.144]) by travelmate  with Microsoft SMTPSVC(5.5.1877.977.9);
	 Thu, 21 Jun 2001 09:56:49 +1000
From: your1friend@hongkong.com
To: You<>
Subject: The exception....
Date: Wed, 20 Jun 2001 16:48:20 -0700
X-Sender: your1friend@hongkong.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1
Content-Type: text/plain; charset="us-ascii"
X-Priority: 3
X-MSMail-Priority: Normal
Message-ID: <003854956231461TRAVELMATE@travelmate>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Dear Friend and Future Millionaire,
My wife received this e-mail and forwarded it to me to review. We've both
read completely through it and have been in contact with some of the
individuals listed below.
We think it's an excellent opportunity that is well worth the small
investment of time and money, and believe that you will, too! CRH

AS SEEN ON NATIONAL TV:

Making over half million dollars every 4 to 5 months from your home for
an investment of only $25 U.S. Dollars expense one time
THANKS TO THE COMPUTER AGE AND THE INTERNET !

BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!!
Before you say ''Bull'', please read the following. This is the letter you
have been hearing about on the news lately. Due to the popularity of
this letter on the Internet, a national weekly news program recently
devoted an entire show to the investigation of this program described below,
to
see if it really can make people money. The show also investigated whether
or
not the program was legal.
Their findings proved once and for all that there are ''absolutely NO Laws
prohibiting the participation in the program and if people can -follow the
simple instructions, they are bound to make some mega bucks with only $25
out of pocket cost''. DUE TO THE RECENT INCREASE OF POPULARITY & RESPECT
THIS PROGRAM HAS ATTAINED, IT IS CURRENTLY WORKING BETTER THAN EVER.
This is what one had to say: ''Thanks to this profitable opportunity. I
was approached many times before but each time I passed on it. I am
so glad I finally joined just to see what one could expect in return for
the minimal effort and money required.
To my astonishment, I received total $610,470.00 in 21 weeks,
with money still coming in."
Pam Hedland, Fort Lee, New Jersey

 ---------------------------------------------------------------------------


Here is another testimonial:

"This program has been around for a long
time but I never believed in it. But one day when I received this again
in the mail I decided to gamble my $25 on it. I followed the simple
instructions and walaa ...... 3 weeks later the money started to come in.
First month I only made $240.00 but the next 2 months after that I made
a total of $290,000.00. So far, in the past 8 months by re-entering the
program, I have made over $710,000.00 and I am playing it again. The
key to success in this program is to follow the simple steps and NOT
change anything.''

More testimonials later but first,
----------------------------------------------------------------------------
===== PRINT THIS NOW FOR YOUR FUTURE REFERENCE ======

If you would like to make at least $500,000 every 4 to 5 months easily and
comfortably, please read the following...
THEN READ IT AGAIN and AGAIN!!!

FOLLOW THE SIMPLE INSTRUCTION BELOW AND YOUR FINANCIAL DREAMS WILL COME
TRUE, GUARANTEED! INSTRUCTIONS:

Order all 5 reports shown on the list below

For each report, send $5 CASH, THE NAME & NUMBER OF THE REPORT YOU ARE
ORDERING and YOUR E-MAIL ADDRESS to the person whose name appears ON THAT
LIST next to the report. MAKE SURE YOUR RETURN ADDRESS IS ON YOUR ENVELOPE
TOP LEFT CORNER in case of any mail problems.

When you place your order, make sure you order each of the 5 reports.
You will need all 5 reports so that you can save them on your computer
and resell them. YOUR TOTAL COST $5 X 5=$25.00.
Within a few days you will receive, via e-mail, each of the 5 reports from
these 5 different individuals. Save them on your computer so they will be
accessible for you to send to the 1,000's of people who will order them
from you. Also make a floppy of these reports and keep it on your desk in
case
something happens to your computer.
 ---------------------------------------------------------------------------
-
IMPORTANT - DO NOT alter the names of the people who are listed next to
each
report, or their sequence on the list, in any way other than what is
instructed below in step '' 1 through 6 '' or you will loose out on a
majority of your profits. Once you understand the way this works, you will
also see how it does not work if you change it. Remember, this method has
been tested, and if you alter, it will NOT work !!! People have tried to
put their friends/relatives names on all five thinking they could get all
the
money. But it does not work this way. Believe us, and Do Not try to change
anything other than what is instructed. Because if you do, it will not
work for you.
Remember, honesty reaps the reward!!!

 ---------------------------------------------------------------------------
-
1.... After you have ordered all 5 reports, take this advertisement and
REMOVE the name & address of the person in REPORT # 5. This person has
made it through the cycle and is no doubt counting their fortune
2.... Move the name & address in REPORT # 4 down TO REPORT # 5.
3.... Move the name & address in REPORT # 3 down TO REPORT # 4.
4.... Move the name & address in REPORT # 2 down TO REPORT # 3.
5.... Move the name & address in REPORT # 1 down TO REPORT # 2
6.... Insert YOUR name & address in the REPORT # 1 Position. PLEASE MAKE
SURE you copy every name & address ACCURATELY!

 Take this entire letter, with the modified list of names, and save it
on your computer. DO NOT MAKE ANY OTHER CHANGES.

Save this on a disk as well just in case if you loose any data. To assist
you with marketing your business on the internet, the 5 reports you
purchase will provide you with invaluable marketing information which
includes how
to send bulk e-mails legally, where to find thousands of free classified ads
and much more.

There are 2 Primary methods to get this venture going:
METHOD # 1: BY SENDING BULK E-MAIL LEGALLY

Let's say that you decide to start small, just to see how it goes, and we
will assume You and those involved send out only 5,000 e-mails each. Let's
also assume that the mailing receive only a 0.2% response (the response
could be much better but lets just say it is only 0.2%. Also many people
will send out hundreds of thousands e-mails instead of only 5,000 each).
Continuing with this example, you send out only 5,000 e-mails. With a 0.2%
response, that is only 10 orders for report # 1. Those 10 people responded
by sending out 5,000 e-mail each for a total of 50,000. Out of those
50,000
e-mails only 0.2% responded with orders. That's=100 people responded and
ordered Report # 2.

Those 100 people mail out 5,000 e-mails each for a total of 500, 000
e-mails.
The 0.2% response to that is 1000 orders for Report # 3.

Those 1000 people send out 5,000 e-mails each for a total of 5 million
e-mails sent out. The 0.2% response to that is 10,000 orders for Report # 4.

Those 10,000 people send out 5,000 e-mails each for a total of 50,000,000
(50 million) e-mails.

The 0.2% response to that is 100,000 orders for Report
# 5 THAT'S 100,000 ORDERS TIMES $5 EACH=$500,000.00 (half million).
Your total income in this example is: 1..... $50 + 2..... $500 + 3....
$5,000 + 4.... $50,000 + 5..... $500,000 ........ Grand Total=$555,550.00


NUMBERS DO NOT LIE. GET A PENCIL & PAPER AND FIGURE OUT THE WORST POSSIBLE
RESPONSES AND NO MATTER HOW YOU CALCULATE IT, YOU WILL STILL MAKE A LOT OF
MONEY !
----------------------------------------------------------------------------

REMEMBER FRIEND, THIS IS ASSUMING ONLY 10 PEOPLE
ORDERING OUT OF 5,000 YOU MAILED TO.
Dare to think for a moment what would happen if everyone or half or even
one 4th of those people mailed 100,000 e-mails each or more? There are over
150
million people on the Internet worldwide and counting. Believe me, many
people will do just that, and more!

 ---------------------------------------------------------------------------
-
METHOD # 2 : BY PLACING FREE ADS ON THE INTERNET
Advertising on the net is very inexpensive and there are hundreds
of FREE places to advertise. Placing a lot of free ads on the Internet
will easily get a larger response. We strongly suggest you start with Method
# 1
and add METHOD # 2 as you go along. For every $5 you receive, all you must
do is e-mail them the Report they ordered. That's it. Always provide same
day service on all orders.
This will guarantee that the e-mail they send out, with your name and
address on it, will be prompt because they cannot advertise until they
receive the report.
=========== AVAILABLE REPORTS ====================
ORDER EACH REPORT BY ITS NUMBER & NAME ONLY.
====================================================
Notes:
1) Always send $5 cash (U.S. CURRENCY only) for each Report.
Checks NOT accepted.

2) Make sure the cash is concealed by wrapping it in at least 2 sheets
of paper.

3) On one of those sheets of paper, Write:

1. the NUMBER & the NAME of the Report you are ordering,

2. YOUR E-MAIL ADDRESS and

3. your name and postal address. (In case of e-mail difficulties.)
PLACE YOUR ORDER FOR THESE REPORTS NOW :

REPORT #1 "The Insider's Guide to Advertising for Free on the Net"
ORDER REPORT #1 FROM:
Mickey Ammons
838 Long Mill Road
Franklintown, NC 27525
______________________________________________________
REPORT #2 "The Insider's Guide to Sending Bulk E-mail on the Net"
ORDER REPORT #2 FROM:
Judy Janney
500 Main St #301
Menomnie, WI 54751
______________________________________________________
REPORT #3 "The Secrets to Multilevel Marketing on the Net"
ORDER REPORT #3 FROM:
S. Jacobson
4209 Topsider St.
Las Vegas, NV 89129
_____________________________________________________
REPORT #4 "How to become a Millionaire Utilizing the Power of MLM and the
Net"
ORDER REPORT #4 FROM:
C. T. Wiese
PO Bx 443
Manhatten, KS 66502
______________________________________________________
REPORT #5 "How to Send Out One Million e-mails for Free"
ORDER REPORT #5 FROM:
Kristen Gerard
PO Bx 59
Tremont City, OH 45372

You can KEEP TRACK of your PROGRESS by watching which report
people are ordering from you.
IF YOU WANT TO GENERATE MORE
INCOME SEND ANOTHER BATCH OF E-MAILS AND START
THE WHOLE PROCESS AGAIN.
____________________________________________________________
$$$$$$$$$ YOUR SUCCESS GUIDELINES $$$$$$$$$$$

Follow these guidelines to guarantee your success:

=== If you do not receive at least 10 orders for Report #1 within 2
weeks, continue sending e-mails until you do.
=== After you have received 10 orders, 2 to 3 weeks after that you
should receive 100 orders or more for REPORT # 2. If you did not,
continue advertising or sending e-mails until you do.
=== Once you have received 100 or more orders for Report # 2, YOU
CAN RELAX, because the system is already working for you, and the
cash will continue to roll in ! THIS IS IMPORTANT TO REMEMBER:
Every time your name is moved down on the list, you are placed in front
of a Different report.

There is NO LIMIT to the income you can generate from this business !! !
======================================================
FOLLOWING IS A NOTE FROM THE ORIGINATOR OF THIS
PROGRAM:
You have just received information that can give you
financial freedom for the rest of your life, with NO RISK and JUST
A LITTLE BIT OF EFFORT. You can make more money in the next
few weeks and months than you have ever imagined. Follow the program
EXACTLY AS INSTRUCTED. Do Not change it in any way. It works exceedingly
well as
it is now.
Remember to e-mail a copy of this exciting report after you have put
your name and address in Report #1 and moved others to #2 ........... # 5
as instructed above. One of the people you send this to may send out
100,000 or more e-mails and your name will be on every one of them.
Remember though, the more you send out the more potential customers
you will reach.
So my friend, I have given you the ideas, information, materials and
opportunity to become financially independent. IT IS UP TO YOU NOW !
============ MORE TESTIMONIALS ================
"My name is Mitchell. My wife, Jody and I live in Chicago. I am an
accountant with a major U.S. Corporation and I make pretty good money.
When I received this program I grumbled to Jody about receiving ''junk
mail''. I made fun of the whole thing, spouting my knowledge of the
population and percentages involved. I ''knew'' it wouldn't work. Jody
totally ignored my supposed intelligence and few days later she jumped in
with both feet. I made merciless fun of her, and was ready to lay the old
''I told you so'' on her when the thing didn't work. Well, the laugh was
on me! Within 3 weeks she had received 50 responses. Within the next 45 days
she had received total $ 147,200.00 ........... all cash! I was shocked. I
have joined Jody in her ''hobby''.
Mitchell Wolf M.D., Chicago, Illinois
======================================================
''Not being the gambling type, it took me several weeks to make up my
mind to participate in this plan. But conservative that I am, I decided
that the initial investment was so little that there was just no way that I
wouldn't get enough orders to at least get my money back''. '' I was
surprised when I found my medium size post office box crammed with
orders. I made $319,210.00 in the first 12 weeks. The nice thing about
this deal is that it does not matter where people live. There simply isn't
a better investment with a faster return and so big."
Dan Sondstrom, Alberta, Canada
=======================================================
''I had received this program before. I deleted it, but later I wondered
if I should have given it a try. Of course, I had no idea who to contact
to get another copy, so I had to wait until I was e-mailed again by someone
else.........11 months passed then it luckily came again...... I did not
delete this one! I made more than $490,000 on my first try and all the
money came within 22 weeks."
Susan De Suza, New York, N.Y.
=======================================================
''It really is a great opportunity to make relatively easy money with
little cost to you. I followed the simple instructions carefully and
within 10 days the money started to come in. My first month I made
$20,560.00 and by the end of third month my total cash count was
$362,840.00. Life is beautiful, Thanks to internet.".
Fred Dellaca, Westport, New Zealand


=======================================================
ORDER YOUR REPORTS TODAY AND GET STARTED ON
'YOUR' ROAD TO FINANCIAL FREEDOM !
=======================================================
About 50,000 new people get online every month!
_______________________________________________________

 Under Bill S1618 Title III passed by the 105th US Congress this letter
cannot be considered spam as long as the sender includes contact
information and a method of removal. 
This is a one time e-mail transmission. No request for removal is necessary.



From cptmccoy@china.com Thu Jun 21 15:45:43 2001
Received: from ewc134324-1.gw.connect.com.au ([210.8.12.25] helo=ewcox.com.au)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15DAOb-0002j0-00
	for <classpath@gnu.org>; Thu, 21 Jun 2001 15:45:41 -0400
Received: from bologna.au.org [64.221.137.144] by ewcox.com.au [127.0.0.1]
	with SMTP (MDaemon.v2.8.5.0.R)
	for <classpath@gnu.org>; Fri, 22 Jun 2001 05:48:57 +1000
From: cptmccoy@china.com
To: classpath@gnu.org
Subject: IPO's at their BEST!
Date: Thu, 21 Jun 2001 12:38:28 -0700
X-Sender: cptmccoy@china.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1
Content-Type: text/html; charset="iso-8859-1"
X-Priority: 3
X-MSMail-Priority: Normal
X-MDaemon-Deliver-To: classpath@gnu.org
X-Return-Path: cptmccoy@china.com
Message-Id: <E15DAOb-0002j0-00@fencepost.gnu.org>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4616.200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial>
<DIV class=Section1>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><B><FONT face=Arial 
color=black size=5><SPAN 
style="FONT-WEIGHT: bold; FONT-SIZE: 16pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-bidi-font-family: 'Times New Roman'"><A 
href="http://www.pre-ipo-opportunity.com/preipo_form.html">How do you get in on 
an IPO?</A></SPAN></FONT></B><B><FONT face=Arial color=black size=5><SPAN 
style="FONT-WEIGHT: bold; FONT-SIZE: 16pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-bidi-font-family: 'Times New Roman'; mso-color-alt: windowtext"><?xml:namespace 
prefix = o ns = "urn:schemas-microsoft-com:office:office" 
/><o:p></o:p></SPAN></FONT></B></P>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Arial 
color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'">&nbsp;</SPAN></FONT><FONT 
face=Arial color=black><SPAN 
style="COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-color-alt: windowtext"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><B><FONT face=Arial 
color=black size=3><SPAN 
style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'">Acquire 
a position in companies prior to their IPO launch!</SPAN></FONT></B><B><FONT 
face=Arial color=black><SPAN 
style="FONT-WEIGHT: bold; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-color-alt: windowtext"><o:p></o:p></SPAN></FONT></B></P>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Arial 
color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'">&nbsp;</SPAN></FONT><FONT 
face=Arial color=black><SPAN 
style="COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-color-alt: windowtext"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Arial 
color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'">There 
are stock market secrets that investment banking firms don&#8217;t want you to 
know.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Investment Banking firms 
usually pre-allocate most of the <B><SPAN style="FONT-WEIGHT: bold"><A 
href="http://www.pre-ipo-opportunity.com/preipo_form.html">IPO</A></SPAN></B> 
shares to their VIP clients, leaving few or none for the small 
investor.</SPAN></FONT><FONT face=Arial color=black><SPAN 
style="COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-color-alt: windowtext"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Arial 
color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'">&nbsp;</SPAN></FONT><FONT 
face=Arial color=black><SPAN 
style="COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-color-alt: windowtext"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Arial 
color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'">Big 
Profits aren&#8217;t just for big VIP&#8217;s anymore!<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN></SPAN></FONT><FONT face=Arial color=black><SPAN 
style="COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-color-alt: windowtext"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Arial 
color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'">&nbsp;</SPAN></FONT><FONT 
face=Arial color=black><SPAN 
style="COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-color-alt: windowtext"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Arial 
color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'">Don&#8217;t 
be shut out at the opening bell on <B><SPAN style="FONT-WEIGHT: bold"><A 
href="http://www.pre-ipo-opportunity.com/preipo_form.html">IPO</A> 
</SPAN></B>purchases. </SPAN></FONT><FONT face=Arial color=black><SPAN 
style="COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-color-alt: windowtext"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Arial 
color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'">Don&#8217;t 
pay more than <B><SPAN style="FONT-WEIGHT: bold"><A 
href="http://www.pre-ipo-opportunity.com/preipo_form.html">IPO</A></SPAN></B> 
prices. </SPAN></FONT><FONT face=Arial color=black><SPAN 
style="COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-color-alt: windowtext"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Arial 
color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'">&nbsp;</SPAN></FONT><FONT 
face=Arial color=black><SPAN 
style="COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-color-alt: windowtext"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Arial 
color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"><A 
href="http://www.pre-ipo-opportunity.com/preipo_form.html">Click here to find 
out more!</A></SPAN></FONT><FONT face=Arial color=black><SPAN 
style="COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-color-alt: windowtext"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Arial 
color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'">&nbsp;</SPAN></FONT><FONT 
face=Arial color=black><SPAN 
style="COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-color-alt: windowtext"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><B><FONT face=Arial 
color=black size=3><SPAN 
style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"><A 
href="http://www.pre-ipo-opportunity.com/preipo_form.html">Get in at below IPO 
prices!</A></SPAN></FONT></B><B><FONT face=Arial color=black><SPAN 
style="FONT-WEIGHT: bold; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-color-alt: windowtext"><o:p></o:p></SPAN></FONT></B></P>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Arial 
color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'">&nbsp;</SPAN></FONT><FONT 
face=Arial color=black><SPAN 
style="COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-color-alt: windowtext"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-ALIGN: center" align=center><B><FONT face=Arial 
color=black size=3><SPAN 
style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'">Get 
in on THE ground floor opportunity!</SPAN></FONT></B><SPAN 
class=EmailStyle15><FONT face=Arial color=black size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"><o:p></o:p></SPAN></FONT></SPAN></P></DIV></FONT></DIV></BODY></HTML>




From cptmccoy@china.com Fri Jun 22 17:33:15 2001
Received: from yarrina.connect.com.au ([192.189.54.17])
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 15DYYE-0000Yj-00; Fri, 22 Jun 2001 17:33:15 -0400
Received: from webmail.lspc.nsw.gov.au (unknown [210.8.34.9])
	by yarrina.connect.com.au (Postfix) with SMTP
	id BB96327679; Sat, 23 Jun 2001 07:32:35 +1000 (EST)
Received: from bologna.au.org
	(ts005d31.nlv-nv.concentric.net [64.221.136.235])
	by webmail.lspc.nsw.gov.au; Sat, 23 Jun 2001 07:30:41 +1000
From: cptmccoy@china.com
To: educate yourself <>
Subject: Get an INSTANT COLLEGE DEGREE now !!!! 100% Legal 
Date: Fri, 22 Jun 2001 14:26:35 -0700
X-Sender: cptmccoy@china.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1
Content-Type: text/plain; charset="us-ascii"
X-Priority: 3
X-MSMail-Priority: Normal
Message-Id: <20010622213235.BB96327679@yarrina.connect.com.au>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>


InstantDegrees.com

Enjoy the prestige of putting BA, BSc, MBA or even Ph.D after your
name.

Exploit a 100% LEGAL LOOPHOLE and get the recognition you deserve
TODAY!

No coursework, no classes, no residency and no hassle. One simple
click will change your life forever.  

Imagine the social prestige and advantages of legally acquiring a
DOCTORAL TITLE. See those doors open, get into those exclusive
restaurants and clubs. Enjoy better service wherever you go and
whatever you do. All this for less than the cost of a good night
out.

Visit http://www.InstantDegrees.com for more details and to order
online, get your diploma in 5 days. Please mention Affiliate ID:
A2469



This Is a one time Mailing. To be removed from our list, reply with "REMOVE" in the Subject line.


From toraneko@kun.ne.jp Sat Jun 23 02:37:27 2001
Received: from ms0.nttdata.co.jp ([163.135.193.231])
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 15Dh2t-0008UT-00
	for <classpath@gnu.org>; Sat, 23 Jun 2001 02:37:27 -0400
Received: from mail1.nttdata.co.jp ([163.135.10.20])
	by ms0.nttdata.co.jp (8.9.3/3.7W-NTTDATA-TOP-03/21/01) with ESMTP id PAA00695
	for <classpath@gnu.org>; Sat, 23 Jun 2001 15:38:25 +0900 (JST)
Received: from geb.rd.nttdata.co.jp (localhost [127.0.0.1])
	by mail1.nttdata.co.jp (8.9.1/3.7W-NTTDmx/00122716) with ESMTP id PAA03949
	for <classpath@gnu.org>; Sat, 23 Jun 2001 15:34:42 +0900 (JST)
Received: from onuris.rd.nttdata.co.jp (onuris.rd.nttdata.co.jp [10.8.144.22])
	by geb.rd.nttdata.co.jp (8.9.3/3.7W/R8V8) with ESMTP id PAA26134
	for <classpath@gnu.org>; Sat, 23 Jun 2001 15:37:24 +0900 (JST)
Received: from piccolo.rd.nttdata.co.jp (RAS-10-8-157-32.rd.nttdata.co.jp [10.8.157.32] (may be forged))
	by onuris.rd.nttdata.co.jp (8.10.1/3.7W/R8V8) with ESMTP id f5N6bNK13369
	for <classpath@gnu.org>; Sat, 23 Jun 2001 15:37:23 +0900 (JST)
Date: Sat, 23 Jun 2001 15:38:02 +0900
Message-ID: <87k823em5x.wl@piccolo.rd.nttdata.co.jp>
From: Takashi Okamoto <toraneko@kun.ne.jp>
To: classpath@gnu.org
Subject: [PATCH] EncoderUTF8.java 
User-Agent: Wanderlust/2.5.8 (Smooth) SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.1 (AOI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: multipart/mixed;
 boundary="Multipart_Sat_Jun_23_15:38:02_2001-1"
Content-Transfer-Encoding: 8bit
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

--Multipart_Sat_Jun_23_15:38:02_2001-1
Content-Type: text/plain; charset=US-ASCII

Hello.

I found that gnu.java.io.encode.EncoderUTF8 is broken while I was
trying Intel ORP. I attached patch for valid utf-8 encoding.

regards.
----
Takashi Okamoto


--Multipart_Sat_Jun_23_15:38:02_2001-1
Content-Type: application/octet-stream; type=patch
Content-Disposition: attachment; filename="EncoderUTF8.java.patch"
Content-Transfer-Encoding: 8bit

Index: gnu/java/io/encode/EncoderUTF8.java
===================================================================
RCS file: /cvs/classpath/gnu/java/io/encode/EncoderUTF8.java,v
retrieving revision 1.2
diff -u -r1.2 EncoderUTF8.java
--- gnu/java/io/encode/EncoderUTF8.java	2000/03/16 23:51:37	1.2
+++ gnu/java/io/encode/EncoderUTF8.java	2001/06/23 06:18:26
@@ -99,23 +99,23 @@
 {
   for (int i = buf_offset; i < len; i++)
     {
-      if (buf[i] <= 0x007F)
+      if (buf[i] >= 0x0000 && buf[i] <= 0x007F)
         {
           bbuf[bbuf_offset] = (byte)(buf[i] & 0xFF);
           ++bbuf_offset;
         }
       else if (buf[i] <= 0x07FF)
         {
-          bbuf[bbuf_offset] = (byte)(0xC0 | (buf[i] >> 6));
+          bbuf[bbuf_offset] = (byte)(0xC0 | ((buf[i] >> 6) & 0x3F));
           ++bbuf_offset;
           bbuf[bbuf_offset] = (byte)(0x80 | (buf[i] & 0x3F));
           ++bbuf_offset;
         }
       else 
         {
-          bbuf[bbuf_offset] = (byte)(0xE0 | (buf[i] >> 12));
+          bbuf[bbuf_offset] = (byte)(0xE0 | ((buf[i] >> 12) & 0x0F));
           ++bbuf_offset;
-          bbuf[bbuf_offset] = (byte)(0xC0 | (buf[i] >> 6));
+          bbuf[bbuf_offset] = (byte)(0x80 | ((buf[i] >> 6) & 0x3F));
           ++bbuf_offset;
           bbuf[bbuf_offset] = (byte)(0x80 | (buf[i] & 0x3F));
           ++bbuf_offset;

--Multipart_Sat_Jun_23_15:38:02_2001-1
Content-Type: text/plain; charset=US-ASCII




--Multipart_Sat_Jun_23_15:38:02_2001-1--


From toraneko@kun.ne.jp Sat Jun 23 10:34:47 2001
Received: from ms0.nttdata.co.jp ([163.135.193.231])
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 15DoUo-0000ue-00
	for <classpath@gnu.org>; Sat, 23 Jun 2001 10:34:46 -0400
Received: from mail1.nttdata.co.jp ([163.135.10.21])
	by ms0.nttdata.co.jp (8.9.3/3.7W-NTTDATA-TOP-03/21/01) with ESMTP id XAA18648
	for <classpath@gnu.org>; Sat, 23 Jun 2001 23:35:43 +0900 (JST)
Received: from geb.rd.nttdata.co.jp (localhost [127.0.0.1])
	by mail1.nttdata.co.jp (8.9.1/3.7W-NTTDATA-TOP-12/27/00) with ESMTP id XAA01167
	for <classpath@gnu.org>; Sat, 23 Jun 2001 23:33:41 +0900 (JST)
Received: from onuris.rd.nttdata.co.jp (onuris.rd.nttdata.co.jp [10.8.144.22])
	by geb.rd.nttdata.co.jp (8.9.3/3.7W/R8V8) with ESMTP id XAA29012
	for <classpath@gnu.org>; Sat, 23 Jun 2001 23:34:42 +0900 (JST)
Received: from piccolo.rd.nttdata.co.jp (RAS-10-8-157-31.rd.nttdata.co.jp [10.8.157.31] (may be forged))
	by onuris.rd.nttdata.co.jp (8.10.1/3.7W/R8V8) with ESMTP id f5NEYeK20009
	for <classpath@gnu.org>; Sat, 23 Jun 2001 23:34:41 +0900 (JST)
Date: Sat, 23 Jun 2001 23:35:22 +0900
Message-ID: <877ky36z85.wl@piccolo.rd.nttdata.co.jp>
From: Takashi Okamoto <toraneko@kun.ne.jp>
To: classpath@gnu.org
Subject: patch for EncoderUTF8.java
User-Agent: Wanderlust/2.5.8 (Smooth) SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.1 (AOI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: multipart/mixed;
 boundary="Multipart_Sat_Jun_23_23:35:22_2001-1"
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

--Multipart_Sat_Jun_23_23:35:22_2001-1
Content-Type: text/plain; charset=US-ASCII

Hello.

I found a problem at UTF8 encoding in gnu classpath. We can't convert
to UTF-8 correctly by classpath. I attached a patch to fix it.

regards.
----
Takashi Okamoto


--Multipart_Sat_Jun_23_23:35:22_2001-1
Content-Type: application/octet-stream; type=patch
Content-Disposition: attachment; filename="EncoderUTF8.java.patch"
Content-Transfer-Encoding: 7bit

Index: gnu/java/io/encode/EncoderUTF8.java
===================================================================
RCS file: /cvs/classpath/gnu/java/io/encode/EncoderUTF8.java,v
retrieving revision 1.2
diff -u -r1.2 EncoderUTF8.java
--- gnu/java/io/encode/EncoderUTF8.java	2000/03/16 23:51:37	1.2
+++ gnu/java/io/encode/EncoderUTF8.java	2001/06/23 06:18:26
@@ -99,23 +99,23 @@
 {
   for (int i = buf_offset; i < len; i++)
     {
-      if (buf[i] <= 0x007F)
+      if (buf[i] >= 0x0000 && buf[i] <= 0x007F)
         {
           bbuf[bbuf_offset] = (byte)(buf[i] & 0xFF);
           ++bbuf_offset;
         }
       else if (buf[i] <= 0x07FF)
         {
-          bbuf[bbuf_offset] = (byte)(0xC0 | (buf[i] >> 6));
+          bbuf[bbuf_offset] = (byte)(0xC0 | ((buf[i] >> 6) & 0x3F));
           ++bbuf_offset;
           bbuf[bbuf_offset] = (byte)(0x80 | (buf[i] & 0x3F));
           ++bbuf_offset;
         }
       else 
         {
-          bbuf[bbuf_offset] = (byte)(0xE0 | (buf[i] >> 12));
+          bbuf[bbuf_offset] = (byte)(0xE0 | ((buf[i] >> 12) & 0x0F));
           ++bbuf_offset;
-          bbuf[bbuf_offset] = (byte)(0xC0 | (buf[i] >> 6));
+          bbuf[bbuf_offset] = (byte)(0x80 | ((buf[i] >> 6) & 0x3F));
           ++bbuf_offset;
           bbuf[bbuf_offset] = (byte)(0x80 | (buf[i] & 0x3F));
           ++bbuf_offset;

--Multipart_Sat_Jun_23_23:35:22_2001-1
Content-Type: text/plain; charset=US-ASCII





--Multipart_Sat_Jun_23_23:35:22_2001-1--


From cbj@gnu.org Sat Jun 23 11:12:25 2001
Received: from fe7.southeast.rr.com ([24.93.67.54] helo=mail7.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15Dp5F-00020E-00
	for <classpath@gnu.org>; Sat, 23 Jun 2001 11:12:25 -0400
Received: from lyta.haphazard.org ([66.26.242.52]) by mail7.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Sat, 23 Jun 2001 11:12:24 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.0/8.11.0) id f5NFCOu21672;
	Sat, 23 Jun 2001 11:12:24 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: GNU Classpath <classpath@gnu.org>
Subject: current work
From: Brian Jones <cbj@gnu.org>
Date: 23 Jun 2001 11:12:24 -0400
Message-ID: <m3r8wb1b8n.fsf@lyta.haphazard.org>
Lines: 17
User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

I've done some merging of gcj and classpath java.lang.Double/Float
implementations, primarily taking the gcj implementation with
classpath docs.  I've also taken their native methods and mostly just
converted as necessary to JNI for our JNI implementation and I'll
leave the CNI implementation alone.

Further, I've started work this weekend to build classpath in a
separate directory.  Doesn't look like it will be hard to finish this
today.

I'll take a look at the UTF8 patch later today since it's just a 4
line change, probably just commit it.

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



From green@redhat.com Sat Jun 23 15:20:43 2001
Received: from runyon.cygnus.com ([205.180.230.5] helo=cygnus.com)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15DsxX-0001P8-00
	for <classpath@gnu.org>; Sat, 23 Jun 2001 15:20:43 -0400
Received: from locutus (locutus.cygnus.com [205.180.230.91])
	by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with SMTP id MAA01807;
	Sat, 23 Jun 2001 12:20:40 -0700 (PDT)
Message-ID: <020b01c0fc19$bdd66420$5be6b4cd@cygnus.com>
From: "Anthony Green" <green@redhat.com>
To: "Java@Gcc. Gnu. Org" <java@gcc.gnu.org>, <classpath@gnu.org>
Subject: preprocessing java source
Date: Sat, 23 Jun 2001 12:21:43 -0700
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0208_01C0FBDF.107D4DA0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

This is a multi-part message in MIME format.

------=_NextPart_000_0208_01C0FBDF.107D4DA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'd like to experiment with creating different runtime profiles, similar =
to the J2ME profiles for embedded systems.

This will require different versions of some of the core classes (no =
floating point, no finalization, etc).  I can just copy the .java files =
and maintain different versions -- but I'd rather just conditionally =
compile the code.

I think the only preprocessing required will be to support...

#ifdef USE_FINALIZATION
#else
#endif

...style preprocessing.

I wouldn't be so worried if we didn't share code with Classpath. =20

Any ideas/opinions?

AG


------=_NextPart_000_0208_01C0FBDF.107D4DA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4616.200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'd like to experiment with creating =
different=20
runtime profiles, similar to the J2ME profiles for embedded=20
systems.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This will require different versions of =
some of the=20
core classes (no floating point, no finalization, etc).&nbsp; I can just =
copy=20
the .java files and maintain different versions -- but I'd rather just=20
conditionally compile the code.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I think the only preprocessing required =
will be to=20
support...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>#ifdef USE_FINALIZATION</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>#else</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>#endif</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>...style preprocessing.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I wouldn't be so worried if we didn't =
share code=20
with Classpath.&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any ideas/opinions?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>AG<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_0208_01C0FBDF.107D4DA0--



From cbj@gnu.org Sat Jun 23 16:59:02 2001
Received: from fe6.southeast.rr.com ([24.93.67.53] helo=Mail6.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15DuUg-00043r-00
	for <classpath@gnu.org>; Sat, 23 Jun 2001 16:59:02 -0400
Received: from lyta.haphazard.org ([66.26.242.52]) by Mail6.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Sat, 23 Jun 2001 16:59:00 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.0/8.11.0) id f5NKwxo22342;
	Sat, 23 Jun 2001 16:58:59 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: "Anthony Green" <green@redhat.com>
Cc: "Java@Gcc. Gnu. Org" <java@gcc.gnu.org>, <classpath@gnu.org>
Subject: Re: preprocessing java source
References: <020b01c0fc19$bdd66420$5be6b4cd@cygnus.com>
From: Brian Jones <cbj@gnu.org>
Date: 23 Jun 2001 16:58:59 -0400
In-Reply-To: "Anthony Green"'s message of "Sat, 23 Jun 2001 12:21:43 -0700"
Message-ID: <m3n16y29rg.fsf@lyta.haphazard.org>
Lines: 30
User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

"Anthony Green" <green@redhat.com> writes:

> I'd like to experiment with creating different runtime profiles,
> similar to the J2ME profiles for embedded systems.
> 
> This will require different versions of some of the core classes (no
> floating point, no finalization, etc).  I can just copy the .java
> files and maintain different versions -- but I'd rather just
> conditionally compile the code.
> 
> I think the only preprocessing required will be to support...
> 
> #ifdef USE_FINALIZATION
> #else
> #endif
> 
> ...style preprocessing.
> 
> I wouldn't be so worried if we didn't share code with Classpath.  
> 
> Any ideas/opinions?

I think it is okay to do this as long as it becomes supported within
the build structure of both projects.  I'm not familiar enough with
the profiles structure you mention to comment on the technical merits
of this approach.

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


From abies@pg.gda.pl Sat Jun 23 18:54:05 2001
Received: from serwer.osi.gda.pl ([213.25.180.210] helo=lite.osi.gda.pl)
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 15DwI0-0007Nm-00
	for <classpath@gnu.org>; Sat, 23 Jun 2001 18:54:04 -0400
Received: from ip100.osi ([192.168.1.100] helo=pg.gda.pl)
	by lite.osi.gda.pl with esmtp (Exim 3.12 #1 (Debian))
	id 15DwHT-0003Wy-00
	for <classpath@gnu.org>; Sun, 24 Jun 2001 00:53:31 +0200
Message-ID: <3B351E05.5915565B@pg.gda.pl>
Date: Sun, 24 Jun 2001 00:53:57 +0200
From: Artur Biesiadowski <abies@pg.gda.pl>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: pl,en
MIME-Version: 1.0
To: ClassPath List <classpath@gnu.org>
Subject: Re: preprocessing java source
References: <020b01c0fc19$bdd66420$5be6b4cd@cygnus.com>
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 7bit
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>


> Anthony Green wrote:
> 
> I'd like to experiment with creating different runtime profiles,
> similar to the J2ME profiles for embedded systems.
> 
> This will require different versions of some of the core classes (no
> floating point, no finalization, etc).  I can just copy the .java
> files and maintain different versions -- but I'd rather just
> conditionally compile the code.
> 
> I think the only preprocessing required will be to support...
> 
> #ifdef USE_FINALIZATION
> #else
> #endif
> 
> ...style preprocessing.
> 
> I wouldn't be so worried if we didn't share code with Classpath.


I would suggest not forcing any preprocessor by default (for full
class). Then using some invisible tags (like //IFDEF something )
conditionally leave something out of compilation for smaller targets.

This can be problematic if simplier version would have to provide
different implementation instead of just leaving out some pieces of
code, but I think that having 'pure' java source files for basic
configuration is quite important (forcing windows users to use gnu
command line tools to compile classpath is not a good idea).

Artur


From alk@pobox.com Sat Jun 23 22:14:45 2001
Received: from [199.199.248.19] (helo=poboxer.pobox.com)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15DzQC-0004so-00
	for <classpath@gnu.org>; Sat, 23 Jun 2001 22:14:44 -0400
Received: from spanky.love.edu.love.edu (spanky.love.edu [172.30.0.35])
	by poboxer.pobox.com (8.9.3/8.9.3) with ESMTP id DAA22931;
	Sun, 24 Jun 2001 03:25:06 -0500
From: Tony Kimball <alk@pobox.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15157.19739.682879.561853@spanky.love.edu>
Date: Sat, 23 Jun 2001 21:14:51 -0500
X-Face: \h9Jg:Cuivl4S*UP-)gO.6O=T]]@ncM*tn4zG);)lk#4|lqEx=*talx?.<li^!8ecK]}3L-
	6`ZQW3}kxy*5]B<KA"&iBl58"/$W-0PP`B7c%'XczR)8T0VN47L`rQlu8qBIX4TJ|v'D%:k7GO%v4A
	Os>Gk,dMQU2)ptPC17cpBzm(l'M|H8BUF1&]dDCxZ.c~Wy6-j,^V1E(NtX$FpkkdnJixsJHE95JlhO
	5\M3jh'YiO7KPCn0~W`Ro44_TB@&JuuqRqgPL'0/{):7rU-%.*@/>q?1&Ed
Reply-To: alk@pobox.com
To: green@redhat.com
Cc: java@gcc.gnu.org, classpath@gnu.org
Subject: preprocessing java source
References: <020b01c0fc19$bdd66420$5be6b4cd@cygnus.com>
X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Quoth Anthony Green on Saturday, 23 June:
: 
: Any ideas/opinions?
: 

ClassName.jpp  -[cpp]-> ClassName.java -[gcj -C]-> ClassName.class -[gcj -o]-> ClassName.o


From reiter@netspace.net.au Sun Jun 24 00:07:39 2001
Received: from whirlwind.netspace.net.au ([203.10.110.76])
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15E1BS-0007o4-00
	for <classpath@gnu.org>; Sun, 24 Jun 2001 00:07:39 -0400
Received: from aurora (aurora.netspace.net.au [203.10.110.112])
	by whirlwind.netspace.net.au (8.11.1/8.11.1) with SMTP id f5O47PS22053;
	Sun, 24 Jun 2001 14:07:25 +1000 (EST)
Date: Sun, 24 Jun 2001 14:08:22 +1000 (EST)
From: Peter Moulder <reiter@netspace.net.au>
X-Sender: reiter@aurora
To: Tony Kimball <alk@pobox.com>
cc: green@redhat.com, java@gcc.gnu.org, classpath@gnu.org
Subject: Re: preprocessing java source
In-Reply-To: <15157.19739.682879.561853@spanky.love.edu>
Message-ID: <Pine.GS4.4.02.10106241402360.14474-100000@aurora>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

On Sat, 23 Jun 2001, Tony Kimball wrote:

> Quoth Anthony Green on Saturday, 23 June:
> : 
> : Any ideas/opinions?
> : 
> 
> ClassName.jpp  -[cpp]-> ClassName.java -[gcj -C]-> ClassName.class -[gcj -o]-> ClassName.o

cpp produces `#' lines, which aren't valid in Java source.  [I don't know
whether or not some compilers accept `#' lines as an extension.]

I use this in my makefiles.  Make sure to add .cpp to .SUFFIXES
dependencies (or SUFFIXES variable if using automake).

.cpp:
#	# The two-step process is to remove `#LINENUM' strings while
#	# keeping line numbers the same as the input file (so long as no
#	# #include's).
#	# Note that `-P' isn't enough: it doesn't keep line numbers in
#	# sync (e.g. it doesn't leave a line corresponding to `#endif').
	$(CXXCPP) -C $(JAVACDEFINES) $< > $@.tmp
	sed -f $(srcdir)/cppjava.sed $@.tmp > $@
	rm -f $@.tmp

pjm.




From cbj@gnu.org Mon Jun 25 08:50:31 2001
Received: from fe5.southeast.rr.com ([24.93.67.52] helo=mail5.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15EVp0-0000kD-00
	for <classpath@gnu.org>; Mon, 25 Jun 2001 08:50:31 -0400
Received: from lyta.haphazard.org ([66.26.242.52]) by mail5.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Mon, 25 Jun 2001 08:50:29 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.0/8.11.0) id f5PCoTX20341;
	Mon, 25 Jun 2001 08:50:29 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: GNU Classpath <classpath@gnu.org>
Subject: building in separate directory
From: Brian Jones <cbj@gnu.org>
Date: 25 Jun 2001 08:50:29 -0400
Message-ID: <m31yo8g1uy.fsf@lyta.haphazard.org>
Lines: 11
User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

I've been able to build in a separate directory as of my changes
yesterday.  Basically I've tried creating a directory called 'build'
in the classpath directory and configuring with ../configure
[options].  It's still necessary to run
aclocal;autoheader;automake;autoconf in the classpath directory
though.  If someone finds a problem with this working for them let me
know how you tried to do it and what happened.

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


From toraneko@kun.ne.jp Mon Jun 25 10:04:17 2001
Received: from ms0.nttdata.co.jp ([163.135.193.231])
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 15EWyO-0002yL-00
	for <classpath@gnu.org>; Mon, 25 Jun 2001 10:04:17 -0400
Received: from mail1.nttdata.co.jp ([163.135.10.21])
	by ms0.nttdata.co.jp (8.9.3/3.7W-NTTDATA-TOP-03/21/01) with ESMTP id XAA05194
	for <classpath@gnu.org>; Mon, 25 Jun 2001 23:05:13 +0900 (JST)
Received: from geb.rd.nttdata.co.jp (localhost [127.0.0.1])
	by mail1.nttdata.co.jp (8.9.1/3.7W-NTTDATA-TOP-12/27/00) with ESMTP id XAA09826
	for <classpath@gnu.org>; Mon, 25 Jun 2001 23:03:10 +0900 (JST)
Received: from onuris.rd.nttdata.co.jp (onuris.rd.nttdata.co.jp [10.8.144.22])
	by geb.rd.nttdata.co.jp (8.9.3/3.7W/R8V8) with ESMTP id XAA13168
	for <classpath@gnu.org>; Mon, 25 Jun 2001 23:04:12 +0900 (JST)
Received: from piccolo.rd.nttdata.co.jp (RAS-10-8-157-16.rd.nttdata.co.jp [10.8.157.16] (may be forged))
	by onuris.rd.nttdata.co.jp (8.10.1/3.7W/R8V8) with ESMTP id f5PE4AK23578
	for <classpath@gnu.org>; Mon, 25 Jun 2001 23:04:10 +0900 (JST)
Date: Mon, 25 Jun 2001 23:04:59 +0900
Message-ID: <87vglky7sk.wl@piccolo.rd.nttdata.co.jp>
From: Takashi Okamoto <toraneko@kun.ne.jp>
To: classpath@gnu.org
Subject: character converter (Re: current work)
In-Reply-To: <E15DpsK-0003U3-00@fencepost.gnu.org>
References: <E15DpsK-0003U3-00@fencepost.gnu.org>
User-Agent: Wanderlust/2.5.8 (Smooth) SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.1 (AOI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

At Sat, 23 Jun 2001 12:03:08 -0400,
Brian Jones <cbj@gnu.org> wrote:
> I'll take a look at the UTF8 patch later today since it's just a 4
> line change, probably just commit it.

Thanks, it works fine. 

BTW, I found my names in Changelog. I prefer tora@debian.org to
toraneko@kun.ne.jp here. (So, I'm Debian Developer.)


Well, I want to add other japanese encodings like EUC-JP ,Shift_JIS...
Does anyone implement them? If not, I would try that.

I have following two opinions for character converters that are iconv
converter and Java converter.


[iconv converter]
(1) In the first, search encoding class like EncodeXXX.class DecodeXXX.class.
    If it's found, convert character with it.
(2) If it can't be found, try ICONVEncoder.class which use iconv
    function. iconv provide character converter by glibc.

This approach is similler to libgcj's Input_iconv.java. I don't need to
implement a lot of converter for each character set. But it depend on
glibc or iconv. We can't use classpath other than glibc platform.

- advantage
    work fast (iconv is written with C).
    less memory.
    implement just one converter. It supports any iconv encodings.

- disadvantage
    depend on iconv.


[Java converter]
Implement converter classes like EncoderEUC-JP.java or
EncoderEUC-KR.java for each charset. We must implement each encoder
and decoder, but they don't depend on glibc because it's written with Java.

- advantage
    work any system.

- disadvantage
    slow.
    spend much memory.
    must implement each character converter.


I prefer implementing iconv converter for glibc 2.2. It is able to
implement Java converer which is priorer than iocnv converter
later. 

Does anybody have other opinion? Should I implement it?

regards.
---------------
 ^^  	Takashi Okamoto     <tora at debian.org>
= ..=	Debian Project      http://www.debian.org/
 -o-	  Key fingerprint:
            8B37 1FE6 76B2 7BA6 D59A  9BF7 E7F4 46C8 5293 6E17



From cbj@gnu.org Mon Jun 25 10:18:20 2001
Received: from fe8.southeast.rr.com ([24.93.67.55] helo=mail8.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15EXBz-0003TA-00
	for <classpath@gnu.org>; Mon, 25 Jun 2001 10:18:20 -0400
Received: from lyta.haphazard.org ([66.26.242.52]) by mail8.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Mon, 25 Jun 2001 00:55:45 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.0/8.11.0) id f5P4tjR19212;
	Mon, 25 Jun 2001 00:55:45 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Takashi Okamoto <toraneko@kun.ne.jp>
Cc: classpath@gnu.org
Subject: Re: [PATCH] EncoderUTF8.java
References: <87k823em5x.wl@piccolo.rd.nttdata.co.jp>
From: Brian Jones <cbj@gnu.org>
Date: 25 Jun 2001 00:55:45 -0400
In-Reply-To: Takashi Okamoto's message of "Sat, 23 Jun 2001 15:38:02 +0900"
Message-ID: <m3ithl17la.fsf@lyta.haphazard.org>
Lines: 14
User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Takashi Okamoto <toraneko@kun.ne.jp> writes:

> Hello.
> 
> I found that gnu.java.io.encode.EncoderUTF8 is broken while I was
> trying Intel ORP. I attached patch for valid utf-8 encoding.

Thank you Takashi,

I've commited your change giving you credit for the patch.

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


From arenn@enteract.com Mon Jun 25 10:42:15 2001
Received: from smtp-1.enteract.com ([207.229.143.33])
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 15EXZ9-0004Nq-00
	for <classpath@gnu.org>; Mon, 25 Jun 2001 10:42:15 -0400
Received: from shell-3.enteract.com (shell-3.enteract.com [207.229.143.42])
	by smtp-1.enteract.com (Postfix) with ESMTP
	id AFB53665F; Mon, 25 Jun 2001 09:42:14 -0500 (CDT)
Received: (from arenn@localhost)
	by shell-3.enteract.com (8.11.2/8.11.2) id f5PEgDN72545;
	Mon, 25 Jun 2001 09:42:13 -0500 (CDT)
	(envelope-from arenn)
Date: Mon, 25 Jun 2001 09:42:13 -0500
From: "Aaron M. Renn" <arenn@urbanophile.com>
To: Takashi Okamoto <toraneko@kun.ne.jp>
Cc: classpath@gnu.org
Subject: Re: character converter (Re: current work)
Message-ID: <20010625094213.A70788@urbanophile.com>
Mail-Followup-To: "Aaron M. Renn" <arenn@urbanophile.com>,
	Takashi Okamoto <toraneko@kun.ne.jp>, classpath@gnu.org
References: <E15DpsK-0003U3-00@fencepost.gnu.org> <87vglky7sk.wl@piccolo.rd.nttdata.co.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <87vglky7sk.wl@piccolo.rd.nttdata.co.jp>; from toraneko@kun.ne.jp on Mon, Jun 25, 2001 at 11:04:59PM +0900
Organization: GNU's Not Unix!
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Takashi Okamoto (toraneko@kun.ne.jp) wrote:
> Well, I want to add other japanese encodings like EUC-JP ,Shift_JIS...
> Does anyone implement them? If not, I would try that.

Thanks for your contribution.  Implementing these character encodings 
would be very helpful.  There seemed to be some difference in how
character encodings were handled between Classpath and the Cygnus
code.  We should probably ensure that there is a common mechanism
going forward so that we don't end up with rework.  I'm particularly
interested to see how the framework will handle complex character sets.
 
> I have following two opinions for character converters that are iconv
> converter and Java converter.
 
Ah, I see you've already thought of this.  The easiest way for now is
probably to use iconv, whatever that is.  If necessary, we can
distribute the files from it ourselves if we need to build outside of
a glibc environment.  However, somebody ought to look at a quick
performance benchmark.  The gcj code is designed to call native C++
using CNI, which is a high performance interface.  Our previous
experience with Japhar indicates that standard JNI interface can have
a substantial performance penalty versus native Java code.  For a
core function such as character conversions, we don't want to end up
with a solution that has poor performance.

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


From tromey@creche.cygnus.com Mon Jun 25 12:00:01 2001
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 15EYmP-0007Qf-00
	for <classpath@gnu.org>; Mon, 25 Jun 2001 12:00:01 -0400
Received: from creche.cygnus.com (tq0146.peakpeak.com [207.174.177.146])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id JAA00838;
	Mon, 25 Jun 2001 09:59:34 -0600
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id KAA04115;
	Mon, 25 Jun 2001 10:18:11 -0600
To: "Aaron M. Renn" <arenn@urbanophile.com>
Cc: Takashi Okamoto <toraneko@kun.ne.jp>, classpath@gnu.org
Subject: Re: character converter (Re: current work)
References: <E15DpsK-0003U3-00@fencepost.gnu.org> <87vglky7sk.wl@piccolo.rd.nttdata.co.jp> <20010625094213.A70788@urbanophile.com>
X-Zippy:  I feel like I am sharing a ``CORN-DOG'' with NIKITA KHRUSCHEV..
X-Attribution:  Tom
Reply-To: tromey@redhat.com
From: Tom Tromey <tromey@redhat.com>
Date: 25 Jun 2001 10:18:10 -0600
In-Reply-To: "Aaron M. Renn"'s message of "Mon, 25 Jun 2001 09:42:13 -0500"
Message-ID: <87ae2wcz3x.fsf@creche.redhat.com>
Lines: 23
X-Mailer: Gnus v5.7/Emacs 20.5
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Aaron" == Aaron M Renn <arenn@urbanophile.com> writes:

Aaron> We should probably ensure that there is a common mechanism
Aaron> going forward so that we don't end up with rework.  I'm
Aaron> particularly interested to see how the framework will handle
Aaron> complex character sets.

I agree.  This is a tricky area though, and the libgcj code is
undergoing some discussion.  For instance we discovered that the
String(byte[]) constructor was creating too much garbage if you
converted a large number of strings.  That's because it was creating a
new converter for each string.  So now we're looking at a way to reuse
converters (the patch isn't in yet but probably will be soon).

Takashi> Well, I want to add other japanese encodings like EUC-JP
Takashi> ,Shift_JIS... Does anyone implement them? If not, I would try
Takashi> that.

libgcj has converters for a few Japanese encodings.  If the character
set interface were unified then Classpath could simply use these.
Note that this isn't a trivial amount of work.

Tom


From abies@pg.gda.pl Mon Jun 25 15:11:40 2001
Received: from delysid.gnu.org ([158.121.106.20])
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15Eblr-0005Pj-00
	for <classpath@gnu.org>; Mon, 25 Jun 2001 15:11:39 -0400
Received: from serwer.osi.gda.pl ([213.25.180.210] helo=lite.osi.gda.pl)
	by delysid.gnu.org with smtp (Exim 3.20 #1)
	id 15EblT-0005hm-00
	for <classpath@gnu.org>; Mon, 25 Jun 2001 15:11:15 -0400
Received: from ip100.osi ([192.168.1.100] helo=pg.gda.pl)
	by lite.osi.gda.pl with esmtp (Exim 3.12 #1 (Debian))
	id 15EbgJ-0002PB-00
	for <classpath@gnu.org>; Mon, 25 Jun 2001 21:05:55 +0200
Message-ID: <3B378BAD.82B18DD8@pg.gda.pl>
Date: Mon, 25 Jun 2001 21:06:21 +0200
From: Artur Biesiadowski <abies@pg.gda.pl>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: pl,en
MIME-Version: 1.0
To: ClassPath List <classpath@gnu.org>
Subject: Re: character converter (Re: current work)
References: <E15DpsK-0003U3-00@fencepost.gnu.org> <87vglky7sk.wl@piccolo.rd.nttdata.co.jp> <20010625094213.A70788@urbanophile.com> <87ae2wcz3x.fsf@creche.redhat.com>
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 7bit
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Tom Tromey wrote:

> I agree.  This is a tricky area though, and the libgcj code is
> undergoing some discussion.  For instance we discovered that the
> String(byte[]) constructor was creating too much garbage if you
> converted a large number of strings.  That's because it was creating a
> new converter for each string.  So now we're looking at a way to reuse
> converters (the patch isn't in yet but probably will be soon).


If you are looking into redisigning converters a bit, please take a look
at jdk 1.4 java.nio.charset package. It works on Buffers, so is not
directly usable, but it might be nice to create encoders/decoders so
they could be used later for nio.charset without big change. There is
also one idea I like there - each converter has averageBytesPerChar
float variable, which is a hint for internal allocations.

Artur


From robilad@yahoo.com Mon Jun 25 17:42:52 2001
Received: from smtp016.mail.yahoo.com ([216.136.174.113])
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 15Ee8C-0002bA-00
	for <classpath@gnu.org>; Mon, 25 Jun 2001 17:42:52 -0400
Received: from du-006-048.access.de.clara.net (HELO linux) (212.82.229.48)
  by smtp.mail.vip.sc5.yahoo.com with SMTP; 25 Jun 2001 21:42:50 -0000
X-Apparently-From: <robilad@yahoo.com>
From: Dalibor Topic <robilad@yahoo.com>
To: ClassPath List <classpath@gnu.org>
Subject: Re: character converter (Re: current work)
Date: Mon, 25 Jun 2001 23:30:51 +0200
X-Mailer: KMail [version 1.1.99]
Content-Type: text/plain;
  charset="iso-8859-2"
References: <E15DpsK-0003U3-00@fencepost.gnu.org> <87ae2wcz3x.fsf@creche.redhat.com> <3B378BAD.82B18DD8@pg.gda.pl>
In-Reply-To: <3B378BAD.82B18DD8@pg.gda.pl>
MIME-Version: 1.0
Message-Id: <01062523290901.00556@linux>
Content-Transfer-Encoding: 8bit
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Am Montag, 25. Juni 2001 21:06 schrieben Sie:
> Tom Tromey wrote:
> > I agree.  This is a tricky area though, and the libgcj code is
> > undergoing some discussion.  For instance we discovered that the
> > String(byte[]) constructor was creating too much garbage if you
> > converted a large number of strings.  That's because it was creating a
> > new converter for each string.  So now we're looking at a way to reuse
> > converters (the patch isn't in yet but probably will be soon).

Given that some encodings are stateless, wouldn't it be better to just use a 
single static instance for those?

> If you are looking into redisigning converters a bit, please take a look
> at jdk 1.4 java.nio.charset package. It works on Buffers, so is not
> directly usable, but it might be nice to create encoders/decoders so
> they could be used later for nio.charset without big change. There is
> also one idea I like there - each converter has averageBytesPerChar
> float variable, which is a hint for internal allocations.

The current CVS version of Kaffe has got a converter implementation by 
Edouard G. Parmelan that uses iconv, so you might like to check that out as 
well. They also have a tool that automatically goes through the i18n maps and 
generates Java converters.

bye,

Dalibor Topic

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



From green@redhat.com Mon Jun 25 21:01:55 2001
Received: from runyon.cygnus.com ([205.180.230.5] helo=cygnus.com)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15EhEp-0000bg-00
	for <classpath@gnu.org>; Mon, 25 Jun 2001 21:01:55 -0400
Received: from locutus (locutus.cygnus.com [205.180.230.91])
	by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with SMTP id SAA27896;
	Mon, 25 Jun 2001 18:01:44 -0700 (PDT)
Message-ID: <010801c0fddb$b9f9e0c0$5be6b4cd@cygnus.com>
From: "Anthony Green" <green@redhat.com>
To: <tromey@redhat.com>, "Artur Biesiadowski" <abies@pg.gda.pl>
Cc: "Java Discuss List" <java@gcc.gnu.org>, <classpath@gnu.org>
References: <020b01c0fc19$bdd66420$5be6b4cd@cygnus.com> <3B351E05.5915565B@pg.gda.pl> <87wv61ohxy.fsf@creche.redhat.com>
Subject: Re: preprocessing java source
Date: Mon, 25 Jun 2001 18:02:51 -0700
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 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Tom wrote:
> I think ideally the preprocessor would simply comment out lines
> instead of removing them.  That way the line numbers match with the
> original source.

It seems to be a very simple matter to post-process the preprocessor output
containing #line directives into a properly spaced file.  Does the Classpath
build process allow for building and running a tiny C program to do this?

AG






From cbj@gnu.org Mon Jun 25 21:37:34 2001
Received: from mail7.southeast.rr.com ([24.93.67.54] helo=mail7.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15EhnK-0001qM-00
	for <classpath@gnu.org>; Mon, 25 Jun 2001 21:37:34 -0400
Received: from lyta.haphazard.org ([66.26.242.52]) by mail7.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Mon, 25 Jun 2001 21:37:23 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.0/8.11.0) id f5Q1bJx22198;
	Mon, 25 Jun 2001 21:37:19 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: "Anthony Green" <green@redhat.com>
Cc: <tromey@redhat.com>, "Artur Biesiadowski" <abies@pg.gda.pl>,
   "Java Discuss List" <java@gcc.gnu.org>, <classpath@gnu.org>
Subject: Re: preprocessing java source
References: <020b01c0fc19$bdd66420$5be6b4cd@cygnus.com> <3B351E05.5915565B@pg.gda.pl> <87wv61ohxy.fsf@creche.redhat.com> <010801c0fddb$b9f9e0c0$5be6b4cd@cygnus.com>
From: Brian Jones <cbj@gnu.org>
Date: 25 Jun 2001 21:37:19 -0400
In-Reply-To: "Anthony Green"'s message of "Mon, 25 Jun 2001 18:02:51 -0700"
Message-ID: <m3pubsxbqo.fsf@lyta.haphazard.org>
Lines: 26
User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

"Anthony Green" <green@redhat.com> writes:

> Tom wrote:
> > I think ideally the preprocessor would simply comment out lines
> > instead of removing them.  That way the line numbers match with the
> > original source.
> 
> It seems to be a very simple matter to post-process the preprocessor output
> containing #line directives into a properly spaced file.  Does the Classpath
> build process allow for building and running a tiny C program to do this?
> 

The only problem I have at the moment has to do with
the $(top_builddir)/vm/current symbolic link.  I think that with a few
modifications to several places I can get rid of it.  

That said, the preprocessor should probably be executed somewhere in
lib/Makefile.am and output should be directed towards
$(top_builddir)/$file.  Alternately maybe change the compile order to
recurse java, gnu, and javax before compiling in lib, still
redirecting output to the appropriate $builddir.  java/lang/String
would go in $(top_builddir)/java/lang/ for instance.  

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


From toraneko@kun.ne.jp Mon Jun 25 22:29:10 2001
Received: from ms1.nttdata.co.jp ([163.135.193.232])
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 15EibF-0003Fm-00
	for <classpath@gnu.org>; Mon, 25 Jun 2001 22:29:10 -0400
Received: from mail1.nttdata.co.jp ([163.135.10.21])
	by ms1.nttdata.co.jp (8.9.3/3.7W-NTTDATA-TOP-03/21/01) with ESMTP id LAA05177
	for <classpath@gnu.org>; Tue, 26 Jun 2001 11:29:06 +0900 (JST)
Received: from geb.rd.nttdata.co.jp (localhost [127.0.0.1])
	by mail1.nttdata.co.jp (8.9.1/3.7W-NTTDATA-TOP-12/27/00) with ESMTP id LAA03886
	for <classpath@gnu.org>; Tue, 26 Jun 2001 11:28:02 +0900 (JST)
Received: from onuris.rd.nttdata.co.jp (onuris.rd.nttdata.co.jp [10.8.144.22])
	by geb.rd.nttdata.co.jp (8.9.3/3.7W/R8V8) with ESMTP id LAA27544
	for <classpath@gnu.org>; Tue, 26 Jun 2001 11:29:05 +0900 (JST)
Received: from piccolo.rd.nttdata.co.jp (piccolo.rd.nttdata.co.jp [10.8.129.83])
	by onuris.rd.nttdata.co.jp (8.10.1/3.7W/R8V8) with ESMTP id f5Q2T4K11675
	for <classpath@gnu.org>; Tue, 26 Jun 2001 11:29:04 +0900 (JST)
Date: Tue, 26 Jun 2001 11:29:59 +0900
Message-ID: <87bsncht20.wl@piccolo.rd.nttdata.co.jp>
From: Takashi Okamoto <toraneko@kun.ne.jp>
To: classpath@gnu.org
Subject: Re: Classpath digest, Vol 1 #180 - 5 msgs
In-Reply-To: <E15EYpS-0007XS-00@fencepost.gnu.org>
References: <E15EYpS-0007XS-00@fencepost.gnu.org>
User-Agent: Wanderlust/2.5.8 (Smooth) SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.1 (AOI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

At Mon, 25 Jun 2001 12:03:10 -0400,
wrote Tom:
> For instance we discovered that the String(byte[]) constructor was
> creating too much garbage if you converted a large number of
> strings.  That's because it was creating a new converter for each
> string.  So now we're looking at a way to reuse converters (the
> patch isn't in yet but probably will be soon).

Should I wait it?

> Takashi> Well, I want to add other japanese encodings like EUC-JP
> Takashi> ,Shift_JIS... Does anyone implement them? If not, I would try
> Takashi> that.
> 
> libgcj has converters for a few Japanese encodings.  If the character
> set interface were unified then Classpath could simply use these.

I see. But IMO, libgcj's Japanese converter isn't good idea because
converters are provided with native interface. If I use native
interface, I would prefer iconv. If I don't use native interface, I
prefer _Java_ converter though it may lost performance...

I also refered CharToByteEUC_JP.java and ByteToCharEUC_JP.java in
Kaffe. They are more reusable because they are separated character
tables from converter classes.

Could we migrate Kaffe's (it's GPL) code ? 
----
Takashi Okamoto







From gansha.wu@intel.com Wed Jun 27 22:32:49 2001
Received: from hypnos.cps.intel.com ([192.198.165.17])
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15FRbt-0004qI-00
	for <classpath@gnu.org>; Wed, 27 Jun 2001 22:32:49 -0400
Received: from SMTP (fmsmsxvs03-1.fm.intel.com [132.233.42.203])
	by hypnos.cps.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.40 2001/06/06 21:14:49 root Exp $) with SMTP id CAA12526
	for <classpath@gnu.org>; Thu, 28 Jun 2001 02:32:47 GMT
Received: from fmsmsx19.fm.intel.com ([132.233.48.19]) by 132.233.48.203
  (Norton AntiVirus for Internet Email Gateways 1.0) ;
  Thu, 28 Jun 2001 02:32:47 0000 (GMT)
Received: by fmsmsx19.fm.intel.com with Internet Mail Service (5.5.2653.19)
	id <NKZ44YHC>; Wed, 27 Jun 2001 19:32:45 -0700
Received: from fmsmsxfw01.fm.intel.com (FMSMSXFW01 [10.1.199.21]) by fmsmsx27.FM.INTEL.COM with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id NSW8A018; Wed, 27 Jun 2001 19:32:44 -0700
Received: by FMSMSXFW01 with Internet Mail Service (5.5.2653.19)
	id <N3T55H8L>; Thu, 28 Jun 2001 10:36:24 +0800
Message-ID: <A577A8CE35DBD211AC3F00A0C9E0115403E03EA5@bjsmsx90.bj.intel.com>
From: "Wu, Gansha" <gansha.wu@intel.com>
To: "'classpath@gnu.org'" <classpath@gnu.org>
Subject: Inappropriate use of synchronized in PlainSocketImpl: Submit for 
	Classpath
Date: Thu, 28 Jun 2001 10:33:22 +0800
X-Mailer: Internet Mail Service (5.5.2653.19)
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

    We have modified GNU Classpath so that ORP with Classpath can run Volano. Here is the first of the patches needed for that.
    We found that Classpath's implementation of PlainSocketImpl(in java/net/PlainsocketImpl.java) overused synchronized keyword before almost all the native methods such as read, write, etc.. Generally speaking native socket implementation(e.g., Winsock) takes the responsibility for thread-safety, and if we raise the responsibility up to Java language level, there'll be problems here in multi-threaded senarios.
    The following is a simple senario in Volano benchmark which will lead to deadlock using current implementation of classpath:

       Server:           |    Client:
                         |    Thread A:               Thread B:
 ... ...                 |    sock1.read(.....).
                         |    //waiting for item B    
                         |                            sock1.write(.....).
 sock.read(.....).       |                            //sending item A
 //waiting for item A    |
 sock.write(.....).      \/
 //sending item B       time
 
    Obviously in thread A, "sock1" blocks on read, and write of thread B will block on the same "sock1", and Server will block in turn.
    In a word, if different threads read/write the same socket, current implementation will potentially cause dead-lock.
    So our suggestion is to remove synchronized keyword from read/write native methods.

    The context compare result below is based on gnu classpath cvs snapshot of June 22.Note that revision number is different

Index: java/net/PlainSocketImpl.java
===================================================================
RCS file: /cvsroot/classpath/java/net/PlainSocketImpl.java,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 PlainSocketImpl.java
*** java/net/PlainSocketImpl.java       2001/06/25 01:13:33     1.1.1.1
--- java/net/PlainSocketImpl.java       2001/06/25 01:24:32
***************
*** 204,210 ****
    *
    * @exception IOException If an error occurs
    */
! protected native synchronized int read(byte[] buf, int offset, int len) throws IOException;

  /*************************************************************************/

--- 204,210 ----
    *
    * @exception IOException If an error occurs
    */
! protected native int read(byte[] buf, int offset, int len) throws IOException;

  /*************************************************************************/

***************
*** 215,221 ****
    *
    * @exception IOException If an error occurs
    */
! protected native synchronized void write(byte[] buf, int offset, int len) throws IOException;

  /*************************************************************************/

--- 215,221 ----
    *
    * @exception IOException If an error occurs
    */
! protected native void write(byte[] buf, int offset, int len) throws IOException;

  /*************************************************************************/



From doylep@picton.eecg.toronto.edu Wed Jun 27 23:03:27 2001
Received: from picton.eecg.toronto.edu ([128.100.10.141])
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15FS5X-000671-00
	for <classpath@gnu.org>; Wed, 27 Jun 2001 23:03:27 -0400
Received: from wildcat.eecg.toronto.edu ([128.100.24.90]:4986 "EHLO wildcat.eecg.toronto.edu") by picton.eecg.toronto.edu with ESMTP id <S290424AbRF1DDE>; Wed, 27 Jun 2001 23:03:04 -0400
Date:	Wed, 27 Jun 2001 23:03:04 -0400 (EDT)
From:	Patrick Doyle <doylep@eecg.toronto.edu>
X-Sender: doylep@wildcat.eecg.toronto.edu
To:	classpath@gnu.org
Subject: Constructing java.lang.String in constant pool
Message-ID: <Pine.LNX.4.10.10106272251070.7010-100000@wildcat.eecg.toronto.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

What is the best way for a JVM to instantiate a String for a constant pool
entry of type "CONSTANT_String"?  I'm looking for the most straightforward
approach that won't cause me a lot of grief down the road.  There are a
number of constructors for String; should I use one of those, or just use
my inside knowledge of the String class to construct an instance manually?

The closest thing to sanity I can think of is to convert the UTF8-encoded
characters into a char array and then use the String(char[], length)
constructor.  AFAIK I would have to implement the conversion myself.

Does this seem like the right approach?

Thanks!

--
Patrick Doyle
doylep@eecg.toronto.edu



From cbj@gnu.org Thu Jun 28 08:09:36 2001
Received: from fe5.southeast.rr.com ([24.93.67.52] helo=mail5.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15Fac4-0001EB-00
	for <classpath@gnu.org>; Thu, 28 Jun 2001 08:09:36 -0400
Received: from lyta.haphazard.org ([66.26.242.52]) by mail5.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Thu, 28 Jun 2001 08:09:32 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.0/8.11.0) id f5SC9VY30454;
	Thu, 28 Jun 2001 08:09:31 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Patrick Doyle <doylep@eecg.toronto.edu>
Cc: classpath@gnu.org
Subject: Re: Constructing java.lang.String in constant pool
References: <Pine.LNX.4.10.10106272251070.7010-100000@wildcat.eecg.toronto.edu>
From: Brian Jones <cbj@gnu.org>
Date: 28 Jun 2001 08:09:31 -0400
In-Reply-To: Patrick Doyle's message of "Wed, 27 Jun 2001 23:03:04 -0400 (EDT)"
Message-ID: <m3hex0yfes.fsf@lyta.haphazard.org>
Lines: 20
User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Patrick Doyle <doylep@eecg.toronto.edu> writes:

> What is the best way for a JVM to instantiate a String for a constant pool
> entry of type "CONSTANT_String"?  I'm looking for the most straightforward
> approach that won't cause me a lot of grief down the road.  There are a
> number of constructors for String; should I use one of those, or just use
> my inside knowledge of the String class to construct an instance manually?
> 
> The closest thing to sanity I can think of is to convert the UTF8-encoded
> characters into a char array and then use the String(char[], length)
> constructor.  AFAIK I would have to implement the conversion myself.
> 
> Does this seem like the right approach?

I don't know if this matters, but your approach seems to ignore locale
encoding.

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


From cbj@gnu.org Thu Jun 28 08:24:48 2001
Received: from fe5.southeast.rr.com ([24.93.67.52] helo=mail5.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15Faqm-0001oD-00
	for <classpath@gnu.org>; Thu, 28 Jun 2001 08:24:48 -0400
Received: from lyta.haphazard.org ([66.26.242.52]) by mail5.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Thu, 28 Jun 2001 08:24:47 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.0/8.11.0) id f5SCOlm30585;
	Thu, 28 Jun 2001 08:24:47 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: "Wu, Gansha" <gansha.wu@intel.com>
Cc: "'classpath@gnu.org'" <classpath@gnu.org>
Subject: Re: Inappropriate use of synchronized in PlainSocketImpl: Submit for  Classpath
References: <A577A8CE35DBD211AC3F00A0C9E0115403E03EA5@bjsmsx90.bj.intel.com>
From: Brian Jones <cbj@gnu.org>
Date: 28 Jun 2001 08:24:47 -0400
In-Reply-To: "Wu, Gansha"'s message of "Thu, 28 Jun 2001 10:33:22 +0800"
Message-ID: <m3d77oyepc.fsf@lyta.haphazard.org>
Lines: 20
User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

"Wu, Gansha" <gansha.wu@intel.com> writes:

>     We have modified GNU Classpath so that ORP with Classpath can
>     run Volano. Here is the first of the patches needed for that.
>     We found that Classpath's implementation of PlainSocketImpl(in
>     java/net/PlainsocketImpl.java) overused synchronized keyword
>     before almost all the native methods such as read, write,
>     etc.. Generally speaking native socket implementation(e.g.,
>     Winsock) takes the responsibility for thread-safety, and if we
>     raise the responsibility up to Java language level, there'll be
>     problems here in multi-threaded senarios.  

I can see the problem you're talking about given your explanation.  I
can make these changes but I won't be able to inspect our native code
on this until I get to the point of merging these with gcj.  Aaron,
you want to make a comment?

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


From doylep@picton.eecg.toronto.edu Thu Jun 28 10:44:28 2001
Received: from picton.eecg.toronto.edu ([128.100.10.141])
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15Fd1u-0006Ng-00
	for <classpath@gnu.org>; Thu, 28 Jun 2001 10:44:26 -0400
Received: from wildcat.eecg.toronto.edu ([128.100.24.90]:4989 "EHLO wildcat.eecg.toronto.edu") by picton.eecg.toronto.edu with ESMTP id <S290425AbRF1OoR>; Thu, 28 Jun 2001 10:44:17 -0400
Date:	Thu, 28 Jun 2001 10:44:17 -0400 (EDT)
From:	Patrick Doyle <doylep@eecg.toronto.edu>
X-Sender: doylep@wildcat.eecg.toronto.edu
To:	classpath@gnu.org
Subject: Re: Constructing java.lang.String in constant pool
In-Reply-To: <m3hex0yfes.fsf@lyta.haphazard.org>
Message-ID: <Pine.LNX.4.10.10106281036410.8003-100000@wildcat.eecg.toronto.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

On 28 Jun 2001, Brian Jones wrote:

> Patrick Doyle <doylep@eecg.toronto.edu> writes:
> 
> > The closest thing to sanity I can think of is to convert the UTF8-encoded
> > characters into a char array and then use the String(char[], length)
> > constructor.  AFAIK I would have to implement the conversion myself.
> > 
> > Does this seem like the right approach?
> 
> I don't know if this matters, but your approach seems to ignore locale
> encoding.

Yes, I had considered that briefly, but the JVM spec doesn't mention
locale encoding in its description of the constant pool.  A
CONSTANT_String entry points to a CONSTANT_Utf8 entry, and the conversion
of that to Unicode is described in the spec, section 4.4.7:

http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#7963

That appears to be all there is to the story.  Am I missing something?

Thanks for your help.

--
Patrick Doyle
doylep@eecg.toronto.edu




From tromey@creche.cygnus.com Thu Jun 28 11:24:42 2001
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 15Fder-0000dz-00
	for <classpath@gnu.org>; Thu, 28 Jun 2001 11:24:42 -0400
Received: from creche.cygnus.com (tq0146.peakpeak.com [207.174.177.146])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id JAA28714;
	Thu, 28 Jun 2001 09:24:32 -0600
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id JAA08973;
	Thu, 28 Jun 2001 09:43:56 -0600
To: Patrick Doyle <doylep@eecg.toronto.edu>
Cc: classpath@gnu.org
Subject: Re: Constructing java.lang.String in constant pool
References: <Pine.LNX.4.10.10106272251070.7010-100000@wildcat.eecg.toronto.edu>
X-Zippy:  We are now enjoying total mutual interaction in an imaginary hot tub...
X-Attribution:  Tom
Reply-To: tromey@redhat.com
From: Tom Tromey <tromey@redhat.com>
Date: 28 Jun 2001 09:43:55 -0600
In-Reply-To: Patrick Doyle's message of "Wed, 27 Jun 2001 23:03:04 -0400 (EDT)"
Message-ID: <87ithg38zo.fsf@creche.redhat.com>
Lines: 13
X-Mailer: Gnus v5.7/Emacs 20.5
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Patrick" == Patrick Doyle <doylep@eecg.toronto.edu> writes:

Patrick> What is the best way for a JVM to instantiate a String for a
Patrick> constant pool entry of type "CONSTANT_String"?

Use the JNI `NewString' call.  It takes a nul-terminated UTF-8 encoded
`char *' and returns a jstring.  The termination will probably be a
problem for you :-(

Or maybe you mean you want to implement this call.  In that case your
plan of using String(char[]) sounds as good as any.

Tom


From gansha.wu@intel.com Thu Jun 28 21:45:25 2001
Received: from fmfdns02.fm.intel.com ([132.233.247.11] helo=thalia.fm.intel.com)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15FnLY-0002Xg-00
	for <classpath@gnu.org>; Thu, 28 Jun 2001 21:45:24 -0400
Received: from SMTP (fmsmsxvs02-1.fm.intel.com [132.233.42.202])
	by thalia.fm.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.40 2001/06/06 21:14:49 root Exp $) with SMTP id BAA28782
	for <classpath@gnu.org>; Fri, 29 Jun 2001 01:45:05 GMT
Received: from fmsmsx29.FM.INTEL.COM ([132.233.48.29]) by 132.233.48.202
  (Norton AntiVirus for Internet Email Gateways 1.0) ;
  Fri, 29 Jun 2001 01:45:05 0000 (GMT)
Received: by fmsmsx29.fm.intel.com with Internet Mail Service (5.5.2653.19)
	id <NKL6YHNP>; Thu, 28 Jun 2001 18:45:04 -0700
Received: from fmsmsxfw01.fm.intel.com (FMSMSXFW01 [10.1.199.21]) by fmsmsx27.FM.INTEL.COM with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id NSW8FQB5; Thu, 28 Jun 2001 18:44:57 -0700
Received: by FMSMSXFW01 with Internet Mail Service (5.5.2653.19)
	id <N3T5578Y>; Fri, 29 Jun 2001 09:48:38 +0800
Message-ID: <A577A8CE35DBD211AC3F00A0C9E0115403E03EAD@bjsmsx90.bj.intel.com>
From: "Wu, Gansha" <gansha.wu@intel.com>
To: "'classpath@gnu.org'" <classpath@gnu.org>
Subject: The problem of Hashtable/Enumerator implementation of Classpath
Date: Fri, 29 Jun 2001 09:45:46 +0800
X-Mailer: Internet Mail Service (5.5.2653.19)
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

        We have modified GNU Classpath so that ORP with Classpath can run SpecJVM98/Javac. Here is the patch we want to submit for evaluation.
        The problem is when we run ORP with Classpath, NoSuchElementException is throwed, but JDK won't. We guess the problem resides in Hashtable/Enumerator.
        In principle, NoSuchElementException shouldn't be throwed if hasMoreElements() is called before nextElement(). But After inserting trace facilities into Enumerator, hasMoreElements() is really called before calling nextElement() each time.
        We finally identified the problem resides in the Enumerator of Hashtable. If we put new (key,value) pairs into hashtable when navigating in enumeration of it, NoSuchElementException will be throwed unexpectedly.
        According to "Java Class Libraries, Second Edition, Volume 1": "Whether modifications to this hash table during enumeration affect the results of the enumeration depends on where the modifications occur.  For example, if a new key/element pair is added to the front of the hash table and the enumeration is nearing the end of the table, the newly added element will not be returned by this enumeration." Maybe it's OK to throw NoSuchElementException if you happen to remove the element that the enumeration points to, but It sounds unreasonable to throw NoSuchElementException if a new key/value is added to the hash table.
        Java 2 deals with this type of problem in the Java 2 collection classes by throwing a ConcurrentModificationException if a collection is modified in between 2 calls to an iterator on that collection.  This is nice because the behavior is well defined.  It looks like from the libraries book that in the non-Java 2 collections, the behavior is undefined. 
        We wrote test cases to observe the behavior under GNU Classpath and JDK library(abbr. as JDK), and found JDK behaves more elegantly than Classpath.
        The difference of JDK with Classpath is:
        1. Classpath will throw NoSuchElementException but JDK won't. As we have said, it's unreasonable.
        2. JDK will find the changing status much earlier and end enumeration soon after new pairs put in. But Classpath will continue enumerating until throwing exception. It's not efficient in Javac benchmarks. We found Javac will re-enumerate to check whether last enumeration exits abnormally, so Classpath will spend more costs in enumerate-exception-reenumerate cycles. The latest snapshot of Classpath redesigned Hashtable implementation and behaves somewhat similar to JDK.
        After explored Classpath's implementation, this exception will be throwed when hasMoreElements() returns true, but nextElement() finds no element left. The problem is hasMoreElements() is under the impact of new elements put in, considering its implementation:
        return count < Hashtable.this.size; //When new elements put in, Hashtable.this.size increments, but count keeps untouched
        So its assumption is nextElements() will also find these new elements. But nextElement() navigates forward under the estimation of current idx, while new elements might be put in the buckets this enumeration has visited(those with buckets index greater than idx). Then when idx of nextElements() has reached 0, but hasMoreElements() indicts there're still elements hasn't been enumerated. Exception happens.
        A sematically correct implementation must have hasMoreElements() do the same thing as nextElement to check whether iteration will continue. We can also do some housekeeping work to prevent the redundant enumeration cost.
        The following is our implementation of Enumerator for your evaluation. The context compare result below is based on gnu classpath cvs snapshot of June 22.Note that revision number is different from public CVS.

===================================================================
RCS file: /cvsroot/classpath/java/util/Hashtable.java,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 Hashtable.java
*** java/util/Hashtable.java    2001/06/25 01:13:33     1.1.1.1
--- java/util/Hashtable.java    2001/06/28 02:49:20
***************
*** 827,876 ****
     *
     * @author       Jon Zeppieri
     */
!   class Enumerator implements Enumeration
!   {
!     static final int KEYS = 0;
!     static final int VALUES = 1;
!
!     int type;
!     // The total number of elements returned by nextElement(). Used to
!     // determine if there are more elements remaining.
!     int count;
!     // current index in the physical hash table.
!     int idx;
!     // the last Entry returned.
!     Entry last;
!
!     Enumerator(int type)
!     {
!       this.type = type;
!       this.count = 0;
!       this.idx = buckets.length;
!     }
!
!     public boolean hasMoreElements()
!     {
!       return count < Hashtable.this.size;
!     }
!
!     public Object nextElement()
!     {
!       if (count >= size)
!         throw new NoSuchElementException();
!       count++;
!       Entry e = null;
!       if (last != null)
!         e = last.next;
!
!       while (e == null)
!         {
!         e = buckets[--idx];
!       }
!
!       last = e;
!       if (type == VALUES)
!         return e.value;
!       return e.key;
!     }
!   }
! }
--- 827,904 ----
     *
     * @author       Jon Zeppieri
     */
!    class Enumerator implements Enumeration
!    {
!       static final int KEYS = 0;
!       static final int VALUES = 1;
!
!       int type;
!       int idx;
!       // the last Entry returned.
!       Entry last;
!       // the cursor of hasMoreElements()

!       int vidx;
!       // If hasMoreElements() has been called before nextElement(), nextElement()
!       //    needn't re-navigate the bucket/list, just use visited of hasMoreElements()
!       Entry visited;
!
!       Enumerator(int type)
!       {
!          this.type = type;
!          this.count = 0;
!          this.idx = buckets.length;
!       }
!
!       public boolean hasMoreElements()
!       {
!          Entry e = null;
!          if (last != null){
!            e = last.next;
!          }
!
!          vidx = idx;
!        while (e == null && vidx > 0)
!        {
!            e = buckets[--vidx];
!        }
!
!          visited = e;
!
!          return e != null;
!      }
!
!      public Object nextElement()
!      {
!          if(visited != null)
!          {
!            // hasMoreElements() has navigated to next element
!            last = visited;
!            idx = vidx;
!            visited = null;
!          }
!          else
!          {
!            Entry e = null;
!            if (last != null){
!               e = last.next;
!            }
!
!            while (e == null  && idx > 0)
!            {
!               e = buckets[--idx];
!            }
!
!            if(e == null){
!               throw new NoSuchElementException();
!            }
!
!            last = e;
!          }
!
!          if (type == VALUES)
!             return last.value;
!
!          return last.key;
!     }
!   }
! }



From gansha.wu@intel.com Thu Jun 28 21:48:16 2001
Received: from jffdns01.or.intel.com ([134.134.248.3] helo=ganymede.or.intel.com)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15FnOK-0002bR-00
	for <classpath@gnu.org>; Thu, 28 Jun 2001 21:48:16 -0400
Received: from SMTP (orsmsxvs02-1.jf.intel.com [192.168.65.201])
	by ganymede.or.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.40 2001/06/06 21:14:49 root Exp $) with SMTP id BAA02415
	for <classpath@gnu.org>; Fri, 29 Jun 2001 01:48:15 GMT
Received: from orsmsx28.jf.intel.com ([192.168.70.28]) by 192.168.70.201
  (Norton AntiVirus for Internet Email Gateways 1.0) ;
  Fri, 29 Jun 2001 01:48:14 0000 (GMT)
Received: by orsmsx28.jf.intel.com with Internet Mail Service (5.5.2653.19)
	id <NMJ7VALS>; Thu, 28 Jun 2001 18:48:13 -0700
Received: from fmsmsxfw01.fm.intel.com (FMSMSXFW01 [10.1.199.21]) by fmsmsx27.FM.INTEL.COM with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id NSW8FQKZ; Thu, 28 Jun 2001 18:48:12 -0700
Received: by FMSMSXFW01 with Internet Mail Service (5.5.2653.19)
	id <N3T558AM>; Fri, 29 Jun 2001 09:51:52 +0800
Message-ID: <A577A8CE35DBD211AC3F00A0C9E0115403E03EAE@bjsmsx90.bj.intel.com>
From: "Wu, Gansha" <gansha.wu@intel.com>
To: "'classpath@gnu.org'" <classpath@gnu.org>
Subject: A minor bug in java.io.File: Submit for Classpath
Date: Fri, 29 Jun 2001 09:48:53 +0800
X-Mailer: Internet Mail Service (5.5.2653.19)
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

    We found a minor bug in java.io.File when we tried to run Volano benchmark on ORP with Classpath.
    Here's the senario:
            File file = new File(System.getProperty(propname), filename);
    While System.getProperty(propname) return null, then the constructor:
           File(String dirname, String name){
                   this(dirname + separator + name);
           }
           assumes that a file with filename must exist under the directory named "null". 
    An approperiate modification is to add a check like this:
          this(dirname == null?name:dirname + separator + name);
    The context compare result below is based on gnu classpath cvs snapshot of June 22.Note that revision number is different from public CVS.

Index: java/io/File.java
===================================================================
RCS file: /home/gwu2/cvsroot/classpath/java/io/File.java,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 File.java
*** java/io/File.java   2001/06/25 01:13:33     1.1.1.1
--- java/io/File.java   2001/06/28 08:02:00
***************
*** 295,301 ****
  public
  File(String dirname, String name)
  {
!   this(dirname + separator + name);
  }

  /*************************************************************************/
--- 295,301 ----
  public
  File(String dirname, String name)
  {
!   this(dirname == null?name:dirname + separator + name);
  }

  /*************************************************************************/
	



From tromey@creche.cygnus.com Thu Jun 28 22:12:24 2001
Received: from [207.174.178.17] (helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 15Fnlg-00039i-00
	for <classpath@gnu.org>; Thu, 28 Jun 2001 22:12:24 -0400
Received: from creche.cygnus.com (tq0146.peakpeak.com [207.174.177.146])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id UAA30956;
	Thu, 28 Jun 2001 20:12:19 -0600
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id UAA11598;
	Thu, 28 Jun 2001 20:31:50 -0600
To: "Wu, Gansha" <gansha.wu@intel.com>
Cc: "'classpath@gnu.org'" <classpath@gnu.org>
Subject: Re: A minor bug in java.io.File: Submit for Classpath
References: <A577A8CE35DBD211AC3F00A0C9E0115403E03EAE@bjsmsx90.bj.intel.com>
X-Zippy:  I'm a GENIUS!  I want to dispute sentence structure with SUSAN SONTAG!!
X-Attribution:  Tom
Reply-To: tromey@redhat.com
From: Tom Tromey <tromey@redhat.com>
Date: 28 Jun 2001 20:31:50 -0600
In-Reply-To: "Wu, Gansha"'s message of "Fri, 29 Jun 2001 09:48:53 +0800"
Message-ID: <87puboggo9.fsf@creche.redhat.com>
Lines: 10
X-Mailer: Gnus v5.7/Emacs 20.5
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> ">" == Wu, Gansha <gansha.wu@intel.com> writes:

>>     An approperiate modification is to add a check like this:
>>           this(dirname == null?name:dirname + separator + name);

In addition I think that the constructor must throw
NullPointerException if `name' is null, even when `dirname' is not.
Do you agree?

Tom


From gansha.wu@intel.com Thu Jun 28 22:23:47 2001
Received: from jffdns02.or.intel.com ([134.134.248.4] helo=hebe.or.intel.com)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15Fnwg-0003Ke-00
	for <classpath@gnu.org>; Thu, 28 Jun 2001 22:23:47 -0400
Received: from SMTP (orsmsxvs01-1.jf.intel.com [192.168.65.200])
	by hebe.or.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.40 2001/06/06 21:14:49 root Exp $) with SMTP id CAA05555;
	Fri, 29 Jun 2001 02:23:44 GMT
Received: from orsmsx29.jf.intel.com ([192.168.70.29]) by 192.168.70.200
  (Norton AntiVirus for Internet Email Gateways 1.0) ;
  Fri, 29 Jun 2001 02:23:44 0000 (GMT)
Received: by orsmsx29.jf.intel.com with Internet Mail Service (5.5.2653.19)
	id <NY5NVNAV>; Thu, 28 Jun 2001 19:23:42 -0700
Received: from fmsmsxfw01.fm.intel.com (FMSMSXFW01 [10.1.199.21]) by fmsmsx27.FM.INTEL.COM with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id NSW8FTNY; Thu, 28 Jun 2001 19:23:36 -0700
Received: by FMSMSXFW01 with Internet Mail Service (5.5.2653.19)
	id <N3T5587A>; Fri, 29 Jun 2001 10:27:16 +0800
Message-ID: <A577A8CE35DBD211AC3F00A0C9E0115403E03EAF@bjsmsx90.bj.intel.com>
From: "Wu, Gansha" <gansha.wu@intel.com>
To: "'tromey@redhat.com'" <tromey@redhat.com>
Cc: "'classpath@gnu.org'" <classpath@gnu.org>
Subject: RE: A minor bug in java.io.File: Submit for Classpath
Date: Fri, 29 Jun 2001 10:23:53 +0800
X-Mailer: Internet Mail Service (5.5.2653.19)
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Maybe this way:
	this(dirname == null || name == null?name:dirname + separator + name);
and let File(String name) do the exception throwing stuff.

Best regards...
Gansha
-----Original Message-----
From: Tom Tromey [mailto:tromey@redhat.com]
Sent: 2001?6?29? 10:32
To: Wu, Gansha
Cc: 'classpath@gnu.org'
Subject: Re: A minor bug in java.io.File: Submit for Classpath


>>>>> ">" == Wu, Gansha <gansha.wu@intel.com> writes:

>>     An approperiate modification is to add a check like this:
>>           this(dirname == null?name:dirname + separator + name);

In addition I think that the constructor must throw
NullPointerException if `name' is null, even when `dirname' is not.
Do you agree?

Tom



From Jochen.Hoenicke@informatik.uni-oldenburg.de Fri Jun 29 04:24:33 2001
Received: from co2.informatik.uni-oldenburg.de ([134.106.11.107] helo=arbi.Informatik.Uni-Oldenburg.DE)
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 15FtZp-0000jU-00
	for <classpath@gnu.org>; Fri, 29 Jun 2001 04:24:33 -0400
Received: from brecht.Informatik.Uni-Oldenburg.DE ([134.106.15.4])
	by arbi.Informatik.Uni-Oldenburg.DE (Exim 3.16)
	id 15FtZk-0002ov-00; Fri, 29 Jun 2001 10:24:28 +0200
Received: from bb.Informatik.Uni-Oldenburg.DE (bb.Informatik.Uni-Oldenburg.DE [134.106.19.23])
	by brecht.Informatik.Uni-Oldenburg.DE (8.8.7/8.8.7) with ESMTP id KAA19736;
	Fri, 29 Jun 2001 10:24:22 +0200 (MET DST)
Received: (from hoenicke@localhost)
	by bb.Informatik.Uni-Oldenburg.DE (8.8.7/8.8.7) id KAA09166;
	Fri, 29 Jun 2001 10:24:22 +0200 (MET DST)
From: "Jochen Hoenicke" <Jochen.Hoenicke@Informatik.Uni-Oldenburg.DE>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15164.15158.22073.914561@bb.Informatik.Uni-Oldenburg.DE>
Date: Fri, 29 Jun 2001 10:24:22 +0200
To: Patrick Doyle <doylep@eecg.toronto.edu>
Cc: classpath@gnu.org
Subject: Re: Constructing java.lang.String in constant pool
In-Reply-To: <87ithg38zo.fsf@creche.redhat.com>
References: <Pine.LNX.4.10.10106272251070.7010-100000@wildcat.eecg.toronto.edu>
	<87ithg38zo.fsf@creche.redhat.com>
X-Mailer: VM 6.92 under 20.0 XEmacs Lucid (beta28)
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

On Jun 28, Tom Tromey wrote:
> >>>>> "Patrick" == Patrick Doyle <doylep@eecg.toronto.edu> writes:
> 
> Patrick> What is the best way for a JVM to instantiate a String for a
> Patrick> constant pool entry of type "CONSTANT_String"?
> 
> Use the JNI `NewString' call.  It takes a nul-terminated UTF-8 encoded
> `char *' and returns a jstring.  The termination will probably be a
> problem for you :-(
> 
> Or maybe you mean you want to implement this call.  In that case your
> plan of using String(char[]) sounds as good as any.

And don't forget to intern() the string.  From the JVM Spec:

The Java programming language requires that identical string literals
(that is, literals that contain the same sequence of characters) must
refer to the same instance of class String. In addition, if the method
String.intern is called on any string, the result is a reference to
the same class instance that would be returned if that string appeared
as a literal. Thus, ("a" + "b" + "c").intern() == "abc"
must have the value true.

You have some bootstrapping issues to resolve, since the class
java.lang.String also has some strings in its constant pool.  Maybe
it's easier to use the knowledge of the internal structure...

  Jochen


From julian.scheid@sektor37.de Fri Jun 29 22:52:53 2001
Received: from a1as02-p235.fra.tli.de ([195.252.197.235] helo=gate.local.zo)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15GAsO-0008KX-00
	for <classpath@gnu.org>; Fri, 29 Jun 2001 22:52:53 -0400
Received: from block (block.local.zo [10.0.0.7])
	by gate.local.zo (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with SMTP id EAA02031
	for <classpath@gnu.org>; Sat, 30 Jun 2001 04:52:47 +0200
From: "Julian Scheid" <julian.scheid@sektor37.de>
To: <classpath@gnu.org>
Subject: Announcement: Javadoc drop-in replacement
Date: Sat, 30 Jun 2001 03:51:25 +0100
Message-ID: <NEBBIFMFGMKPIBMLOKGBAENNCDAA.julian.scheid@sektor37.de>
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.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-RBL-Warning: (dialups.mail-abuse.org) See <URL:http://mail-abuse.org/dul/>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

This is to announce that I have nearly finished a 
drop-in replacement for the Sun Javadoc tool which 
I would like to contribute to the Classpath project. 
Of course, it was written hands-off: I have not seen 
the corresponding Sun source code any time before.

What I have is only the tool itself: scan source code 
and deliver structure and comment information to the 
Doclet API. A 'Standard Doclet' is not included.

However, a year ago I have written a tool named 
TexiDoclet (http://texidoclet.sourceforge.net)
which outputs Info pages, with Emacs users in mind.
Note that TexiDoclet is still labelled Alpha, because 
it lacks testing on a broad base. Still, it can produce 
quiet useful results.
Using the Javadoc drop-in and TexiDoclet, you will be 
able to generate Java documentation on a 100% free 
toolchain, in Info format.

The drop-in implements all functionality as of 
Javadoc 1.3, but some secondary issues like warning 
messages and a few command line switches are still 
pending. I plan to have this stuff fixed and release 
a preview package in approx. ten days.

BTW, I am rather new to alternative VMs and I have a 
couple of questions which I think should not be 
discussed here. I would be grateful if some 
classpath.org hacker or some free-VM expert could 
come back to me.

Julian Scheid



From julian.scheid@sektor37.de Sat Jun 30 07:49:53 2001
Received: from a1as20-p171.fra.tli.de ([195.252.206.171] helo=gate.local.zo)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15GJG4-0005vV-00
	for <classpath@gnu.org>; Sat, 30 Jun 2001 07:49:52 -0400
Received: from block (block.local.zo [10.0.0.7])
	by gate.local.zo (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with SMTP id NAA00802
	for <classpath@gnu.org>; Sat, 30 Jun 2001 13:49:50 +0200
From: "Julian Scheid" <julian.scheid@sektor37.de>
To: <classpath@gnu.org>
Subject: com.sun.javadoc interface 
Date: Sat, 30 Jun 2001 12:48:25 +0100
Message-ID: <NEBBIFMFGMKPIBMLOKGBCENOCDAA.julian.scheid@sektor37.de>
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.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-RBL-Warning: (dialups.mail-abuse.org) See <URL:http://mail-abuse.org/dul/>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hi,

the rewrite of the doclet API shipped with Classpath contains two errors.

In Doc.java, "String setRawCommentText()" should be "String
getRawCommentText()"
In DocErrorReporter.java, "void printNotice()" should be "void
printNotice(String notice)"

diff /usr/src/classpath-0.02/com/sun/javadoc/Doc.java
com/sun/javadoc/Doc.java
108c108
< setRawCommentText();
---
> getRawCommentText();

diff /usr/src/classpath-0.02/com/sun/javadoc/DocErrorReporter.java
com/sun/javadoc/DocErrorReporter.java
56c56
< printNotice();
---
> printNotice(String notice);

Also I think the abstract keyword should be removed from all interfaces
and interface methods.

Julian



From julian.scheid@sektor37.de Sat Jun 30 09:10:33 2001
Received: from a1as20-p218.fra.tli.de ([195.252.206.218] helo=gate.local.zo)
	by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
	id 15GKW9-0000x3-00
	for <classpath@gnu.org>; Sat, 30 Jun 2001 09:10:33 -0400
Received: from block (block.local.zo [10.0.0.7])
	by gate.local.zo (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with SMTP id PAA25676
	for <classpath@gnu.org>; Sat, 30 Jun 2001 15:10:14 +0200
From: "Julian Scheid" <julian.scheid@sektor37.de>
To: <classpath@gnu.org>
Subject: patch for gtkscrollbarpeer.c
Date: Sat, 30 Jun 2001 14:08:51 +0100
Message-ID: <NEBBIFMFGMKPIBMLOKGBEENPCDAA.julian.scheid@sektor37.de>
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_0000_01C1016E.30571BD0"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-RBL-Warning: (dialups.mail-abuse.org) See <URL:http://mail-abuse.org/dul/>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:classpath-request@gnu.org?subject=help>
List-Post: <mailto:classpath@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=subscribe>
List-Id: <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

This is a multi-part message in MIME format.

------=_NextPart_000_0000_01C1016E.30571BD0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

"gtkscrollbarpeer.c" will not compile on my machine unless I apply
attached patch.

Julian

------=_NextPart_000_0000_01C1016E.30571BD0
Content-Type: application/octet-stream;
	name="gtkscrollbarpeer.c.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="gtkscrollbarpeer.c.patch"

diff -u native/gnu.java.awt.peer.gtk/gtkscrollbarpeer.c =
../classpath-0.02-modified/native/gnu.java.awt.peer.gtk/gtkscrollbarpeer.=
c
--- native/gnu.java.awt.peer.gtk/gtkscrollbarpeer.c     Mon Mar 20 =
05:48:04 2000
+++ =
../classpath-0.02-modified/native/gnu.java.awt.peer.gtk/gtkscrollbarpeer.=
c  Fri Jun 29 17:02:03 2001
@@ -145,7 +145,7 @@

 JNIEXPORT void JNICALL
 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues
-    (JNIEnv *env, jobject obj, jint value, int visible, int min, int =
max)
+    (JNIEnv *env, jobject obj, jint value, jint visible, jint min, jint =
max)
 {
   void *ptr;
   GtkAdjustment *adj;

------=_NextPart_000_0000_01C1016E.30571BD0--



