From tromey@creche.cygnus.com Wed Jan 02 20:51:39 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.22 #1 (Debian))
	id 16Lx2h-0003Sk-00
	for <classpath@gnu.org>; Wed, 02 Jan 2002 20:51:39 -0500
Received: from creche.cygnus.com (ta0201.peakpeak.com [204.144.244.201])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id SAA12209;
	Wed, 2 Jan 2002 18:51:36 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id TAA06571;
	Wed, 2 Jan 2002 19:03:22 -0700
To: Classpath Project <classpath@gnu.org>
Subject: locale compiler
X-Zippy:  I wish I was a sex-starved manicurist found dead in the Bronx!!
X-Attribution:  Tom
Reply-To: tromey@redhat.com
From: Tom Tromey <tromey@redhat.com>
Date: 02 Jan 2002 19:03:21 -0700
Message-ID: <87vgekmbrq.fsf@creche.redhat.com>
Lines: 56
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Over the holidays I hacked localedef a bit so that it can generate
Java output.  My goal was to let us automatically generate the
gnu.java.locale.* classes from the existing locale files, so that we
don't have to find a way to duplicate all this information.

My hack doesn't yet handle collation (which is one of the important
things I hoped to get from this), but it looks like I won't have time
to work on it again in the near future.

The code is finished enough that I can see that the POSIX locale files
don't have enough information :-(

In particular these things at least are missing:

* Time zone names
* Several date formats (Java supports more pre-canned date and time
  formats than POSIX)
* era (BC/AD) information (at least in the simple way we approach it)
* Localized pattern characters for DateFormatSymbols
* Various number-formatting things (percent, exponential, per-mill,
  infinity, zero digit, maybe more)

I haven't looked at calendrical localizations yet.

(On the other hand POSIX includes a bunch of stuff that Java doesn't
seem to address.)

I'm not sure what to do about the missing bits.  I'd prefer not to
edit the output of `localedef --java', since presumably we'll want to
re-run it from time to time.

One idea I had was to generate code like this:

    { "localPatternChars", LocaleInformation_en.localPatternChars },

The idea here is that we only generate language_COUNTRY files, so we
could put missing data in the hand-maintained language-only files.
The problem with doing this is that we then need to add such
definitions for every language.  Currently there are 131 locales for
67 languages, so this is a lot (not to mention that the results might
not always be correct anyway).

Any other ideas?

If anyone is interested in hacking ld-collate.c or in looking at the
calendar code, I'd be happy to send my localedef patch.  I haven't yet
showed it to the glibc maintainers; my guess is that they won't want
it and we'll have to maintain our own hacked version separately.  This
shouldn't be a big deal.

I'm interested in checking in the output even though it isn't
complete.  It's certainly better than what we have right now (next to
nothing).  I thought I'd ask to see if anybody had an objection before
checking in 131 new files though.

Tom


From mark@wildebeest.org Thu Jan 03 05:33:22 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian))
	id 16M5Ba-0002Ob-00
	for <classpath@gnu.org>; Thu, 03 Jan 2002 05:33:22 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16M5BL-0006GB-00; Thu, 03 Jan 2002 11:33:07 +0100
Received: from mark by elsschot with local (Exim 3.33 #1 (Debian))
	id 16M5BO-0000ii-00; Thu, 03 Jan 2002 11:33:10 +0100
Subject: Re: locale compiler
From: Mark Wielaard <mark@klomp.org>
To: tromey@redhat.com
Cc: Classpath Project <classpath@gnu.org>
In-Reply-To: <87vgekmbrq.fsf@creche.redhat.com>
References: <87vgekmbrq.fsf@creche.redhat.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0 (Preview Release)
Date: 03 Jan 2002 11:33:10 +0100
Message-Id: <1010053990.2446.3.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

On Thu, 2002-01-03 at 03:03, Tom Tromey wrote:
> Over the holidays I hacked localedef a bit so that it can generate
> Java output.  My goal was to let us automatically generate the
> gnu.java.locale.* classes from the existing locale files, so that we
> don't have to find a way to duplicate all this information.
Nice!

> If anyone is interested in hacking ld-collate.c or in looking at the
> calendar code, I'd be happy to send my localedef patch.
Please post it to the list. I don't think I have time to look at it at
the moment. But then it is at least archived and it might trigger people
to give it a look.

> I'm interested in checking in the output even though it isn't
> complete.  It's certainly better than what we have right now (next to
> nothing).  I thought I'd ask to see if anybody had an objection before
> checking in 131 new files though.
These are files that can only be regenerated by a hacked localedef? What
are we going to do when you are hit by a bus? (Happy New Year!)

Can we import the complete hacked localedef source into our tree or is
it to big for that? Then we could even make it a configure option which
locales should be compiled in.

Cheers,

Mark


From tromey@creche.cygnus.com Thu Jan 03 20:01:48 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.22 #1 (Debian))
	id 16MIjz-0002Ap-00
	for <classpath@gnu.org>; Thu, 03 Jan 2002 20:01:47 -0500
Received: from creche.cygnus.com (ta0193.peakpeak.com [204.144.244.193] (may be forged))
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id SAA04979;
	Thu, 3 Jan 2002 18:01:40 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id SAA01848;
	Thu, 3 Jan 2002 18:13:42 -0700
To: Mark Wielaard <mark@klomp.org>
Cc: Classpath Project <classpath@gnu.org>
Subject: Re: locale compiler
References: <87vgekmbrq.fsf@creche.redhat.com> <1010053990.2446.3.camel@elsschot>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  I'll clean your ROOM!!  I know some GOOD stories, too!!  All about
 ROAD Island's, HUSH Puppies, and how LUKE finds GOLD on his LAND!!
Date: 03 Jan 2002 18:13:41 -0700
In-Reply-To: Mark Wielaard's message of "03 Jan 2002 11:33:10 +0100"
Message-ID: <87vgeij4u2.fsf@creche.redhat.com>
Lines: 877
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

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

Mark> Please post it to the list.

Ok.  It is appended.

Mark> These are files that can only be regenerated by a hacked
Mark> localedef? What are we going to do when you are hit by a bus?
Mark> (Happy New Year!)

I keep all my pending patches in CVS at Red Hat.  If I die somebody
can easily find them.  Perhaps I should put instructions in my will
(though that's a bit much for 10 patches :-).

Mark> Can we import the complete hacked localedef source into our tree
Mark> or is it to big for that? Then we could even make it a configure
Mark> option which locales should be compiled in.

localedef is written to be part of glibc.  Making it portable might be
a pain.

I think rebuilding the locales will happen infrequently enough that
requiring people to build a patched glibc isn't a big problem.  We
could make a copy of localedef in a public CVS somewhere to make
re-merging the patches easier (I'm assuming the glibc people won't
want them -- but I do plan to ask).

As to choosing locales, we can implement that separately if we need
to.  For instance for libgcj we could build each one into its own .so
and then only load them as required.

Tom

Index: Makefile
===================================================================
RCS file: /cvs/glibc/libc/locale/Makefile,v
retrieving revision 1.59
diff -u -r1.59 Makefile
--- Makefile 2001/08/14 22:37:31 1.59
+++ Makefile 2002/01/03 04:44:07
@@ -59,7 +59,7 @@
 vpath %.gperf programs
 
 localedef-modules	:= $(categories:%=ld-%) charmap linereader locfile \
-			   repertoire
+			   repertoire java-output
 locale-modules		:= locale-spec
 lib-modules		:= charmap-dir simple-hash xmalloc xstrdup
 
Index: programs/ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* locfile.h (java_monetary_output): Declare.
	(java_numeric_output): Likewise.
	(java_time_output): Likewise.
	* localedef.h (java_style): Declare.
	(java_end_locale, java_start_locale, java_printf,
	java_print_string): Likewise.
	* locfile.c (java_write_funcs): New global.
	* java-output.c: New file.
	* ld-time.c (java_time_output): New function.
	(java_print_time_format): Likewise.
	(java_time_map): New global.
	(struct time_map): New struct.
	(java_print_array): New function.
	* ld-numeric.c (java_numeric_output): New function.
	(java_print_number_format): Likewise.
	* ld-monetary.c (java_monetary_output): New function.
	(java_print_monetary_format): Likewise.
	* localedef.c (java_style): New global.
	(OPT_JAVA): New define.
	(options): Added `java' entry.
	(parse_opt): Handle --java.

Index: programs/java-output.c
===================================================================
RCS file: java-output.c
diff -N java-output.c
--- /dev/null	Tue May  5 13:32:27 1998
+++ programs/java-output.c Wed Jan 2 20:44:08 2002
@@ -0,0 +1,179 @@
+/* Copyright (C) 2001 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+   Contributed by Tom Tromey <tromey@gnu.org>, 2001
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#include <errno.h>
+#include <langinfo.h>
+#include <string.h>
+#include <stdio.h>
+#include <stdarg.h>
+#include <stdlib.h>
+
+#include <assert.h>
+
+#include "linereader.h"
+#include "localedef.h"
+#include "localeinfo.h"
+#include "locfile.h"
+
+/* Current locale we're generating, or NULL if we haven't started one
+   yet.  */
+static struct localedef_t *current;
+
+/* File handle corresponding to current locale being generated.  */
+static FILE *current_file;
+
+static const char *fields[] =
+{
+  "weekdays",
+  "shortWeekdays",
+  "shortMonths",
+  "months",
+#if 0
+  "eras",
+#endif
+  "ampms",
+  "shortDateFormat",
+#if 0
+  "mediumTimeFormat",
+#endif
+  "defaultTimeFormat",
+  "currencySymbol",
+  "intlCurrencySymbol",
+  "currencyFormat",
+  "decimalSeparator",
+  "groupingSeparator",
+  "numberFormat",
+  "percentFormat",
+  NULL
+};
+
+void
+java_end_locale ()
+{
+  int i;
+
+  java_printf (current, "  private static final Object[][] contents =\n  {\n");
+  for (i = 0; fields[i]; ++i)
+    {
+      java_printf (current, "    { \"%s\", %s },\n",
+		   fields[i], fields[i]);
+    }
+  java_printf (current, "  };\n\n");
+  java_printf (current, "  public Object[][] getContents () { return contents; }\n}\n");
+
+  fclose (current_file);
+  current_file = NULL;
+  current = NULL;
+}
+
+void
+java_start_locale (const char *output_path, struct localedef_t *locale)
+{
+  char *fname;
+  const char *lname;
+
+  assert (! current && ! current_file);
+
+  lname = strrchr (locale->name, '/');
+  if (lname == NULL)
+    lname = locale->name;
+  else
+    ++lname;
+
+  fname = xmalloc (strlen (output_path) + strlen (lname) + 25);
+  sprintf (fname, "%s/LocaleInformation_%s.java", output_path, lname);
+
+  current = locale;
+  current_file = fopen (fname, "w");
+  if (current_file == NULL)
+    error (1, errno, _("cannot open output file `%s'"), fname);
+  free (fname);
+
+  fprintf (current_file, "// This file was automatically generated by localedef.\n\n");
+  fprintf (current_file, "package gnu.java.locale;\n\n");
+  fprintf (current_file, "import java.util.ListResourceBundle;\n\n");
+  fprintf (current_file, "public class LocaleInformation_%s extends ListResourceBundle\n{\n",
+	   lname);
+}
+
+/* Extract a character from a Java-style Utf8 string.
+ * PTR points to the current character.
+ * LIMIT points to the end of the Utf8 string.
+ * PTR is incremented to point after the character thta gets returns.
+ * On an error, -1 is returned. */
+#define UTF8_GET(PTR, LIMIT) \
+  ((PTR) >= (LIMIT) ? -1 \
+   : *(PTR) < 128 ? *(PTR)++ \
+   : (*(PTR)&0xE0) == 0xC0 && ((PTR)+=2)<=(LIMIT) && ((PTR)[-1]&0xC0) == 0x80 \
+   ? (((PTR)[-2] & 0x1F) << 6) + ((PTR)[-1] & 0x3F) \
+   : (*(PTR) & 0xF0) == 0xE0 && ((PTR) += 3) <= (LIMIT) \
+   && ((PTR)[-2] & 0xC0) == 0x80 && ((PTR)[-1] & 0xC0) == 0x80 \
+   ? (((PTR)[-3]&0x0F) << 12) + (((PTR)[-2]&0x3F) << 6) + ((PTR)[-1]&0x3F) \
+   : ((PTR)++, -1))
+
+void
+java_printf (struct localedef_t *locale,
+	     const char *format,
+	     ...)
+{
+  va_list ap;
+  unsigned char *out, *limit;
+
+  assert (locale == current);
+
+  /* Print to a temporary string, and then print in a Java-friendly
+     way.  This is ugly, and inefficient, but that doesn't really
+     matter to us.  */
+  va_start (ap, format);
+  vasprintf ((char **) &out, format, ap);
+  va_end (ap);
+
+  limit = out + strlen (out);
+  while (out < limit)
+    {
+      unsigned int c = UTF8_GET (out, limit);
+      if (c == -1)
+	break;
+      if ((c < 32 || c > 127)
+	  && c != '\t' && c != '\n')
+	fprintf (current_file, "\\u%04X", c);
+      else
+	fputc (c, current_file);
+    }
+
+  /*  free (out);*/
+}
+
+void
+java_print_string (struct localedef_t *locale,
+		   const char *copy_name,
+		   const char *field_name,
+		   const char *value)
+{
+  java_printf (locale, "  static final String %s = ", field_name);
+  if (copy_name)
+    java_printf (locale, "LocaleInformation_%s.%s;\n",
+		 copy_name, field_name);
+  else
+    java_printf (locale, "\"%s\";\n", value);
+}
Index: programs/ld-monetary.c
===================================================================
RCS file: /cvs/glibc/libc/locale/programs/ld-monetary.c,v
retrieving revision 1.32
diff -u -r1.32 ld-monetary.c
--- programs/ld-monetary.c 2001/12/10 01:15:02 1.32
+++ programs/ld-monetary.c 2002/01/03 04:44:11
@@ -623,6 +623,152 @@
   return strcmp (s1, *s2);
 }
 
+/* Helper for java_monetary_output which knows how to print a single
+   number format.  */
+static void
+java_print_monetary_format (struct localedef_t *locale,
+			    int cs_precedes, int sep_by_space,
+			    const char *grouping,
+			    int frac_digits,
+			    const char *sign,
+			    int sign_posn)
+{
+  int len = strlen (grouping);
+  int i;
+
+  /* FIXME: we don't handle the difference between sep_by_space==1 and
+     sep_by_space==2.  */
+
+  if (sign_posn < 0 || sign_posn > 4)
+    sign_posn = 4;
+
+  /* Handle leading sign and monetary symbol, if required.  */
+  if (sign_posn == 0)
+    java_printf (locale, "(");
+  else if (sign_posn == 1)
+    java_printf (locale, "%s", sign);
+  if (cs_precedes)
+    {
+      if (sign_posn == 3)
+	java_printf (locale, "%s", sign);
+
+      /* Here the `$' is a NumberFormat pattern char.  It will be
+	 localized at runtime.  */
+      java_printf (locale, "$");
+      if (sep_by_space)
+	java_printf (locale, " ");
+
+      if (sign_posn == 4)
+	java_printf (locale, "%s", sign);
+    }
+
+  /* Handle grouping.  `,' here is a symbol for NumberFormat; it is
+     localized at runtime.  */
+  java_printf (locale, "#");
+  for (i = len - 1; i >= 0; --i)
+    {
+      int j;
+      /* Java can't handle this case.  */
+      if (grouping[i] == '\377')
+	continue;
+      java_printf (locale, ",");
+      for (j = grouping[i] - 1; j >= 0; --j)
+	{
+	  java_printf (locale, "%s", 
+		       (i == 0 && j == 0) ? "0" : "#");
+	}
+    }
+
+  /* Fractional digits.  */
+  java_printf (locale, ".");
+  for (i = 0; i < frac_digits; ++i)
+    java_printf (locale, "0");
+
+  /* Trailing sign and monetary symbol, if required.  */
+  if (! cs_precedes)
+    {
+      if (sign_posn == 3)
+	java_printf (locale, "%s", sign);
+      if (sep_by_space)
+	java_printf (locale, " ");
+      java_printf (locale, "$");
+      if (sign_posn == 4)
+	java_printf (locale, "%s", sign);
+    }
+  if (sign_posn == 2)
+    java_printf (locale, "%s", sign);
+  if (sign_posn == 0)
+    java_printf (locale, ")");
+}
+
+/* Generate output suitable for libgcj.  */
+void
+java_monetary_output (struct localedef_t *locale,
+		      const struct charmap_t *charmap,
+		      const char *output_path)
+{
+  struct locale_monetary_t *monetary
+    = locale->categories[LC_MONETARY].monetary;
+  const char *copy_name = NULL;
+  char sym[4];
+
+  if (locale->copy_name[LC_MONETARY] != NULL)
+    {
+      /* If we're copying some other locale, we might as well just
+	 refer directly to it.  */
+      struct localedef_t *from = locale;
+
+      do
+	from = find_locale (LC_MONETARY, from->copy_name[LC_MONETARY],
+			    from->repertoire_name, charmap);
+      while (from->copy_name[LC_MONETARY] != NULL);
+      copy_name = from->name;
+    }
+
+  java_print_string (locale, copy_name, "currencySymbol",
+		     monetary->currency_symbol);
+  /* Remove the trailing space from the international symbol.  */
+  assert (monetary->int_curr_symbol[3] == ' ');
+  strncpy (sym, monetary->int_curr_symbol, 3);
+  sym[3] = '\0';
+  java_print_string (locale, copy_name, "intlCurrencySymbol", sym);
+
+  java_printf (locale, "  static final String currencyFormat = ");
+  if (copy_name)
+    java_printf (locale, "LocaleInformation_%s.currencyFormat;\n",
+		 copy_name);
+  else
+    {
+      /* Generate something NumberFormat will recognize.  */
+      java_printf (locale, "\"");
+
+      java_print_monetary_format (locale, monetary->p_cs_precedes,
+				  monetary->p_sep_by_space,
+				  monetary->mon_grouping,
+				  /* Java doesn't have a notion of an
+				     international currency format.
+				     So we always use the local value
+				     here.  */
+				  monetary->int_frac_digits,
+				  monetary->positive_sign,
+				  monetary->p_sign_posn);
+      java_printf (locale, ";");
+      java_print_monetary_format (locale, monetary->n_cs_precedes,
+				  monetary->n_sep_by_space,
+				  monetary->mon_grouping,
+				  /* Java doesn't have a notion of an
+				     international currency format.
+				     So we always use the local value
+				     here.  */
+				  monetary->int_frac_digits,
+				  monetary->negative_sign,
+				  monetary->n_sign_posn);
+      java_printf (locale, "\";\n");
+    }
+
+  java_printf (locale, "\n");
+}
+
 
 /* The parser for the LC_MONETARY section of the locale definition.  */
 void
Index: programs/ld-numeric.c
===================================================================
RCS file: /cvs/glibc/libc/locale/programs/ld-numeric.c,v
retrieving revision 1.25
diff -u -r1.25 ld-numeric.c
--- programs/ld-numeric.c 2001/12/10 01:15:02 1.25
+++ programs/ld-numeric.c 2002/01/03 04:44:13
@@ -191,6 +191,74 @@
 }
 
 
+/* Helper for java_numeric_output which generates a numeric format.  */
+static void
+java_print_number_format (struct localedef_t *locale,
+			  const char *copy_name,
+			  const char *grouping,
+			  int is_perc)
+{
+  const char *name = is_perc ? "percentFormat" : "numberFormat";
+
+  java_printf (locale, "  static final String %s = ", name);
+  if (copy_name)
+    java_printf (locale, "LocaleInformation_%s.%s;\n",
+		 copy_name, name);
+  else
+    {
+      int i;
+      java_printf (locale, "\"#");
+      for (i = strlen (grouping) - 1; i >= 0; --i)
+	{
+	  int j;
+	  /* Java can't handle this case.  */
+	  if (grouping[i] == '\377')
+	    continue;
+	  java_printf (locale, ",");
+	  for (j = grouping[i] - 1; j >= 0; --j)
+	    {
+	      java_printf (locale, "%s", 
+			   (i == 0 && j == 0) ? "0" : "#");
+	    }
+	}
+      java_printf (locale, "%s\";\n",
+		   is_perc ? "%" : ".###");
+    }
+}
+
+/* Generate output suitable for libgcj.  */
+void
+java_numeric_output (struct localedef_t *locale,
+		     const struct charmap_t *charmap,
+		     const char *output_path)
+{
+  struct locale_numeric_t *numeric
+    = locale->categories[LC_NUMERIC].numeric;
+  const char *copy_name = NULL;
+
+  if (locale->copy_name[LC_NUMERIC] != NULL)
+    {
+      /* If we're copying some other locale, we might as well just
+	 refer directly to it.  */
+      struct localedef_t *from = locale;
+
+      do
+	from = find_locale (LC_NUMERIC, from->copy_name[LC_NUMERIC],
+			    from->repertoire_name, charmap);
+      while (from->copy_name[LC_NUMERIC] != NULL);
+      copy_name = from->name;
+    }
+
+  java_print_string (locale, copy_name, "decimalSeparator",
+		     numeric->decimal_point);
+  java_print_string (locale, copy_name, "groupingSeparator",
+		     numeric->thousands_sep);
+
+  /* Handle numeric formats.  */
+  java_print_number_format (locale, copy_name, numeric->grouping, 0);
+  java_print_number_format (locale, copy_name, numeric->grouping, 1);
+}
+
 /* The parser for the LC_NUMERIC section of the locale definition.  */
 void
 numeric_read (struct linereader *ldfile, struct localedef_t *result,
Index: programs/ld-time.c
===================================================================
RCS file: /cvs/glibc/libc/locale/programs/ld-time.c,v
retrieving revision 1.36
diff -u -r1.36 ld-time.c
--- programs/ld-time.c 2001/12/10 01:15:02 1.36
+++ programs/ld-time.c 2002/01/03 04:44:16
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1995-1999, 2000, 2001 , 2002Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@gnu.org>, 1995.
 
@@ -906,6 +906,185 @@
   assert (last_idx  == _NL_ITEM_INDEX (_NL_NUM_LC_TIME));
 
   write_locale_data (output_path, "LC_TIME", 2 + cnt, iov);
+}
+
+
+/* Helper function for java_time_output which prints a string array.  */
+static void
+java_print_array (struct localedef_t *locale,
+		  const char *copy_name,
+		  const char *field_name,
+		  const char **text,
+		  int max,
+		  int null_position)
+{
+  assert (null_position == -1 || null_position == 0 || null_position == max);
+
+  java_printf (locale, "  static final String[] %s = ", field_name);
+  if (copy_name)
+    java_printf (locale, "LocaleInformation_%s.%s;\n", copy_name, field_name);
+  else
+    {
+      int count;
+      java_printf (locale, "{ ");
+      if (null_position == 0)
+	java_printf (locale, "null, ");
+      for (count = 0; count < max; ++count)
+	{
+	  java_printf (locale, "\"%s\"", text[count]);
+	  if (count + 1 < max || null_position == max)
+	    java_printf (locale, ", ");
+	}
+      if (null_position == max)
+	java_printf (locale, "null");
+      java_printf (locale, " };\n");
+    }
+  java_printf (locale, "\n");
+}
+
+struct time_map
+{
+  /* Format for strftime.  \0 here indicates end of table.  */
+  char ftime;
+  /* Format for SimpleDateFormat.  NULL here indicates entry we don't
+     handle.  */
+  const char *datef;
+};
+
+const static struct time_map java_time_map[] =
+{
+  { 'a', "E" },
+  { 'A', "EEEE" },
+  { 'b', "MMM" },
+  { 'B', "MMMM" },
+  { 'c', NULL },
+  { 'C', "yy" },
+  { 'd', "dd" },
+  { 'D', NULL },
+  { 'e', NULL },
+  { 'F', NULL },
+  { 'g', NULL },
+  { 'G', NULL },
+  { 'h', "MMM" },
+  { 'H', "H" },
+  { 'I', "hh" },
+  { 'j', "D" },
+  { 'k', "H" },
+  { 'l', "hh" },
+  { 'm', "MM" },
+  { 'M', "m" },
+  { 'n', "\n" },
+  { 'p', "a" },
+  { 'P', "a" },
+  { 'r', NULL },
+  { 'R', NULL },
+  { 's', NULL },
+  { 'S', "s" },
+  { 't', "\t" },
+  { 'T', NULL },
+  { 'u', NULL },
+  { 'U', "w" },
+  { 'U', "w" },
+  { 'V', "w" },
+  { 'w', NULL },
+  { 'W', "w" },
+  { 'x', NULL },
+  { 'X', NULL },
+  { 'y', "yy" },
+  { 'Y', "yyyy" },
+  { 'z', "z" },
+  { 'Z', "z" },
+  { '%', "%" },
+  { '\0', NULL }
+};
+
+/* Helper for java_time_output.  This transforms a strftime-style
+   format to a DateFormat-style format.  */
+static void
+java_print_time_format (struct localedef_t *locale,
+			const char *copy_name,
+			const char *field_name,
+			const char *in_fmt)
+{
+  int i;
+  int was_perc = 0;
+
+  java_printf (locale, "  static final String %s = ", field_name);
+  if (copy_name)
+    java_printf (locale, "LocaleInformation_%s.%s;\n",
+		 copy_name, field_name);
+  else
+    {
+      java_printf (locale, "\"");
+      for (i = 0; in_fmt[i] != '\0'; ++i)
+	{
+	  if (was_perc)
+	    {
+	      int j;
+	      for (j = 0; java_time_map[j].ftime != '\0'; ++j)
+		{
+		  if (java_time_map[j].ftime == in_fmt[i])
+		    {
+		      java_printf (locale, "%s", java_time_map[j].datef);
+		      break;
+		    }
+		}
+	      assert (java_time_map[j].datef);
+	      was_perc = 0;
+	    }
+	  else if (in_fmt[i] == '%')
+	    was_perc = 1;
+	  else
+	    {
+	      /* FIXME: handle quoting, utf-8 here.  */
+	      java_printf (locale, "%c", in_fmt[i]);
+	    }
+	}
+      java_printf (locale, "\";\n");
+    }
+}
+
+/* Generate output suitable for libgcj.  */
+void
+java_time_output (struct localedef_t *locale, const struct charmap_t *charmap,
+		  const char *output_path)
+{
+  struct locale_time_t *time = locale->categories[LC_TIME].time;
+  const char *copy_name = NULL;
+
+  if (locale->copy_name[LC_TIME] != NULL)
+    {
+      /* If we're copying some other locale, we might as well just
+	 refer directly to it.  */
+      struct localedef_t *from = locale;
+
+      do
+	from = find_locale (LC_TIME, from->copy_name[LC_TIME],
+			    from->repertoire_name, charmap);
+      while (from->copy_name[LC_TIME] != NULL);
+      copy_name = from->name;
+    }
+
+  /* FIXME: in general what should we do if something is missing??  */
+  java_print_array (locale, copy_name, "weekdays", time->day, 7, 0);
+  java_print_array (locale, copy_name, "shortWeekdays", time->abday, 7, 0);
+  java_print_array (locale, copy_name, "shortMonths", time->abmon, 12, 12);
+  java_print_array (locale, copy_name, "months", time->mon, 12, 12);
+#if 0
+  /* FIXME: this isn't exactly right.  libgcj assumes there are only
+     two eras.  */
+  java_print_array (locale, copy_name, "eras", time->era, time->num_era, -1);
+#endif
+  java_print_array (locale, copy_name, "ampms", time->am_pm, 2, -1);
+
+  /* These are approximations.  Java supports more canned time and
+     date formats than POSIX.  */
+  java_print_time_format (locale, copy_name, "shortDateFormat", time->d_fmt);
+#if 0
+  java_print_time_format (locale, copy_name, "mediumTimeFormat", time->t_fmt);
+#endif
+  java_print_time_format (locale, copy_name, "defaultTimeFormat",
+			  time->t_fmt_ampm);
 }
 
 
Index: programs/localedef.c
===================================================================
RCS file: /cvs/glibc/libc/locale/programs/localedef.c,v
retrieving revision 1.53
diff -u -r1.53 localedef.c
--- programs/localedef.c 2001/12/10 01:21:50 1.53
+++ programs/localedef.c 2002/01/03 04:44:17
@@ -58,6 +58,9 @@
 /* If not zero, produce old-style hash table instead of 3-level access tables.  */
 int oldstyle_tables;
 
+/* If not zero, generate Java-style output.  */
+int java_style;
+
 /* If not zero force output even if warning were issued.  */
 static int force_output;
 
@@ -85,6 +88,7 @@
 #define OPT_QUIET 2
 #define OPT_OLDSTYLE 3
 #define OPT_PREFIX 4
+#define OPT_JAVA 5
 
 /* Definitions of arguments for argp functions.  */
 static const struct argp_option options[] =
@@ -99,6 +103,7 @@
   { NULL, 0, NULL, 0, N_("Output control:") },
   { "force", 'c', NULL, 0,
     N_("Create output even if warning messages were issued") },
+  { "java", OPT_JAVA, NULL, 0, N_("Create Java-style tables") },
   { "old-style", OPT_OLDSTYLE, NULL, 0, N_("Create old-style tables") },
   { "prefix", OPT_PREFIX, "PATH", 0, N_("Optional output file prefix") },
   { "posix", OPT_POSIX, NULL, 0, N_("Be strictly POSIX conform") },
@@ -260,6 +265,9 @@
     case OPT_PREFIX:
       output_prefix = arg;
       break;
+    case OPT_JAVA:
+      java_style = 1;
+      break;
     case 'c':
       force_output = 1;
       break;
@@ -337,7 +345,9 @@
   char *result;
   char *endp;
 
-  if (strchr (path, '/') == NULL)
+  if (java_style)
+    result = output_prefix;
+  else if (strchr (path, '/') == NULL)
     {
       /* This is a system path.  First examine whether the locale name
 	 contains a reference to the codeset.  This should be
Index: programs/localedef.h
===================================================================
RCS file: /cvs/glibc/libc/locale/programs/localedef.h,v
retrieving revision 1.7
diff -u -r1.7 localedef.h
--- programs/localedef.h 2001/12/10 01:22:36 1.7
+++ programs/localedef.h 2002/01/03 04:44:18
@@ -112,6 +112,7 @@
 extern int verbose;
 extern int be_quiet;
 extern int oldstyle_tables;
+extern int java_style;
 extern const char *repertoire_global;
 
 
@@ -138,5 +139,16 @@
 					const char *repertoire_name,
 					const struct charmap_t *charmap,
 					struct localedef_t *copy_locale);
+
+/* Printing, java-style.  */
+extern void java_end_locale (void);
+extern void java_start_locale (const char *output_path,
+			       struct localedef_t *locale);
+extern void java_printf (struct localedef_t *locale, const char *format, ...)
+     __attribute__ ((format (printf, 2, 3)));
+extern void java_print_string (struct localedef_t *locale,
+			       const char *copy_name,
+			       const char *field_name,
+			       const char *value);
 
 #endif /* localedef.h */
Index: programs/locfile.c
===================================================================
RCS file: /cvs/glibc/libc/locale/programs/locfile.c,v
retrieving revision 1.30
diff -u -r1.30 locfile.c
--- programs/locfile.c 2001/12/10 01:20:35 1.30
+++ programs/locfile.c 2002/01/03 04:44:19
@@ -312,6 +312,23 @@
   [LC_IDENTIFICATION] = identification_output
 };
 
+static void (*const java_write_funcs[]) (struct localedef_t *,
+				    const struct charmap_t *, const char *) =
+{
+  [LC_CTYPE] = NULL,
+  [LC_COLLATE] = NULL,
+  [LC_MESSAGES] = NULL,
+  [LC_MONETARY] = java_monetary_output,
+  [LC_NUMERIC] = java_numeric_output,
+  [LC_TIME] = java_time_output,
+  [LC_PAPER] = NULL,
+  [LC_NAME] = NULL,
+  [LC_ADDRESS] = NULL,
+  [LC_TELEPHONE] = NULL,
+  [LC_MEASUREMENT] = NULL,
+  [LC_IDENTIFICATION] = NULL
+};
+
 void
 write_all_categories (struct localedef_t *definitions,
 		      const struct charmap_t *charmap,
@@ -319,9 +336,19 @@
 {
   int cnt;
 
+  void (* const *funcs) (struct localedef_t *, const struct charmap_t *,
+		   const char *);
+  funcs = java_style ? java_write_funcs : write_funcs;
+
+  if (java_style)
+    java_start_locale (output_path, definitions);
+
   for (cnt = 0; cnt < sizeof (write_funcs) / sizeof (write_funcs[0]); ++cnt)
-    if (write_funcs[cnt] != NULL)
-      write_funcs[cnt] (definitions, charmap, output_path);
+    if (funcs[cnt] != NULL)
+      funcs[cnt] (definitions, charmap, output_path);
+
+  if (java_style)
+    java_end_locale ();
 }
 
 /* Return a NULL terminated list of the directories next to output_path
Index: programs/locfile.h
===================================================================
RCS file: /cvs/glibc/libc/locale/programs/locfile.h,v
retrieving revision 1.13
diff -u -r1.13 locfile.h
--- programs/locfile.h 2001/12/10 01:24:11 1.13
+++ programs/locfile.h 2002/01/03 04:44:20
@@ -161,6 +161,9 @@
 extern void monetary_output (struct localedef_t *locale,
 			     const struct charmap_t *charmap,
 			     const char *output_path);
+extern void java_monetary_output (struct localedef_t *locale,
+				  const struct charmap_t *charmap,
+				  const char *output_path);
 
 /* Handle LC_NUMERIC category.  */
 extern void numeric_read (struct linereader *ldfile,
@@ -173,6 +176,9 @@
 extern void numeric_output (struct localedef_t *locale,
 			    const struct charmap_t *charmap,
 			    const char *output_path);
+extern void java_numeric_output (struct localedef_t *locale,
+				 const struct charmap_t *charmap,
+				 const char *output_path);
 
 /* Handle LC_MESSAGES category.  */
 extern void messages_read (struct linereader *ldfile,
@@ -197,6 +203,9 @@
 extern void time_output (struct localedef_t *locale,
 			 const struct charmap_t *charmap,
 			 const char *output_path);
+extern void java_time_output (struct localedef_t *locale,
+			      const struct charmap_t *charmap,
+			      const char *output_path);
 
 /* Handle LC_PAPER category.  */
 extern void paper_read (struct linereader *ldfile,


From yzshang@hopen.com.cn Thu Jan 03 22:21:34 2002
Received: from [159.226.4.132] (helo=mailsrv.sec.ac.cn)
	by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian))
	id 16MKvG-0004ax-00
	for <classpath@gnu.org>; Thu, 03 Jan 2002 22:21:34 -0500
Received: from yzshang ([172.20.159.188])
	by mailsrv.sec.ac.cn (8.9.3/8.9.3) with SMTP id LAA10788
	for <classpath@gnu.org>; Fri, 4 Jan 2002 11:07:05 +0800
Message-ID: <000c01c194cf$029efec0$bc9f14ac@com>
From: "yzshang" <yzshang@hopen.com.cn>
To: <classpath@gnu.org>
Subject: Porting Classpah to Kaffe
Date: Fri, 4 Jan 2002 11:22:15 +0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0009_01C19512.103456A0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.3825.400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.3825.400
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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_0009_01C19512.103456A0
Content-Type: text/plain;
	charset="gb2312"
Content-Transfer-Encoding: base64

ICAgIFdlIHdhbnQgdG8gcG9ydGluZyBjbGFzc3BhdGggdG8ga2FmZmUuDQpEbyB5b3UgaGF2ZSBh
bnkgSE9XLVRPIGRvY3VtZW50cyA/DQpwbGVhc2Ugc2VuZCB0byBtZSAhDQogICAgVGhhbmtzIGEg
bG90Lg0KICAgICAgICAgICAgICAgICAgICAgICAgICB5enNoYW5nQGhvcGVuLmNvbS5jbg0K

------=_NextPart_000_0009_01C19512.103456A0
Content-Type: text/html;
	charset="gb2312"
Content-Transfer-Encoding: base64

PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv
L0VOIj4NCjxIVE1MPjxIRUFEPg0KPE1FVEEgaHR0cC1lcXVpdj1Db250ZW50LVR5cGUgY29udGVu
dD0idGV4dC9odG1sOyBjaGFyc2V0PWdiMjMxMiI+DQo8TUVUQSBjb250ZW50PSJNU0hUTUwgNS41
MC4zODI1LjEzMDAiIG5hbWU9R0VORVJBVE9SPg0KPFNUWUxFPjwvU1RZTEU+DQo8L0hFQUQ+DQo8
Qk9EWSBiZ0NvbG9yPSNmZmZmZmY+DQo8RElWPjxGT05UIHNpemU9Mj4mbmJzcDsmbmJzcDsmbmJz
cDsgV2Ugd2FudCB0byBwb3J0aW5nIGNsYXNzcGF0aCB0byANCmthZmZlLjwvRk9OVD48L0RJVj4N
CjxESVY+PEZPTlQgc2l6ZT0yPkRvIHlvdSBoYXZlIGFueSBIT1ctVE8gZG9jdW1lbnRzID88L0ZP
TlQ+PC9ESVY+DQo8RElWPjxGT05UIHNpemU9Mj5wbGVhc2Ugc2VuZCB0byBtZSAhPC9GT05UPjwv
RElWPg0KPERJVj48Rk9OVCBzaXplPTI+Jm5ic3A7Jm5ic3A7Jm5ic3A7IFRoYW5rcyBhIGxvdC48
L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIA0Kc2l6ZT0yPiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNw
OyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZu
YnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNw
OyZuYnNwOyZuYnNwOyANCnl6c2hhbmdAaG9wZW4uY29tLmNuPC9GT05UPjwvRElWPjwvQk9EWT48
L0hUTUw+DQo=

------=_NextPart_000_0009_01C19512.103456A0--



From cbj@gnu.org Sat Jan 05 23:17:57 2002
Received: from fe7.southeast.rr.com ([24.93.67.54] helo=mail7.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16N4kv-0004bx-00
	for <classpath@gnu.org>; Sat, 05 Jan 2002 23:17:57 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by mail7.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Sat, 5 Jan 2002 23:17:54 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.0) id g0644LW02748;
	Sat, 5 Jan 2002 23:04:21 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: "yzshang" <yzshang@hopen.com.cn>
Cc: <classpath@gnu.org>
Subject: Re: Porting Classpah to Kaffe
References: <000c01c194cf$029efec0$bc9f14ac@com>
From: Brian Jones <cbj@gnu.org>
Date: 05 Jan 2002 23:04:21 -0500
In-Reply-To: <000c01c194cf$029efec0$bc9f14ac@com>
Message-ID: <m3vgeg5dmi.fsf@lyta.haphazard.org>
Lines: 16
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

"yzshang" <yzshang@hopen.com.cn> writes:

>     We want to porting classpath to kaffe.
> Do you have any HOW-TO documents ?
> please send to me !
>     Thanks a lot.
>                           yzshang@hopen.com.cn

A good start should be to look at our website,
http://www.gnu.org/software/classpath/ and check out the VM
Integration Guide.  If you run into questions or it looks out of date
don't hesitate to ask the list.

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


From mark@wildebeest.org Tue Jan 08 10:48:47 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16NyUZ-0001bf-00
	for <classpath@gnu.org>; Tue, 08 Jan 2002 10:48:47 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16NyUG-0000b3-00; Tue, 08 Jan 2002 16:48:28 +0100
Received: from mark by elsschot with local (Exim 3.33 #1 (Debian))
	id 16NyUM-0004F0-00; Tue, 08 Jan 2002 16:48:34 +0100
Subject: Re: Re (2): Bug Report (character encoding aliases)
From: Mark Wielaard <mark@klomp.org>
To: reali@inf.ethz.ch
Cc: classpath@gnu.org
In-Reply-To: <200111231753.SAA18033@lillian-ics.inf.ethz.ch>
References: <200111231753.SAA18033@lillian-ics.inf.ethz.ch>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0 (Preview Release)
Date: 08 Jan 2002 16:48:34 +0100
Message-Id: <1010504914.15073.2.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

On Fri, 2001-11-23 at 18:53, reali@inf.ethz.ch wrote:
> Mark writes:
> 
> > You can also define the System property
> > "gnu.java.io.encoding_scheme_alias.ISO-8859-1" to have the value "8859_1".
> > See gnu/java/io/EncodingManager.java how this is implemented.
> > 
> > > How did it happen:
> > > ------------------
> > > I executed SpecApplication from the SpecJVM benchmark suite
> > > on my Jaos VM.
> > Could you try the test with the above workaround?
> > If that works we should at least by default define a couple of those
> > System property aliases for Classpath now until we actually merge character
> > conversions with libgcj.
> 
> Sorry for the delay.

Don't worry about it, I just waited almost 2 months before replying :)

> Your fix works fine. Thanks a lot! I implemented it as follows:
> 
>   static void insertGNUProperties ()
>   {
>     properties.put ("gnu.cpu.endian",
>                     (isWordsBigEndian ())? "big" : "little");
>     properties.put ("gnu.java.io.encoding_scheme_alias.ISO-8859-1", "8859_1");
>   }

For now I have added the following aliases for now.
When merging our character encoding with libgcj and/or when we adopt the
new java.nio.charset specification we should get the proper standards
document to define these.

Cheers,

Mark

Index: java/lang/System.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/lang/System.java,v
retrieving revision 1.11
diff -u -r1.11 System.java
--- java/lang/System.java	21 Sep 2001 04:22:07 -0000	1.11
+++ java/lang/System.java	8 Jan 2002 15:39:37 -0000
@@ -376,6 +376,60 @@
   {
     properties.put ("gnu.cpu.endian",
 		    (isWordsBigEndian ())? "big" : "little");
+
+    // Common encoding aliases. See gnu.java.io.EncodingManager.
+    properties.put ("gnu.java.io.encoding_scheme_alias.ISO-8859-1", "8859_1");
+    properties.put ("gnu.java.io.encoding_scheme_alias.ISO-8859-2", "8859_2");
+    properties.put ("gnu.java.io.encoding_scheme_alias.ISO-8859-3", "8859_3");
+    properties.put ("gnu.java.io.encoding_scheme_alias.ISO-8859-4", "8859_4");
+    properties.put ("gnu.java.io.encoding_scheme_alias.ISO-8859-5", "8859_5");
+    properties.put ("gnu.java.io.encoding_scheme_alias.ISO-8859-6", "8859_6");
+    properties.put ("gnu.java.io.encoding_scheme_alias.ISO-8859-7", "8859_7");
+    properties.put ("gnu.java.io.encoding_scheme_alias.ISO-8859-8", "8859_8");
+    properties.put ("gnu.java.io.encoding_scheme_alias.ISO-8859-9", "8859_9");
+
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-8859-1", "8859_1");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-8859-2", "8859_2");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-8859-3", "8859_3");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-8859-4", "8859_4");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-8859-5", "8859_5");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-8859-6", "8859_6");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-8859-7", "8859_7");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-8859-8", "8859_8");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-8859-9", "8859_9");
+
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso8859_1", "8859_1");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso8859_2", "8859_2");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso8859_3", "8859_3");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso8859_4", "8859_4");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso8859_5", "8859_5");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso8859_6", "8859_6");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso8859_7", "8859_7");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso8859_8", "8859_8");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso8859_9", "8859_9");
+
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-latin-1", "8859_1");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-latin-2", "8859_2");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-latin-3", "8859_3");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-latin-4", "8859_4");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-latin-5", "8859_5");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-latin-6", "8859_6");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-latin-7", "8859_7");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-latin-8", "8859_8");
+    properties.put ("gnu.java.io.encoding_scheme_alias.iso-latin-9", "8859_9");
+
+    properties.put ("gnu.java.io.encoding_scheme_alias.latin1", "8859_1");
+    properties.put ("gnu.java.io.encoding_scheme_alias.latin2", "8859_2");
+    properties.put ("gnu.java.io.encoding_scheme_alias.latin3", "8859_3");
+    properties.put ("gnu.java.io.encoding_scheme_alias.latin4", "8859_4");
+    properties.put ("gnu.java.io.encoding_scheme_alias.latin5", "8859_5");
+    properties.put ("gnu.java.io.encoding_scheme_alias.latin6", "8859_6");
+    properties.put ("gnu.java.io.encoding_scheme_alias.latin7", "8859_7");
+    properties.put ("gnu.java.io.encoding_scheme_alias.latin8", "8859_8");
+    properties.put ("gnu.java.io.encoding_scheme_alias.latin9", "8859_9");
+
+    properties.put ("gnu.java.io.encoding_scheme_alias.UTF-8", "UTF8");
+    properties.put ("gnu.java.io.encoding_scheme_alias.utf-8", "UTF8");
   }
 
   static native boolean isWordsBigEndian ();


From mark@wildebeest.org Tue Jan 08 16:20:05 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16O3fB-0005Hy-00
	for <classpath@gnu.org>; Tue, 08 Jan 2002 16:20:05 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16O3f3-0000fw-00
	for <classpath@gnu.org>; Tue, 08 Jan 2002 22:19:57 +0100
Received: from mark by elsschot with local (Exim 3.33 #1 (Debian))
	id 16O3f9-00067X-00
	for <classpath@gnu.org>; Tue, 08 Jan 2002 22:20:03 +0100
Subject: Patch for compiling BigInteger with gcj
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0 (Preview Release)
Date: 08 Jan 2002 22:20:03 +0100
Message-Id: <1010524803.15073.4.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

I need the following patch to compile Classpath with gcj:

diff -u -r1.13 BigInteger.java
--- java/math/BigInteger.java	16 Dec 2001 01:27:04 -0000	1.13
+++ java/math/BigInteger.java	8 Jan 2002 21:12:44 -0000
@@ -26,7 +26,7 @@
 
 package java.math;
 
-import gnu.java.math.*;
+import gnu.java.math.MPN;
 import java.util.Random;
 import java.io.ObjectInputStream;
 import java.io.ObjectOutputStream;

Otherwise I get the following error (with gcj 3.0.3):
make[1]: Entering directory `/home/mark/src/classpath/lib'
/usr/bin/gcj -C -d . @classes
./../java/math/BigInteger.java:29: Can't find default package
`gnu.java.math'. Check the CLASSPATH environment variable and the access
to the archives.
1 error

This seems to be because we don't supply the classpath to gcj in
lib/Makefile.am. Maybe we should change that.

Is anybody else seeing this?

Cheers,

Mark


From mark@wildebeest.org Tue Jan 08 16:30:34 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16O3pK-0006BL-00; Tue, 08 Jan 2002 16:30:34 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16O3pC-0000gG-00; Tue, 08 Jan 2002 22:30:26 +0100
Received: from mark by elsschot with local (Exim 3.33 #1 (Debian))
	id 16O3pJ-0004wd-00; Tue, 08 Jan 2002 22:30:33 +0100
Subject: Re: automake/autoconf
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
Cc: GNU Classpath <classpath@gnu.org>
In-Reply-To: <m3bsi29vam.fsf@lyta.haphazard.org>
References: <m3y9lbcnsw.fsf@lyta.haphazard.org>
	<20011116160303.C13527@klomp.org>  <m3bsi29vam.fsf@lyta.haphazard.org>
Content-Type: multipart/mixed; boundary="=-i7uVt2t2kGg9pYBf5ceB"
X-Mailer: Evolution/1.0 (Preview Release)
Date: 08 Jan 2002 22:30:32 +0100
Message-Id: <1010525433.15073.6.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

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

Hi,

On Fri, 2001-11-16 at 23:59, Brian Jones wrote:
> Mark Wielaard <mark@klomp.org> writes:
> > On Mon, Nov 12, 2001 at 11:11:43PM -0500, Brian Jones wrote:
> > > I'm noticing some problems trying to configure classpath for
> > > --with-gcj using automake 1.5 and autoconf 2.52.  It looks like for
> > > some reason autoconf is evaluating @FOUND_JIKES_FALSE@ and
> > > @FOUND_JIKES_TRUE@ both to "" at the same time.  Could someone else
> > > who has tried the --with-gcj option comment?
> > 
> > Are you talking about the following from lib/Makefile.am:
> 
> Yes.
> 
> > Which gets transformed to this lib/MAKEFILE.in:
> 
> Yes.
> 
> > Then, yes, I am seeing the same thing.
> 
> Bugger, any ideas about why autoconf is doing that?

I do not pretend that I really understand it, but the following patch
seems to fix it for me. Does it look right to you?

Cheers,

Mark

--=-i7uVt2t2kGg9pYBf5ceB
Content-Disposition: attachment; filename=acinclude.diff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-15

Index: acinclude.m4
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/classpath/classpath/acinclude.m4,v
retrieving revision 1.20
diff -u -r1.20 acinclude.m4
--- acinclude.m4	28 Oct 2001 01:15:04 -0000	1.20
+++ acinclude.m4	8 Jan 2002 21:27:11 -0000
@@ -255,15 +255,13 @@
   CLASSPATH_WITH_JIKES
   CLASSPATH_WITH_KJC
=20
-  case "$user_specified_javac" in
-    gcj) AM_CONDITIONAL(FOUND_GCJ, test x =3D x) ;;
-    jikes) AM_CONDITIONAL(FOUND_JIKES, test x =3D x) ;;
-    kjc) AM_CONDITIONAL(FOUND_KJC, test x =3D x) ;;
-  esac
-
   if test "$user_specified_javac" =3D ""; then
     AM_CONDITIONAL(FOUND_GCJ, test "$GCJ" !=3D "")
     AM_CONDITIONAL(FOUND_JIKES, test "$JIKES" !=3D "")
+  else
+    AM_CONDITIONAL(FOUND_GCJ, test "$user_specified_javac" =3D "gcj")
+    AM_CONDITIONAL(FOUND_JIKES, test "$user_specified_javac" =3D "jikes")
+    AM_CONDITIONAL(FOUND_KJC, test "$user_specified_javac" =3D "kjc")
   fi
=20
   if test "$GCJ" =3D "" && test "$JIKES" =3D "" && test "$user_specified_j=
avac" !=3D "kjc"; then

--=-i7uVt2t2kGg9pYBf5ceB--


From mark@wildebeest.org Wed Jan 09 08:16:20 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16OIaZ-00039Z-00
	for <classpath@gnu.org>; Wed, 09 Jan 2002 08:16:19 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16OIaR-0001wC-00
	for <classpath@gnu.org>; Wed, 09 Jan 2002 14:16:11 +0100
Received: from mark by elsschot with local (Exim 3.33 #1 (Debian))
	id 16OIaX-0004a6-00
	for <classpath@gnu.org>; Wed, 09 Jan 2002 14:16:17 +0100
Subject: Compiling with gcj
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <1010524803.15073.4.camel@elsschot>
References: <1010524803.15073.4.camel@elsschot>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0 (Preview Release)
Date: 09 Jan 2002 14:16:17 +0100
Message-Id: <1010582177.15531.26.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

On Tue, 2002-01-08 at 22:20, Mark Wielaard wrote:
> 
> I need the following patch to compile Classpath with gcj:
> 
[...]
> 
> Otherwise I get the following error (with gcj 3.0.3):
> make[1]: Entering directory `/home/mark/src/classpath/lib'
> /usr/bin/gcj -C -d . @classes
> ./../java/math/BigInteger.java:29: Can't find default package
> `gnu.java.math'. Check the CLASSPATH environment variable and the access
> to the archives.
> 1 error

So I tried with a recent gcj 3.1 (from cvs) but got a compile error
since that version of gcj has another idea of what the
Class.protectionDomain field should be. I can work around this by
renaming that field:

--- vm/reference/java/lang/Class.java	26 Jul 2001 22:56:11 -0000	1.12
+++ vm/reference/java/lang/Class.java	9 Jan 2002 13:05:34 -0000
@@ -51,7 +51,7 @@
 
 public class Class {
     private Object[] signers = null;
-    private ProtectionDomain protectionDomain = null;
+    private ProtectionDomain pd = null;
     
     // The unknown protection domain.
     private final static ProtectionDomain unknownProtectionDomain;
@@ -529,10 +529,10 @@
         if (sm != null)
             sm.checkPermission(protectionDomainPermission);
 
-        if (protectionDomain == null)
+        if (pd == null)
             return unknownProtectionDomain;
         else
-            return protectionDomain;
+            return pd;
     }

But then I get:

Making all in lib
make[1]: Entering directory `/home/mark/src/classpath/lib'
/usr/local/gcc-3.1/bin/gcj -C -d . @classes
./../java/util/LinkedHashMap.java:0: tree check: expected class 'd',
have 'x' (identifier_node) in check_inner_circular_reference, at
java/parse.y:5247
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[1]: *** [compile-classes] Error 1
make[1]: Leaving directory `/home/mark/src/classpath/lib'
make: *** [all-recursive] Error 1

Which gcj 3.0.3 seems to compile just fine.
The strange thing is that LinkedHashMap and HashMap are the same version
as in libgcj.

Is anybody else compiling Classpath with gcj?

Cheers,

Mark


From mark@wildebeest.org Wed Jan 09 09:23:10 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16OJdG-0008CL-00
	for <classpath@gnu.org>; Wed, 09 Jan 2002 09:23:10 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16OJd2-0001xQ-00
	for <classpath@gnu.org>; Wed, 09 Jan 2002 15:22:56 +0100
Received: from mark by elsschot with local (Exim 3.33 #1 (Debian))
	id 16OJd9-0003WU-00
	for <classpath@gnu.org>; Wed, 09 Jan 2002 15:23:03 +0100
Subject: Re: Compiling with gcj
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
In-Reply-To: <1010582177.15531.26.camel@elsschot>
References: <1010524803.15073.4.camel@elsschot> 
	<1010582177.15531.26.camel@elsschot>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0 (Preview Release)
Date: 09 Jan 2002 15:23:02 +0100
Message-Id: <1010586182.15531.31.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

On Wed, 2002-01-09 at 14:16, Mark Wielaard wrote:
> make[1]: Entering directory `/home/mark/src/classpath/lib'
> /usr/local/gcc-3.1/bin/gcj -C -d . @classes
> ./../java/util/LinkedHashMap.java:0: tree check: expected class 'd',
> have 'x' (identifier_node) in check_inner_circular_reference, at
> java/parse.y:5247
> Please submit a full bug report,

Replying to myself. There is a patch by Tom Tromey in the GNATS database
that helps me get around this:
<http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&database=gcc&pr=4715>

Cheers,

Mark


From tromey@creche.cygnus.com Wed Jan 09 11:59:52 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16OM4t-0005lL-00
	for <classpath@gnu.org>; Wed, 09 Jan 2002 11:59:51 -0500
Received: from creche.cygnus.com (ta0197.peakpeak.com [204.144.244.197] (may be forged))
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id JAA10320;
	Wed, 9 Jan 2002 09:59:47 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id KAA01098;
	Wed, 9 Jan 2002 10:13:20 -0700
To: Mark Wielaard <mark@klomp.org>
Cc: classpath@gnu.org
Subject: Re: Compiling with gcj
References: <1010524803.15073.4.camel@elsschot> <1010582177.15531.26.camel@elsschot>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  ...  Blame it on the BOSSA NOVA!!!
Date: 09 Jan 2002 10:13:20 -0700
In-Reply-To: Mark Wielaard's message of "09 Jan 2002 14:16:17 +0100"
Message-ID: <877kqr8n2n.fsf@creche.redhat.com>
Lines: 14
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

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

Mark> So I tried with a recent gcj 3.1 (from cvs) but got a compile error
Mark> since that version of gcj has another idea of what the
Mark> Class.protectionDomain field should be. I can work around this by
Mark> renaming that field:

This is probably a bug in gcj.
Right now gcj makes a lot of assumptions about how Object.java and
Class.java are written.  It might be nice if we could relax these
assumptions a bit, so that you can generate .class files for other
(non-libgcj) class libraries.

Tom


From mark@wildebeest.org Sat Jan 12 09:00:00 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16POhT-0007xN-00
	for <classpath@gnu.org>; Sat, 12 Jan 2002 08:59:59 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16POhO-000480-00
	for <classpath@gnu.org>; Sat, 12 Jan 2002 14:59:54 +0100
Received: from mark by elsschot with local (Exim 3.33 #1 (Debian))
	id 16POhO-0007Il-00
	for <classpath@gnu.org>; Sat, 12 Jan 2002 14:59:54 +0100
Subject: java.net.*Socket merge with libgcj
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0 (Preview Release)
Date: 12 Jan 2002 14:59:53 +0100
Message-Id: <1010843993.12466.2.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

I merged Socket and ServerSocket with libgcj nothing major just some
documentation, indenting and code cleanups most functionality was
already the same.

I als reindented and cleaned up java.net.DatagramSocket to prepare for a
real merge but did not merge it yet. libgcj has only the 1.1 spec
functionality implemented and I don't really understand why Brian Jones
made the recent changes to that class. I will probably have to pick up a
copy of Stevens Network Programming before I can really hack on that
code.

Cheers,

Mark


From mark@wildebeest.org Sat Jan 12 18:19:48 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16PXRD-0000No-00
	for <classpath@gnu.org>; Sat, 12 Jan 2002 18:19:47 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16PXRA-0004PQ-00; Sun, 13 Jan 2002 00:19:44 +0100
Received: from mark by elsschot with local (Exim 3.33 #1 (Debian))
	id 16PXRA-0002TM-00; Sun, 13 Jan 2002 00:19:44 +0100
Subject: Assertion errors with Orp and Classpath
From: Mark Wielaard <mark@klomp.org>
To: orp@yahoogroups.com
Cc: classpath@gnu.org
Content-Type: multipart/mixed; boundary="=-SEdz7M1MFsafJ0qKaaFP"
X-Mailer: Evolution/1.0 (Preview Release)
Date: 13 Jan 2002 00:19:44 +0100
Message-Id: <1010877584.12468.9.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

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

Hi,

I am playing with Orp 1.0.8 and the Classpath native libraries from CVS.
When testing out Classpath and Orp with a small test program I get
asserting errors in Prepare.cc. Uncommenting some debugging strings
gives the following message:

No implementation in class java/net/DatagramSocketImpl for method
getOption of interface java/net/SocketOptions.

Which is strange since DatagramSocketImpl is abstract and does indeed
not implement getOption(). The (non-abstract) subclass
PlainDatagramSocketImpl implements it.

Attached is the test program. Could someone try it out with Orp and let
me know if it works?

Cheers,

Mark

--=-SEdz7M1MFsafJ0qKaaFP
Content-Disposition: attachment; filename=DataTest.java
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-java; charset=ISO-8859-15

import java.net.*;

public class DataTest
{
    public static void main(String[] args)
    {
      try {
      DatagramSocket client =3D new DatagramSocket();

      System.out.println("ReceiveBuffer");
      System.out.println("Orig size: " + client.getReceiveBufferSize());
      client.setReceiveBufferSize(8000);
      System.out.println("New size: " + client.getReceiveBufferSize());

      System.out.println("SendBuffer");
      System.out.println("Orig size: " + client.getSendBufferSize());
      client.setSendBufferSize(9000);
      System.out.println("New size: " + client.getSendBufferSize());

      } catch (Exception e) {
	      System.out.println("Exception: " + e);
      }
    }
}

--=-SEdz7M1MFsafJ0qKaaFP--


From rao@gnu.org Sun Jan 13 02:53:20 2002
Received: from rao by fencepost.gnu.org with local (Exim 3.33 #1 (Debian))
	id 16PfSC-0008ET-00
	for <classpath@gnu.org>; Sun, 13 Jan 2002 02:53:20 -0500
Date: Sun, 13 Jan 2002 02:53:20 -0500
From: Paul Fisher <rao@gnu.org>
To: classpath@gnu.org
Subject: AWT licensing
Message-ID: <20020113075320.GA29653@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.25i
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 Classpath AWT now falls under the GPL+exception, as does the
libgcj AWT.

Anyone want to update the CVS tree?


From mark@wildebeest.org Sun Jan 13 04:09:50 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16PgeE-0005I6-00; Sun, 13 Jan 2002 04:09:50 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16PgeC-0004vC-00; Sun, 13 Jan 2002 10:09:48 +0100
Received: from mark by elsschot with local (Exim 3.33 #1 (Debian))
	id 16PgeC-0004f8-00; Sun, 13 Jan 2002 10:09:48 +0100
Subject: Re: AWT licensing
From: Mark Wielaard <mark@klomp.org>
To: Paul Fisher <rao@gnu.org>
Cc: classpath@gnu.org
In-Reply-To: <20020113075320.GA29653@gnu.org>
References: <20020113075320.GA29653@gnu.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0 (Preview Release)
Date: 13 Jan 2002 10:09:48 +0100
Message-Id: <1010912988.17369.1.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

On Sun, 2002-01-13 at 08:53, Paul Fisher wrote:
> The Classpath AWT now falls under the GPL+exception, as does the
> libgcj AWT.
> 
> Anyone want to update the CVS tree?

Yeah. I will do it today.

Thanks,

Mark


From mark@wildebeest.org Sun Jan 13 10:51:08 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16Pmua-0002fF-00; Sun, 13 Jan 2002 10:51:08 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16Pmtt-00056y-00; Sun, 13 Jan 2002 16:50:25 +0100
Received: from mark by elsschot with local (Exim 3.33 #1 (Debian))
	id 16Pmtu-0005zJ-00; Sun, 13 Jan 2002 16:50:26 +0100
Subject: Re: AWT licensing
From: Mark Wielaard <mark@klomp.org>
To: Mark Wielaard <mark@klomp.org>
Cc: Paul Fisher <rao@gnu.org>, classpath@gnu.org
In-Reply-To: <1010912988.17369.1.camel@elsschot>
References: <20020113075320.GA29653@gnu.org> 
	<1010912988.17369.1.camel@elsschot>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0 (Preview Release)
Date: 13 Jan 2002 16:50:26 +0100
Message-Id: <1010937026.19974.4.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

On Sun, 2002-01-13 at 10:09, Mark Wielaard wrote:
> On Sun, 2002-01-13 at 08:53, Paul Fisher wrote:
> > 
> > Anyone want to update the CVS tree?
> 
> Yeah. I will do it today.

OK. Done.

I noticed that the following (non-awt/non-peer) files also still had the
LGPL copyright noticed. I changed them all to have the standard
GPL+Exception notice. If that was not the intention please yell and I
will change it back.

compat/java.net/PlainSocketImpl.java
gnu/java/net/protocol/http/Handler.java
gnu/javax/swing/plaf/gtk/GtkBorders.java
gnu/javax/swing/plaf/gtk/GtkCheckBoxUI.java
gnu/javax/swing/plaf/gtk/GtkIconFactory.java
gnu/javax/swing/plaf/gtk/GtkLookAndFeel.java
gnu/javax/swing/plaf/gtk/GtkRadioButtonUI.java
gnu/javax/swing/plaf/gtk/GtkSliderUI.java
gnu/test/Fail.java
gnu/test/Pass.java
gnu/test/Result.java
gnu/test/Test.java
gnu/test/Unresolved.java
gnu/test/Unsupported.java
gnu/test/Untested.java
gnu/test/XFail.java
gnu/test/XPass.java
vm/reference/gnu/vm/stack/StackFrame.java
vm/reference/gnu/vm/stack/StackTrace.java
vm/reference/java/lang/Class.java
vm/reference/java/lang/Runtime.java
vm/reference/java/lang/Thread.java
vm/reference/java/lang/VMClassLoader.java
vm/reference/java/lang/VMObject.java
vm/reference/java/lang/VMSecurityManager.java
vm/reference/java/lang/VMSystem.java

Cheers,

Mark


From etienne.gagnon@uqam.ca Sun Jan 13 11:06:33 2002
Received: from anis.telecom.uqam.ca ([132.208.250.6] helo=uqam.ca)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16Pn9V-0003Et-00; Sun, 13 Jan 2002 11:06:33 -0500
Received: from anis.telecom.uqam.ca (anis.telecom.uqam.ca [132.208.250.6])
	by sortant.uqam.ca (8.11.6/8.11.0) with SMTP id g0DG34e27221;
	Sun, 13 Jan 2002 11:03:04 -0500 (EST)
Received: from antivirus.uqam.ca ([127.0.0.1])
 by anis.telecom.uqam.ca (NAVGW 2.5.1.12) with SMTP id M2002011311030315701
 ; Sun, 13 Jan 2002 11:03:03 -0500
Received: from er.uqam.ca (nobel.si.uqam.ca [132.208.219.1])
	by intrant.uqam.ca (8.11.6/8.11.0) with ESMTP id g0DG2kp27200;
	Sun, 13 Jan 2002 11:02:46 -0500 (EST)
Received: from localhost (perseval.info.uqam.ca [132.208.137.96])
	by er.uqam.ca (8.10.0/8.10.0) with ESMTP id g0DG2iY03020;
	Sun, 13 Jan 2002 11:02:45 -0500 (EST)
Received: from egagnon by localhost with local (Exim 3.33 #1 (Debian))
	id 16Pn5j-0002KX-00; Sun, 13 Jan 2002 11:02:39 -0500
Date: Sun, 13 Jan 2002 11:02:39 -0500
To: Mark Wielaard <mark@klomp.org>
Cc: Paul Fisher <rao@gnu.org>, classpath@gnu.org
Subject: Re: AWT licensing
Message-ID: <20020113160239.GA8851@perseval.info.uqam.ca>
References: <20020113075320.GA29653@gnu.org> <1010912988.17369.1.camel@elsschot>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1010912988.17369.1.camel@elsschot>
User-Agent: Mutt/1.3.25i
From: "Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 Sun, Jan 13, 2002 at 10:09:48AM +0100, Mark Wielaard wrote:
> Yeah. I will do it today.

Hi Mark and Paul,

As you have probably noticed, Richard Stallman agreed to my proposed
clarification to the GPL exception text.  Unless somebody has some
kind of objection, I would suggest to also go ahead and change the
exception text, this way all license related discussions will be
definitely be closed. :-)

What do you think?

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


From mark@wildebeest.org Sun Jan 13 11:29:38 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16PnVn-0004RO-00; Sun, 13 Jan 2002 11:29:38 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16PnVB-00058Q-00; Sun, 13 Jan 2002 17:28:57 +0100
Received: from mark by elsschot with local (Exim 3.33 #1 (Debian))
	id 16PnVC-00066N-00; Sun, 13 Jan 2002 17:28:58 +0100
Subject: Re: AWT licensing
From: Mark Wielaard <mark@klomp.org>
To: "Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
Cc: Paul Fisher <rao@gnu.org>, classpath@gnu.org
In-Reply-To: <20020113160239.GA8851@perseval.info.uqam.ca>
References: <20020113075320.GA29653@gnu.org>
	<1010912988.17369.1.camel@elsschot> 
	<20020113160239.GA8851@perseval.info.uqam.ca>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0 (Preview Release)
Date: 13 Jan 2002 17:28:58 +0100
Message-Id: <1010939338.17369.6.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

On Sun, 2002-01-13 at 17:02, Etienne M. Gagnon wrote:
> As you have probably noticed, Richard Stallman agreed to my proposed
> clarification to the GPL exception text.  Unless somebody has some
> kind of objection, I would suggest to also go ahead and change the
> exception text, this way all license related discussions will be
> definitely be closed. :-)

Yeah, I agree that it would be nice to close the book on all these
license discussions. And doing it now also means that we won't cause any
more license change confusion in the future when we do a new release.

Could you post the exact wording again (I lost the thread and I know
that you made at least two proposals and RMS didn't quote it). And could
you please also CC it to java@gcc.gnu.org so the libgcj people can take
a look at it (GNU Classpath and libgcj are officially merged projects
even though we still need to do a lot of merging).

Thanks,

Mark


From etienne.gagnon@uqam.ca Sun Jan 13 12:46:12 2002
Received: from anis.telecom.uqam.ca ([132.208.250.6] helo=uqam.ca)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16Pohq-0003l4-00; Sun, 13 Jan 2002 12:46:07 -0500
Received: from anis.telecom.uqam.ca (anis.telecom.uqam.ca [132.208.250.6])
	by sortant.uqam.ca (8.11.6/8.11.0) with SMTP id g0DHc4e04458;
	Sun, 13 Jan 2002 12:38:04 -0500 (EST)
Received: from antivirus.uqam.ca ([127.0.0.1])
 by anis.telecom.uqam.ca (NAVGW 2.5.1.12) with SMTP id M2002011312380424688
 ; Sun, 13 Jan 2002 12:38:04 -0500
Received: from er.uqam.ca (nobel.si.uqam.ca [132.208.219.1])
	by intrant.uqam.ca (8.11.6/8.11.0) with ESMTP id g0DHbJp04394;
	Sun, 13 Jan 2002 12:37:20 -0500 (EST)
Received: from localhost (perseval.info.uqam.ca [132.208.137.96])
	by er.uqam.ca (8.10.0/8.10.0) with ESMTP id g0DHbJY10116;
	Sun, 13 Jan 2002 12:37:19 -0500 (EST)
Received: from egagnon by localhost with local (Exim 3.33 #1 (Debian))
	id 16PoZ9-0002e4-00; Sun, 13 Jan 2002 12:37:07 -0500
Date: Sun, 13 Jan 2002 12:37:07 -0500
To: Mark Wielaard <mark@klomp.org>
Cc: java@gcc.gnu.org, Paul Fisher <rao@gnu.org>, classpath@gnu.org
Subject: Re: AWT licensing
Message-ID: <20020113173707.GA9621@perseval.info.uqam.ca>
References: <20020113075320.GA29653@gnu.org> <1010912988.17369.1.camel@elsschot> <20020113160239.GA8851@perseval.info.uqam.ca> <1010939338.17369.6.camel@elsschot>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1010939338.17369.6.camel@elsschot>
User-Agent: Mutt/1.3.25i
From: "Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 Mark,

Here's the clarified Classpath/LibGCJ exception text that RMS agreed to:

See:
 http://mail.gnu.org/pipermail/classpath/2001-November/001649.html
and
 http://mail.gnu.org/pipermail/classpath/2001-December/001685.html

--- BEGIN ---

As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module.  An independent module is a module which is not derived or
based on this library.  If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so.  If you do not wish to do so, delete this
exception statement from your version.

--- END ---

For those of the Classpath and LibGCJ lists that didn't follow the
earlier discussion about this, the idea is that the current Classpath
exception text is ambiguous.

For the curious, this ambiguity is explained in the message:
  http://mail.gnu.org/pipermail/classpath/2001-November/001606.html

The proposed text, above, carries the exact same intentions as the
current Classpath exception, but is much clearer about the following
things:

1- The imprecise "we" is replaced by "the copyright holders",

2- Permission to optionally extend (or not) the exception to
derivative work is explicitly given, and

3- Clarification is made to explicitly state that this exception
applies to Classpath (the library) itself and does not relieve the
licensee from his obligation under the license of linked independent
modules.  So, if you link Classpath with Readline, this exception does
not relieve you from the obligation (under the license of Readline) to
apply the GPL with no exception to the combined work.

So, here's the proposed complete Classpath/LibGCJ copyright notice.
You will note an explicit statement about our stand on linking
("Linking this... combination.").  While this statement is "optional",
it clarifies any potential ambiguity for those who intend to
circumvent the intent of the GPL through dynamic linking.

--- BEGIN ---

Classpath, a set of essential libraries for supporting the Java
language.
Copyright (C) 1998-2002, Free Software Foundation, Inc.

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

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

You should have received a copy of the GNU General Public License
along with this library in the file "COPYING".  If not, write to the
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA.

Linking this library statically or dynamically with other modules is
making a combined work based on this library.  Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.

As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module.  An independent module is a module which is not derived or
based on this library.  If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so.  If you do not wish to do so, delete this
exception statement from your version.

--- END ---

So, to repeat myself, I propose to take advantage of the AWT license
change and, unless somebody has some kind of objection, I suggest to
also go ahead and change the exception text; this way all license
related discussions will be definitely be closed.

Thanks,

Etienne

On Sun, Jan 13, 2002 at 05:28:58PM +0100, Mark Wielaard wrote:
> Hi,
> 
> On Sun, 2002-01-13 at 17:02, Etienne M. Gagnon wrote:
> > As you have probably noticed, Richard Stallman agreed to my proposed
> > clarification to the GPL exception text.  Unless somebody has some
> > kind of objection, I would suggest to also go ahead and change the
> > exception text, this way all license related discussions will be
> > definitely be closed. :-)
> 
> Yeah, I agree that it would be nice to close the book on all these
> license discussions. And doing it now also means that we won't cause any
> more license change confusion in the future when we do a new release.
> 
> Could you post the exact wording again (I lost the thread and I know
> that you made at least two proposals and RMS didn't quote it). And could
> you please also CC it to java@gcc.gnu.org so the libgcj people can take
> a look at it (GNU Classpath and libgcj are officially merged projects
> even though we still need to do a lot of merging).
> 
> Thanks,
> 
> Mark
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath

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


From arenn@urbanophile.com Sun Jan 13 21:23:24 2002
Received: from rwcrmhc52.attbi.com ([216.148.227.88])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16PwmR-0000nd-00; Sun, 13 Jan 2002 21:23:24 -0500
Received: from urbanophile.com ([12.250.156.235]) by rwcrmhc52.attbi.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020114022322.UVCO3578.rwcrmhc52.attbi.com@urbanophile.com>;
          Mon, 14 Jan 2002 02:23:22 +0000
Received: (from arenn@localhost)
	by urbanophile.com (8.9.3/8.8.7) id VAA07215;
	Sun, 13 Jan 2002 21:32:40 -0600
Date: Sun, 13 Jan 2002 21:32:40 -0600
From: arenn@urbanophile.com
To: Paul Fisher <rao@gnu.org>
Cc: classpath@gnu.org
Subject: Re: AWT licensing
Message-ID: <20020113213240.A7212@urbanophile.com>
Mail-Followup-To: Paul Fisher <rao@gnu.org>, classpath@gnu.org
References: <20020113075320.GA29653@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <20020113075320.GA29653@gnu.org>; from rao@gnu.org on Sun, Jan 13, 2002 at 02:53:20AM -0500
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Paul Fisher (rao@gnu.org) wrote:
> The Classpath AWT now falls under the GPL+exception, as does the
> libgcj AWT.

Great news.

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

"We have a choice, either to change the way we live, which is unacceptable, 
or to change the way that they live, and we chose the latter."
  - Sec. of Defense Donald Rumsfeld, News briefing, 2001-09-18



From bryce@waitaki.otago.ac.nz Sun Jan 13 21:31:17 2002
Received: from mta4-rme.xtra.co.nz ([210.86.15.132])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16Pwu5-0001fa-00; Sun, 13 Jan 2002 21:31:17 -0500
Received: from localhost ([210.55.87.233]) by mta4-rme.xtra.co.nz
          with ESMTP
          id <20020114023113.BNKM25882.mta4-rme.xtra.co.nz@localhost>;
          Mon, 14 Jan 2002 15:31:13 +1300
Date: Mon, 14 Jan 2002 15:31:29 +1300
Subject: Re: AWT licensing
Content-Type: text/plain; charset=US-ASCII; format=flowed
Mime-Version: 1.0 (Apple Message framework v480)
Cc: classpath@gnu.org,
 java@gcc.gnu.org
To: Paul Fisher <rao@gnu.org>
From: Bryce McKinlay <bryce@waitaki.otago.ac.nz>
In-Reply-To: <20020113075320.GA29653@gnu.org>
Message-Id: <D0F7932E-0896-11D6-8A94-003065F97F7C@waitaki.otago.ac.nz>
Content-Transfer-Encoding: 7bit
X-Mailer: Apple Mail (2.480)
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 Sunday, January 13, 2002, at 08:53  PM, Paul Fisher wrote:

> The Classpath AWT now falls under the GPL+exception, as does the
> libgcj AWT.

This is excellent (and long awaited!) news. Many thanks to those who 
went to the effort of getting this issue sorted.

regards

Bryce.




From cbj@gnu.org Sun Jan 13 21:51:00 2002
Received: from fe7.southeast.rr.com ([24.93.67.54] helo=mail7.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16PxD9-0003wf-00; Sun, 13 Jan 2002 21:50:59 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by mail7.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Sun, 13 Jan 2002 21:50:51 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.0) id g0E2ZPd27730;
	Sun, 13 Jan 2002 21:35:25 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Bryce McKinlay <bryce@waitaki.otago.ac.nz>
Cc: Paul Fisher <rao@gnu.org>, classpath@gnu.org, java@gcc.gnu.org
Subject: Re: AWT licensing
References: <D0F7932E-0896-11D6-8A94-003065F97F7C@waitaki.otago.ac.nz>
From: Brian Jones <cbj@gnu.org>
Date: 13 Jan 2002 21:35:24 -0500
In-Reply-To: <D0F7932E-0896-11D6-8A94-003065F97F7C@waitaki.otago.ac.nz>
Message-ID: <m38zb1fymr.fsf@lyta.haphazard.org>
Lines: 15
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:

> On Sunday, January 13, 2002, at 08:53  PM, Paul Fisher wrote:
> 
> > The Classpath AWT now falls under the GPL+exception, as does the
> > libgcj AWT.
> 
> This is excellent (and long awaited!) news. Many thanks to those who
> went to the effort of getting this issue sorted.

Many thanks indeed.

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


From cbj@gnu.org Sun Jan 13 22:02:25 2002
Received: from fe6.southeast.rr.com ([24.93.67.53] helo=Mail6.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16PxOD-0004Kf-00
	for <classpath@gnu.org>; Sun, 13 Jan 2002 22:02:25 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by Mail6.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Sun, 13 Jan 2002 22:02:19 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.0) id g0E2krj27788;
	Sun, 13 Jan 2002 21:46:53 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Mark Wielaard <mark@klomp.org>
Cc: classpath@gnu.org
Subject: Re: java.net.*Socket merge with libgcj
References: <1010843993.12466.2.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 13 Jan 2002 21:46:53 -0500
In-Reply-To: <1010843993.12466.2.camel@elsschot>
Message-ID: <m33d19fy3m.fsf@lyta.haphazard.org>
Lines: 29
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard <mark@klomp.org> writes:

> Hi,
> 
> I merged Socket and ServerSocket with libgcj nothing major just some
> documentation, indenting and code cleanups most functionality was
> already the same.
> 
> I als reindented and cleaned up java.net.DatagramSocket to prepare for a
> real merge but did not merge it yet. libgcj has only the 1.1 spec
> functionality implemented and I don't really understand why Brian Jones
> made the recent changes to that class. I will probably have to pick up a
> copy of Stevens Network Programming before I can really hack on that
> code.

The ChangeLog seems pretty clear on the matter, I could see but one
change to fix a Mauve regression dated 2001-11-25.

cvs diff -r 1.9 -r 1.10 DatagramSocket.java

Essentially we didn't have this functionality implemented in the
native library where getOption is defined and the test was failing.  I
determined it was stupid to bother with the native method call since
the value can be stored locally in class private data (and it never
changes).

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


From cbj@gnu.org Sun Jan 13 22:22:55 2002
Received: from fe4.southeast.rr.com ([24.93.67.51] helo=mail4.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16Pxi3-0005HX-00
	for <classpath@gnu.org>; Sun, 13 Jan 2002 22:22:55 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by mail4.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Sun, 13 Jan 2002 22:22:48 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.0) id g0E37HO11028;
	Sun, 13 Jan 2002 22:07:17 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: orp@yahoogroups.com
Cc: classpath@gnu.org
Subject: Re: [orp] Assertion errors with Orp and Classpath
References: <1010877584.12468.9.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 13 Jan 2002 22:07:16 -0500
In-Reply-To: <1010877584.12468.9.camel@elsschot>
Message-ID: <m3y9j1eil7.fsf@lyta.haphazard.org>
Lines: 33
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard <mark@klomp.org> writes:

> Hi,
> 
> I am playing with Orp 1.0.8 and the Classpath native libraries from CVS.
> When testing out Classpath and Orp with a small test program I get
> asserting errors in Prepare.cc. Uncommenting some debugging strings
> gives the following message:
> 
> No implementation in class java/net/DatagramSocketImpl for method
> getOption of interface java/net/SocketOptions.
> 
> Which is strange since DatagramSocketImpl is abstract and does indeed
> not implement getOption(). The (non-abstract) subclass
> PlainDatagramSocketImpl implements it.
> 
> Attached is the test program. Could someone try it out with Orp and let
> me know if it works?

No, for some strange reason I get

ReceiveBuffer
Orig size: 65535
New size: 16000
SendBuffer
Exception: java.net.SocketException: No such file or directory

I get this even though java.net.SocketException exists.  No time to
track it down right now though.

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


From cbj@gnu.org Sun Jan 13 22:26:14 2002
Received: from fe5.southeast.rr.com ([24.93.67.52] helo=mail5.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16PxlG-0005XM-00
	for <classpath@gnu.org>; Sun, 13 Jan 2002 22:26:14 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by mail5.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Sun, 13 Jan 2002 22:26:12 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.0) id g0E3Akg11049;
	Sun, 13 Jan 2002 22:10:46 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Mark Wielaard <mark@klomp.org>
Cc: GNU Classpath <classpath@gnu.org>
Subject: Re: automake/autoconf
References: <m3y9lbcnsw.fsf@lyta.haphazard.org>
	<20011116160303.C13527@klomp.org> <m3bsi29vam.fsf@lyta.haphazard.org>
	<1010525433.15073.6.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 13 Jan 2002 22:10:46 -0500
In-Reply-To: <1010525433.15073.6.camel@elsschot>
Message-ID: <m3u1tpeifd.fsf@lyta.haphazard.org>
Lines: 33
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard <mark@klomp.org> writes:

> Hi,
> 
> On Fri, 2001-11-16 at 23:59, Brian Jones wrote:
> > Mark Wielaard <mark@klomp.org> writes:
> > > On Mon, Nov 12, 2001 at 11:11:43PM -0500, Brian Jones wrote:
> > > > I'm noticing some problems trying to configure classpath for
> > > > --with-gcj using automake 1.5 and autoconf 2.52.  It looks like for
> > > > some reason autoconf is evaluating @FOUND_JIKES_FALSE@ and
> > > > @FOUND_JIKES_TRUE@ both to "" at the same time.  Could someone else
> > > > who has tried the --with-gcj option comment?
> > > 
> > > Are you talking about the following from lib/Makefile.am:
> > 
> > Yes.
> > 
> > > Which gets transformed to this lib/MAKEFILE.in:
> > 
> > Yes.
> > 
> > > Then, yes, I am seeing the same thing.
> > 
> > Bugger, any ideas about why autoconf is doing that?
> 
> I do not pretend that I really understand it, but the following patch
> seems to fix it for me. Does it look right to you?

It looks right to me, could you check this in?

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


From tromey@creche.cygnus.com Mon Jan 14 02:09:27 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16Q1FH-0007hk-00
	for <classpath@gnu.org>; Mon, 14 Jan 2002 02:09:27 -0500
Received: from creche.cygnus.com (ta0204.peakpeak.com [204.144.244.204])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id AAA25781;
	Mon, 14 Jan 2002 00:09:21 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id AAA06873;
	Mon, 14 Jan 2002 00:24:11 -0700
To: Classpath Project <classpath@gnu.org>
Subject: State of AWT?
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  This TOPS OFF my partygoing experience!  Someone I DON'T LIKE
 is talking to me about a HEART-WARMING European film..
Date: 14 Jan 2002 00:24:10 -0700
Message-ID: <87k7ulwg2t.fsf@creche.redhat.com>
Lines: 75
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Tonight I optimistically started doing some Classpath/libgcj AWT
merging.  I've appended my current ChangeLog entry.  There's still
more to do, since what I've got right now doesn't build (in the
Classpath tree -- it builds fine in the libgcj tree).

The libgcj AWT doesn't work.  It isn't even finished.  So I'm not
really worried about introducing bugs.

However, I'd prefer not to do too much damage to the Classpath AWT
during the merge.  Is it possible to run the Classpath AWT?  If so,
how?  Also, is there a list of known bugs?  I looked around a little
but didn't see a test suite.

Tom

2002-01-14  Tom Tromey  <tromey@redhat.com>

	Merged with libgcj:
	* java/awt/color/ColorSpace.java: New file from libgcj.
	* java/awt/color/ICC_ColorSpace.java: Likewise.
	* java/awt/color/ICC_Profile.java: Likewise.
	* java/awt/AWTEventMulticaster.java: Merged with libgcj.
	* java/awt/event/HierarchyListener.java: New file from libgcj.
	* java/awt/event/HierarchyEvent.java: New file from libgcj.
	* java/awt/event/HierarchyBoundsListener.java: New file from
	libgcj.
	* java/awt/event/HierarchyBoundsAdapter.java: New file from
	libgcj.
	* java/awt/peer/ComponentPeer.java (getGraphicsConfiguration): New
	method.
	* java/awt/AWTEvent.java: Merged with libgcj.
	* java/awt/Event.java: New file from libgcj.
	* java/awt/image/BufferedImage.java: New file from libgcj.
	* java/awt/GraphicsConfiguration.java: New file from libgcj.
	* java/awt/Component.java (orientation): New field.
	(setComponentOrientation, getComponentOrientation): New methods
	from libgcj.
	(visible): Now package-private.
	(parent): Likewise.
	(isLightweight): New method.
	(eventMask): Renamed from enabled_events; now package-private;
	updated all users.
	(valid): Now package-private.
	(dispatchEvent): New version from libgcj.
	(dispatchEventImpl): New method from libgcj.
	* java/awt/Container.java (addImpl): Handle case where constraint
	is not a String.  Post event via system event queue.
	(remove): Post event via system event queue.
	(validateTree): Only validate child if it is invalid.
	(getAlignmentX): Call super method as default.
	(getAlignmentY): Likewise.
	(addContainerListener): Now synchronized.
	(removeContainerListener): Likewise.
	(addNotifyContainerChildren): Now private.
	* java/awt/FlowLayout.java (serialVersionUID): New field.
	(setAlignment): Better exception message.
	(layoutContainer): Don't compute component's preferred size unless
	we're going to use it.
	* java/awt/ComponentOrientation.java: New file from libgcj.
	* java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
	BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
	(firstLine, lastLine, firstItem, lastItem): New fields.
	(addLayoutComponent): Handle case where constraints is null.
	Also, handle relative locations.
	(removeLayoutComponent): Handle relative locations.
	(MIN, MAX, PREF): New constants.
	(calcCompSize): New method.
	(calcSize): New method.
	(minimumLayoutSize): Use it.
	(preferredLayoutSize): Likewise.
	(maximumLayoutSize): Likewise.
	(toString): Include more information.
	(setBounds): New method.
	(layoutContainer): Use libgcj implementation; extended to handle
	relative locations.


From mark@wildebeest.org Mon Jan 14 02:42:13 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16Q1ky-0003kF-00; Mon, 14 Jan 2002 02:42:12 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16Q1kw-0005gr-00; Mon, 14 Jan 2002 08:42:10 +0100
Received: from mark by elsschot with local (Exim 3.33 #1 (Debian))
	id 16Q1kx-0000Rv-00; Mon, 14 Jan 2002 08:42:11 +0100
Subject: Re: java.net.*Socket merge with libgcj
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
Cc: classpath@gnu.org
In-Reply-To: <m33d19fy3m.fsf@lyta.haphazard.org>
References: <1010843993.12466.2.camel@elsschot> 
	<m33d19fy3m.fsf@lyta.haphazard.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0 (Preview Release)
Date: 14 Jan 2002 08:42:11 +0100
Message-Id: <1010994131.27773.2.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

On Mon, 2002-01-14 at 03:46, Brian Jones wrote:
> The ChangeLog seems pretty clear on the matter, I could see but one
> change to fix a Mauve regression dated 2001-11-25.
> 
> cvs diff -r 1.9 -r 1.10 DatagramSocket.java
> 
> Essentially we didn't have this functionality implemented in the
> native library where getOption is defined and the test was failing.  I
> determined it was stupid to bother with the native method call since
> the value can be stored locally in class private data (and it never
> changes).

Thanks for explaining. I thought that it was something subtle about
SO_BINDADDR. Seems like doing it completely in Java is a smart thing and
it probably solves the FIXME in the libgcj sources.

I still have some problems with Orp and have not yet setup the mauve
regression tests. I will do this soon.

Cheers,

Mark


From mark@wildebeest.org Mon Jan 14 02:59:39 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16Q21q-0004kp-00
	for <classpath@gnu.org>; Mon, 14 Jan 2002 02:59:39 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16Q21n-0005hq-00; Mon, 14 Jan 2002 08:59:35 +0100
Received: from mark by elsschot with local (Exim 3.33 #1 (Debian))
	id 16Q21o-0000VP-00; Mon, 14 Jan 2002 08:59:36 +0100
Subject: Re: [orp] Assertion errors with Orp and Classpath
From: Mark Wielaard <mark@klomp.org>
To: orp@yahoogroups.com
Cc: classpath@gnu.org
In-Reply-To: <m3y9j1eil7.fsf@lyta.haphazard.org>
References: <1010877584.12468.9.camel@elsschot> 
	<m3y9j1eil7.fsf@lyta.haphazard.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0 (Preview Release)
Date: 14 Jan 2002 08:59:36 +0100
Message-Id: <1010995176.27775.4.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

On Mon, 2002-01-14 at 04:07, Brian Jones wrote:
> No, for some strange reason I get
> 
> ReceiveBuffer
> Orig size: 65535
> New size: 16000
> SendBuffer
> Exception: java.net.SocketException: No such file or directory
> 
> I get this even though java.net.SocketException exists.  No time to
> track it down right now though.

That is strange I don't even get the first part. (The fact that New size
is twice as big as you set it is correct on Linux systems.)

Did you do anything different from what you described on 
http://www.gnu.org/software/classpath/doc/orp.html to build Orp?

Cheers,

Mark


From lord@regexps.com Mon Jan 14 04:08:48 2002
Received: from 1cust233.tnt15.sfo3.da.uu.net ([63.23.42.233] helo=morrowfield.home)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16Q36k-0001nk-00
	for <classpath@gnu.org>; Mon, 14 Jan 2002 04:08:47 -0500
Received: (from lord@localhost)
	by morrowfield.home (8.9.1/8.9.1) id EAA16998;
	Mon, 14 Jan 2002 04:27:45 -0800 (PST)
	(envelope-from lord@morrowfield.home)
Date: Mon, 14 Jan 2002 04:27:45 -0800 (PST)
Message-Id: <200201141227.EAA16998@morrowfield.home>
From: Tom Lord <lord@regexps.com>
To: classpath@gnu.org
In-reply-to: <m38zb1fymr.fsf@lyta.haphazard.org> (message from Brian Jones on
	13 Jan 2002 21:35:24 -0500)
Subject: Re: AWT licensing
References: <D0F7932E-0896-11D6-8A94-003065F97F7C@waitaki.otago.ac.nz> <m38zb1fymr.fsf@lyta.haphazard.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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 Classpath AWT now falls under the GPL+exception, as does the
       > > libgcj AWT.
       > 
       > This is excellent (and long awaited!) news. Many thanks to those who
       > went to the effort of getting this issue sorted.

I look forward to future messages which confirm that the trade-off did
indeed materially advance the cause of Free Software, for that is the
only legitimate reason for such licensing.

-t


From cbj@gnu.org Mon Jan 14 06:23:40 2002
Received: from fe4.southeast.rr.com ([24.93.67.51] helo=mail4.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16Q5DI-0001yb-00
	for <classpath@gnu.org>; Mon, 14 Jan 2002 06:23:40 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by mail4.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Mon, 14 Jan 2002 06:23:31 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.0) id g0EB7tv12939;
	Mon, 14 Jan 2002 06:07:55 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: tromey@redhat.com
Cc: Classpath Project <classpath@gnu.org>
Subject: Re: State of AWT?
References: <87k7ulwg2t.fsf@creche.redhat.com>
From: Brian Jones <cbj@gnu.org>
Date: 14 Jan 2002 06:07:55 -0500
In-Reply-To: <87k7ulwg2t.fsf@creche.redhat.com>
Message-ID: <m3k7ul6vhw.fsf@lyta.haphazard.org>
Lines: 14
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 <tromey@redhat.com> writes:

> However, I'd prefer not to do too much damage to the Classpath AWT
> during the merge.  Is it possible to run the Classpath AWT?  If so,
> how?  Also, is there a list of known bugs?  I looked around a little
> but didn't see a test suite.

The most I've seen screen shots of is maybe a Frame and a Button.  I
think you should just merge them; I'm interested in whether we'll
continue to need/use the native peer approach or not.

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


From cbj@gnu.org Mon Jan 14 06:26:56 2002
Received: from fe8.southeast.rr.com ([24.93.67.55] helo=mail8.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16Q5GS-0002GE-00
	for <classpath@gnu.org>; Mon, 14 Jan 2002 06:26:56 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by mail8.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Mon, 14 Jan 2002 06:26:52 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.0) id g0EBBM912966;
	Mon, 14 Jan 2002 06:11:22 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: orp@yahoogroups.com
Cc: classpath@gnu.org
Subject: Re: [orp] Assertion errors with Orp and Classpath
References: <1010877584.12468.9.camel@elsschot>
	<m3y9j1eil7.fsf@lyta.haphazard.org>
	<1010995176.27775.4.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 14 Jan 2002 06:11:22 -0500
In-Reply-To: <1010995176.27775.4.camel@elsschot>
Message-ID: <m3g0596vc5.fsf@lyta.haphazard.org>
Lines: 29
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard <mark@klomp.org> writes:

> Hi,
> 
> On Mon, 2002-01-14 at 04:07, Brian Jones wrote:
> > No, for some strange reason I get
> > 
> > ReceiveBuffer
> > Orig size: 65535
> > New size: 16000
> > SendBuffer
> > Exception: java.net.SocketException: No such file or directory
> > 
> > I get this even though java.net.SocketException exists.  No time to
> > track it down right now though.
> 
> That is strange I don't even get the first part. (The fact that New size
> is twice as big as you set it is correct on Linux systems.)
> 
> Did you do anything different from what you described on 
> http://www.gnu.org/software/classpath/doc/orp.html to build Orp?

I don't think so; I wrote those instructions.  My test was using an
orp 1.0.8 I already had built... maybe I should try fresh just in
case.

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


From arenn@enteract.com Mon Jan 14 10:53:35 2002
Received: from smtp-2.enteract.com ([207.229.143.4])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16Q9QV-0002e8-00
	for <classpath@gnu.org>; Mon, 14 Jan 2002 10:53:35 -0500
Received: from shell-3.enteract.com (shell-3.enteract.com [207.229.143.42])
	by smtp-2.enteract.com (Postfix) with ESMTP
	id A731F7B9C; Mon, 14 Jan 2002 09:53:32 -0600 (CST)
Received: (from arenn@localhost)
	by shell-3.enteract.com (8.11.6/8.11.2) id g0EFrWX79343;
	Mon, 14 Jan 2002 09:53:32 -0600 (CST)
	(envelope-from arenn)
Date: Mon, 14 Jan 2002 09:53:32 -0600
From: "Aaron M. Renn" <arenn@urbanophile.com>
To: Tom Tromey <tromey@redhat.com>
Cc: Classpath Project <classpath@gnu.org>
Subject: Re: State of AWT?
Message-ID: <20020114095332.A79300@urbanophile.com>
Mail-Followup-To: "Aaron M. Renn" <arenn@urbanophile.com>,
	Tom Tromey <tromey@redhat.com>, Classpath Project <classpath@gnu.org>
References: <87k7ulwg2t.fsf@creche.redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5.1i
In-Reply-To: <87k7ulwg2t.fsf@creche.redhat.com>; from tromey@redhat.com on Mon, Jan 14, 2002 at 12:24:10AM -0700
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 (tromey@redhat.com) wrote:
> However, I'd prefer not to do too much damage to the Classpath AWT
> during the merge.  Is it possible to run the Classpath AWT?  If so,
> how?  Also, is there a list of known bugs?  I looked around a little
> but didn't see a test suite.

There are two main components: the GTK+ peers and the main 1.1 AWT.  The
peers were written by Paul Fisher and where orginally designed to work
under the JDK, so I believe he was at least able to test that they
basically worked.  The main java.awt.* classes were mostly written by
me.  I banged them in as fast as I could and only debugged them to the
point on compilation.  I've actually never gotten more than blank
frame to appear on the screen.  Some others have gotten a bit further.
Regardless, this code is very raw.  I suspended work on it because of
the merger and licensing issues.  Now would be a very good time for
people to pick things back up.

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

"We have a choice, either to change the way we live, which is unacceptable, 
or to change the way that they live, and we chose the latter."
  - Sec. of Defense Donald Rumsfeld, News briefing, 2001-09-18



From tromey@creche.cygnus.com Mon Jan 14 10:56:09 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16Q9Sz-0002z9-00; Mon, 14 Jan 2002 10:56:09 -0500
Received: from creche.cygnus.com (ta0201.peakpeak.com [204.144.244.201])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id IAA28530;
	Mon, 14 Jan 2002 08:56:06 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id JAA13879;
	Mon, 14 Jan 2002 09:11:02 -0700
To: Brian Jones <cbj@gnu.org>
Cc: Classpath Project <classpath@gnu.org>
Subject: Re: State of AWT?
References: <87k7ulwg2t.fsf@creche.redhat.com> <m3k7ul6vhw.fsf@lyta.haphazard.org>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  ..  Now I think I just reached the state of HYPERTENSION that comes
 JUST BEFORE you see the TOTAL at the SAFEWAY CHECKOUT COUNTER!
Date: 14 Jan 2002 09:11:01 -0700
In-Reply-To: Brian Jones's message of "14 Jan 2002 06:07:55 -0500"
Message-ID: <874rlox696.fsf@creche.redhat.com>
Lines: 19
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Brian" == Brian Jones <cbj@gnu.org> writes:

Brian> The most I've seen screen shots of is maybe a Frame and a
Brian> Button.  I think you should just merge them; I'm interested in
Brian> whether we'll continue to need/use the native peer approach or
Brian> not.

In that area both libgcj and Classpath are fairly similar; both use
peers.  In libgcj we had decided that we didn't need to be compatible
with the JDK in this area (the peer interfaces aren't documented any
more, and aren't officially part of the Java platform, I think), so we
removed a bunch of legacy methods and added some of our own.  At the
moment I'm not going to mess with this part of things; I'm sure that
will evolve later.

AWT is very tightly connected internally.  I started off last night
just trying to merge two classes -- but you can't just stop at 2.

Tom


From chris.gray@acunia.com Mon Jan 14 11:46:42 2002
Received: from nat.be.acunia.com ([194.7.211.211] helo=mail.acunia.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16QAFt-0007Sl-00; Mon, 14 Jan 2002 11:46:41 -0500
Received: from acunia.com (IDENT:gray@sophocles.leuven.intern.acunia.com [10.0.1.34])
	by mail.acunia.com (8.11.6/8.11.6) with ESMTP id g0EGi4408398;
	Mon, 14 Jan 2002 17:44:04 +0100
Message-ID: <3C430B42.C6C26C5@acunia.com>
Date: Mon, 14 Jan 2002 17:45:54 +0100
From: Chris Gray <chris.gray@acunia.com>
Organization: ACUNIA NV
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: tromey@redhat.com
CC: Brian Jones <cbj@gnu.org>, Classpath Project <classpath@gnu.org>
Subject: Re: State of AWT?
References: <87k7ulwg2t.fsf@creche.redhat.com> <m3k7ul6vhw.fsf@lyta.haphazard.org> <874rlox696.fsf@creche.redhat.com>
Content-Type: text/plain; charset=us-ascii
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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:

> AWT is very tightly connected internally.  I started off last night
> just trying to merge two classes -- but you can't just stop at 2.

Amen.  For our AWT we started out by building an empty skeleton:
we found we needed to create 40 classes before we could even get
a single one to compile.

Chris Gray
VM Architect, ACUNIA




From jewel@pixie.co.za Mon Jan 14 13:01:21 2002
Received: from cpt-mailhost2.mweb.co.za ([196.2.48.239])
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16QBQ8-0006l2-00
	for <classpath@gnu.org>; Mon, 14 Jan 2002 13:01:20 -0500
Received: from Debug (postbox.mweb.co.za) by cpt-mailhost2.mweb.co.za
 (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10)
 with SMTP id <0GPX003FKWQ2WO@cpt-mailhost2.mweb.co.za> for classpath@gnu.org;
 Mon, 14 Jan 2002 20:01:14 +0200 (GMT-2)
Date: Mon, 14 Jan 2002 17:41:14 +0000 (GMT)
From: jewel@pixie.co.za
Subject: Re: State of AWT?
To: classpath@gnu.org
Message-id: <0GPX003FLWQ2WO@cpt-mailhost2.mweb.co.za>
X-Mailer: Endymion MailMan Standard Edition v3.0.33
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 (tromey@redhat.com) wrote:
>> However, I'd prefer not to do too much damage to the Classpath AWT
>> during the merge.  Is it possible to run the Classpath AWT?  If so,
>> how?  Also, is there a list of known bugs?  I looked around a little
>> but didn't see a test suite.
>
>There are two main components: the GTK+ peers and the main 1.1 AWT.  The
>peers were written by Paul Fisher and where orginally designed to work
>under the JDK, so I believe he was at least able to test that they
>basically worked.  The main java.awt.* classes were mostly written by
>me.  I banged them in as fast as I could and only debugged them to the
>point on compilation.  I've actually never gotten more than blank
>frame to appear on the screen.  Some others have gotten a bit further.
>Regardless, this code is very raw.  I suspended work on it because of
>the merger and licensing issues.  Now would be a very good time for
>people to pick things back up.

I was probably the last person to work with the Classpath AWT code. I got it
working with the GTK peers to the point where I could display a frame and saw
events passing through the java code. 

I got stuck with the code that handled peers. I can't remember specifics now,
but basically it covered the order in which addNotify and similar methods are
called. There were issues with inheritance.

I think what is needed is quick review of how the peer system is meant to work,
and from there things should flow easily.

John Leuner



---------------------------------------------
This message was sent using M-Web Airmail.
http://airmail.mweb.co.za/




From etienne.gagnon@uqam.ca Mon Jan 14 17:25:38 2002
Received: from anis.telecom.uqam.ca ([132.208.250.6] helo=uqam.ca)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16QFXn-0003fJ-00; Mon, 14 Jan 2002 17:25:32 -0500
Received: from anis.telecom.uqam.ca (anis.telecom.uqam.ca [132.208.250.6])
	by sortant.uqam.ca (8.11.6/8.11.0) with SMTP id g0EMGHe07789;
	Mon, 14 Jan 2002 17:16:17 -0500 (EST)
Received: from antivirus.uqam.ca ([127.0.0.1])
 by anis.telecom.uqam.ca (NAVGW 2.5.1.12) with SMTP id M2002011417161709148
 ; Mon, 14 Jan 2002 17:16:17 -0500
Received: from er.uqam.ca (nobel.si.uqam.ca [132.208.219.1])
	by intrant.uqam.ca (8.11.6/8.11.0) with ESMTP id g0EMFYu07659;
	Mon, 14 Jan 2002 17:15:34 -0500 (EST)
Received: from localhost (perseval.info.uqam.ca [132.208.137.96])
	by er.uqam.ca (8.10.0/8.10.0) with ESMTP id g0EMFXY23407;
	Mon, 14 Jan 2002 17:15:33 -0500 (EST)
Received: from egagnon by localhost with local (Exim 3.33 #1 (Debian))
	id 16QFO8-00012o-00; Mon, 14 Jan 2002 17:15:32 -0500
Date: Mon, 14 Jan 2002 17:15:32 -0500
To: Mark Wielaard <mark@klomp.org>
Cc: java@gcc.gnu.org, rao@gnu.org, Richard Stallman <rms@gnu.org>,
   classpath@gnu.org, hans_boehm@hp.com, tromey@redhat.com
Subject: Re: New license wording
Message-ID: <20020114221532.GA3902@perseval.info.uqam.ca>
References: <200201142003.g0EK3PW08579@aztec.santafe.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200201142003.g0EK3PW08579@aztec.santafe.edu>
User-Agent: Mutt/1.3.25i
From: "Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 Mon, Jan 14, 2002 at 01:03:25PM -0700, Richard Stallman wrote:
> ...
> 
> It should say "not derived from or based on..."
> I omitted the word "from".

Here's the corrected text:

--- BEGIN ---

Classpath, a set of essential libraries for supporting the Java
language.
Copyright (C) 1998-2002, Free Software Foundation, Inc.

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

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

You should have received a copy of the GNU General Public License
along with this library in the file "COPYING".  If not, write to the
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA.

Linking this library statically or dynamically with other modules is
making a combined work based on this library.  Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.

As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module.  An independent module is a module which is not derived from
or based on this library.  If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so.  If you do not wish to do so, delete this
exception statement from your version.

--- END ---

Shall we go ahead with it?

Etienne

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


From rms@santafe.edu Mon Jan 14 15:03:43 2002
Received: from pele.santafe.edu ([192.12.12.119])
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16QDKK-0007tK-00; Mon, 14 Jan 2002 15:03:28 -0500
Received: from aztec.santafe.edu (aztec [192.12.12.49])
	by pele.santafe.edu (8.9.3/8.9.3) with ESMTP id NAA00292;
	Mon, 14 Jan 2002 13:03:25 -0700 (MST)
Received: (from rms@localhost)
	by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g0EK3PW08579;
	Mon, 14 Jan 2002 13:03:25 -0700 (MST)
Date: Mon, 14 Jan 2002 13:03:25 -0700 (MST)
Message-Id: <200201142003.g0EK3PW08579@aztec.santafe.edu>
X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f
From: Richard Stallman <rms@gnu.org>
To: etienne.gagnon@uqam.ca, rao@gnu.org, classpath@gnu.org
cc: rms@gnu.org
Subject: New license wording
Reply-to: rms@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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

    As a special exception, the copyright holders of this library give you
    permission to link this library with independent modules to produce an
    executable, regardless of the license terms of these independent
    modules, and to copy and distribute the resulting executable under
    terms of your choice, provided that you also meet, for each linked
    independent module, the terms and conditions of the license of that
    module.  An independent module is a module which is not derived or
    based on this library....

It should say "not derived from or based on..."
I omitted the word "from".


From p.dickerson@ntlworld.com Tue Jan 15 04:05:55 2002
Received: from mta05-svc.ntlworld.com ([62.253.162.45])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16QPXX-0002nj-00
	for <classpath@gnu.org>; Tue, 15 Jan 2002 04:05:55 -0500
Received: from dolly ([62.253.149.167]) by mta05-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP
          id <20020115090553.INFC7206.mta05-svc.ntlworld.com@dolly>
          for <classpath@gnu.org>; Tue, 15 Jan 2002 09:05:53 +0000
Message-ID: <018901c19da3$d5e158f0$5a000082@dolly>
Reply-To: "Peter Dickerson" <peter.dickerson@ukonline.co.uk>
From: "Peter Dickerson" <p.dickerson@ntlworld.com>
To: <classpath@gnu.org>
Subject: Problems with float Math.min(float,float) etc
Date: Tue, 15 Jan 2002 09:05:50 -0000
MIME-Version: 1.0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2462.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Math.min(float,float) seems to have incorrect behaviour for negative zero.

  public static float min(float a, float b) {
    if (a == 0.0f && b == 0.0f) // return -0.0f, if a or b is -0.0f
      return ((Float.floatToIntBits(a) >> 31) == 1) ? a : b;
    return (a < b) ? a : b;
  }

note that the condition (Float.floatToIntBits(a) >> 31) == 1 is never true
since int >> 31 can only be 0 or -1. So
    Math.min( -0.0f, 0.0f )
incorrectly returns 0.0f instead of -0.0f.

A releated problem affects min(double,double) and max.

Solution:
  public static float min(float a, float b) {
    if (a == 0.0f && b == 0.0f) // return -0.0f, if a or b is -0.0f
      return (Float.floatToIntBits(a) < 0) ? a : b;
    return (a < b) ? a : b;
  }

This also avoids multibit shifts which are slow on some processors (e.g.
Palm).

PS I don't understand how to report a bug via Savannah.
--
Peter.Dickerson (at) ukonline (dot) co (dot) uk





From cbj@gnu.org Tue Jan 15 06:26:05 2002
Received: from fe5.southeast.rr.com ([24.93.67.52] helo=mail5.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16QRjB-0003k7-00
	for <classpath@gnu.org>; Tue, 15 Jan 2002 06:26:05 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by mail5.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Tue, 15 Jan 2002 06:26:03 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.0) id g0FBAJ118652;
	Tue, 15 Jan 2002 06:10:19 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: "Peter Dickerson" <peter.dickerson@ukonline.co.uk>
Cc: <classpath@gnu.org>
Subject: Re: Problems with float Math.min(float,float) etc
References: <018901c19da3$d5e158f0$5a000082@dolly>
From: Brian Jones <cbj@gnu.org>
Date: 15 Jan 2002 06:10:19 -0500
In-Reply-To: <018901c19da3$d5e158f0$5a000082@dolly>
Message-ID: <m3advf7tus.fsf@lyta.haphazard.org>
Lines: 17
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

"Peter Dickerson" <p.dickerson@ntlworld.com> writes:

> PS I don't understand how to report a bug via Savannah.

That's okay.  The link is

https://savannah.gnu.org/support/?func=addsupport&group_id=85

and is found by looking at the Tech Support Manager and Submit A
Request from the Classpath project page.

I need someone else to comment on the proposed solution and thanks for
reporting the problem!

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


From ebb9@email.byu.edu Tue Jan 15 11:37:24 2002
Received: from rwcrmhc52.attbi.com ([216.148.227.88])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16QWaR-00053J-00
	for <classpath@gnu.org>; Tue, 15 Jan 2002 11:37:23 -0500
Received: from email.byu.edu ([12.254.140.134]) by rwcrmhc52.attbi.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020115163722.ZCWD3578.rwcrmhc52.attbi.com@email.byu.edu>;
          Tue, 15 Jan 2002 16:37:22 +0000
Message-ID: <3C445ABE.CE958949@email.byu.edu>
Date: Tue, 15 Jan 2002 09:37:18 -0700
From: Eric Blake <ebb9@email.byu.edu>
Organization: BYU Student
X-Mailer: Mozilla 4.76 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Peter Dickerson <peter.dickerson@ukonline.co.uk>
CC: classpath@gnu.org
Subject: Re: Problems with float Math.min(float,float) etc
References: <018901c19da3$d5e158f0$5a000082@dolly>
Content-Type: multipart/mixed;
 boundary="------------0AB2BE50A1B2EA552958734C"
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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.
--------------0AB2BE50A1B2EA552958734C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Peter Dickerson wrote:
> 
> Math.min(float,float) seems to have incorrect behaviour for negative zero.
> 

You must have a stale file.  I show CVS to have this already (which
avoids a method call, and does not have the bug you mentioned):

  public static float min (float a, float b)
  {
    // this check for NaN, from JLS 15.21.1, saves a method call
    if (a != a)
      return a;
    // no need to check if b is NaN; < will work correctly
    // recall that -0.0 == 0.0, but [+-]0.0 - [+-]0.0 behaves special
    if (a == 0 && b == 0)
      return -(-a - b);
    return (a < b) ? a : b;
  }

However, I did notice some similar problems in Double and Float, and am
checking in the following patch.

-- 
This signature intentionally left boring.

Eric Blake             ebb9@email.byu.edu
  BYU student, free software programmer
--------------0AB2BE50A1B2EA552958734C
Content-Type: text/plain; charset=us-ascii;
 name="diff.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="diff.txt"

2002-01-15  Eric Blake  <ebb9@email.byu.edu>

	* java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
	* java/lang/Float.java (equals, compare): Ditto.

Index: java/lang/Double.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/lang/Double.java,v
retrieving revision 1.26
diff -u -r1.26 Double.java
--- java/lang/Double.java	15 Nov 2001 02:23:35 -0000	1.26
+++ java/lang/Double.java	15 Jan 2002 16:34:04 -0000
@@ -1,5 +1,5 @@
 /* Double.java -- object wrapper for double primitive
-   Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -44,7 +44,8 @@
  *
  * @author Paul Fisher
  * @author Andrew Haley <aph@cygnus.com>
- * @since JDK 1.0
+ * @author Eric Blake <ebb9@email.byu.edu>
+ * @since 1.0
  */
 public final class Double extends Number implements Comparable
 {
@@ -163,9 +164,12 @@
     if (!(obj instanceof Double))
       return false;
 
-    Double d = (Double) obj;
+    double d = ((Double) obj).value;
 
-    return doubleToLongBits (value) == doubleToLongBits (d.doubleValue ());
+    // common case first, then check NaN and 0
+    if (value == d)
+      return (value != 0) || (1 / value == 1 / d);
+    return isNaN(value) && isNaN(d);
   }
 
   /**
@@ -336,10 +340,9 @@
       return isNaN (y) ? 0 : 1;
     if (isNaN (y))
       return -1;
-    if (x == 0.0d && y == -0.0d)
-      return 1;
-    if (x == -0.0d && y == 0.0d)
-      return -1;
+    // recall that 0.0 == -0.0, so we convert to infinites and try again
+    if (x == 0 && y == 0)
+      return (int) (1 / x - 1 / y);
     if (x == y)
       return 0;
 
Index: java/lang/Float.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/lang/Float.java,v
retrieving revision 1.21
diff -u -r1.21 Float.java
--- java/lang/Float.java	11 Nov 2001 16:07:09 -0000	1.21
+++ java/lang/Float.java	15 Jan 2002 16:34:04 -0000
@@ -1,5 +1,5 @@
 /* java.lang.Float
-   Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -44,7 +44,8 @@
  *
  * @author Paul Fisher
  * @author Andrew Haley <aph@cygnus.com>
- * @since JDK 1.0
+ * @author Eric Blake <ebb9@email.byu.edu>
+ * @since 1.0
  */
 public final class Float extends Number implements Comparable
 {
@@ -232,9 +233,12 @@
     if (!(obj instanceof Float))
       return false;
 
-    Float f = (Float) obj;
+    float f = ((Float) obj).value;
 
-    return floatToIntBits (value) == floatToIntBits (f.floatValue ());
+    // common case first, then check NaN and 0
+    if (value == f)
+      return (value != 0) || (1 / value == 1 / f);
+    return isNaN(value) && isNaN(f);
   }
 
   /**
@@ -484,10 +488,9 @@
       return isNaN (y) ? 0 : 1;
     if (isNaN (y))
       return -1;
-    if (x == 0.0 && y == -0.0)
-      return 1;
-    if (x == -0.0 && y == 0.0)
-      return -1;
+    // recall that 0.0 == -0.0, so we convert to infinities and try again
+    if (x == 0 && y == 0)
+      return (int) (1 / x - 1 / y);
     if (x == y)
       return 0;
 

--------------0AB2BE50A1B2EA552958734C--



From lxu@cs.rice.edu Tue Jan 15 11:44:56 2002
Received: from cs.rice.edu ([128.42.1.30])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16QWhk-0005nW-00
	for <classpath@gnu.org>; Tue, 15 Jan 2002 11:44:56 -0500
Received: from localhost (localhost [127.0.0.1])
	by cs.rice.edu (Postfix) with ESMTP id A3F0618E2
	for <classpath@gnu.org>; Tue, 15 Jan 2002 10:44:52 -0600 (CST)
Received: from sun.cs.rice.edu (sun.cs.rice.edu [128.42.1.42])
	by cs.rice.edu (Postfix) with ESMTP id E1EFB1819
	for <classpath@gnu.org>; Tue, 15 Jan 2002 10:44:44 -0600 (CST)
Received: (from lxu@localhost)
	by sun.cs.rice.edu (8.9.0/8.9.0) id KAA00168
	for classpath@gnu.org; Tue, 15 Jan 2002 10:44:44 -0600 (CST)
From: <lxu@cs.rice.edu>
Message-Id: <200201151644.KAA00168@sun.cs.rice.edu>
Subject: build question
To: classpath@gnu.org
Date: Tue, 15 Jan 2002 10:44:43 -0600 (CST)
X-Mailer: ELM [version 2.5 PL2]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS snapshot-20010714
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Hello, All,

I am tring to build classpath-0.02 on Linux. However, it seems
the Japhar package is required by autoconf configure. I checked
the install file, but Japhar is not listed as required.
So I want to ask is Japhar package still necessary to install classpath,
as I want to use it only with intel orp and sablevm? If not, what
is the right command line for configure? If so, what is the role
of Japhar in the building process?

BTW, I tried to download Japhar from its home site, but don't know
why its ftp site cannot connect, so I prefer some way to get around that
package.

Thanks,

Larry Xu



From etienne.gagnon@uqam.ca Tue Jan 15 12:10:42 2002
Received: from anis.telecom.uqam.ca ([132.208.250.6] helo=uqam.ca)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16QX6f-000800-00
	for <classpath@gnu.org>; Tue, 15 Jan 2002 12:10:41 -0500
Received: from anis.telecom.uqam.ca (anis.telecom.uqam.ca [132.208.250.6])
	by sortant.uqam.ca (8.11.6/8.11.0) with SMTP id g0FGxDe10496
	for <classpath@gnu.org>; Tue, 15 Jan 2002 11:59:13 -0500 (EST)
Received: from antivirus.uqam.ca ([127.0.0.1])
 by anis.telecom.uqam.ca (NAVGW 2.5.1.12) with SMTP id M2002011511591322019
 for <classpath@gnu.org>; Tue, 15 Jan 2002 11:59:13 -0500
Received: from er.uqam.ca (nobel.si.uqam.ca [132.208.219.1])
	by intrant.uqam.ca (8.11.6/8.11.0) with ESMTP id g0FGwfu10399;
	Tue, 15 Jan 2002 11:58:42 -0500 (EST)
Received: from localhost (perseval.info.uqam.ca [132.208.137.96])
	by er.uqam.ca (8.10.0/8.10.0) with ESMTP id g0FGwUY07938;
	Tue, 15 Jan 2002 11:58:33 -0500 (EST)
Received: from localhost ([127.0.0.1] helo=uqam.ca)
	by localhost with esmtp (Exim 3.33 #1 (Debian))
	id 16QWuo-0005SM-00; Tue, 15 Jan 2002 11:58:26 -0500
Message-ID: <3C445FB2.5090509@uqam.ca>
Date: Tue, 15 Jan 2002 11:58:26 -0500
From: "Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20020112
X-Accept-Language: en
MIME-Version: 1.0
To: lxu@cs.rice.edu
CC: classpath@gnu.org
Subject: Re: build question
References: <200201151644.KAA00168@sun.cs.rice.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 Larry,

On the SableVM site, you will find 3 versions of Classpath which are simple to 
build:

1- If you want to have a version wich works with the sablevm-0.1.6, download the 
file sablepath-0.1.3.tar.gz.  This version is based on a relatively old 
Classpath snapshot.

2- If you want a more recent, yet prepackaged version (does not work with the 
web published SableVM), grab sablepath-classes/lib 0.1.7, which are very easy to 
build (relatively to the current Classpath CVS).

3- If you are more advanturous, you could grab the sablepath-libs/classes CVS 
snapshots which offer you a very easy build for classpath.  The CVS snapshot 
reflects the state of the Classpath CVS a few days ago.

In all three cases, what you will find is a configure/make environment which is 
not tied to a specific VM (at least in 2- and 3-), and that WORKS!...

I am simply awaiting the Classpath license change to contribute this simpler 
build process to Classpath...

Etienne

lxu@cs.rice.edu wrote:

> Hello, All,
> 
> I am tring to build classpath-0.02 on Linux. However, it seems
> the Japhar package is required by autoconf configure. I checked
> the install file, but Japhar is not listed as required.
> So I want to ask is Japhar package still necessary to install classpath,
> as I want to use it only with intel orp and sablevm? If not, what
> is the right command line for configure? If so, what is the role
> of Japhar in the building process?
> 
> BTW, I tried to download Japhar from its home site, but don't know
> why its ftp site cannot connect, so I prefer some way to get around that
> package.
> 
> Thanks,
> 
> Larry Xu
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath
> 
> 
> 


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



From cbj@gnu.org Tue Jan 15 12:26:24 2002
Received: from fe7.southeast.rr.com ([24.93.67.54] helo=mail7.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16QXLs-0000MQ-00
	for <classpath@gnu.org>; Tue, 15 Jan 2002 12:26:24 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by mail7.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Tue, 15 Jan 2002 12:24:46 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.0) id g0FH8wC20062;
	Tue, 15 Jan 2002 12:08:58 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: <lxu@cs.rice.edu>
Cc: classpath@gnu.org
Subject: Re: build question
References: <200201151644.KAA00168@sun.cs.rice.edu>
From: Brian Jones <cbj@gnu.org>
Date: 15 Jan 2002 12:08:57 -0500
In-Reply-To: <200201151644.KAA00168@sun.cs.rice.edu>
Message-ID: <m3k7ujlexi.fsf@lyta.haphazard.org>
Lines: 20
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

<lxu@cs.rice.edu> writes:

> Hello, All,
> 
> I am tring to build classpath-0.02 on Linux. However, it seems
> the Japhar package is required by autoconf configure. I checked
> the install file, but Japhar is not listed as required.
> So I want to ask is Japhar package still necessary to install classpath,
> as I want to use it only with intel orp and sablevm? If not, what
> is the right command line for configure? If so, what is the role
> of Japhar in the building process?

At this point, you would be better served to build classpath from
CVS.  I'm expecting that we'll release a new version soon but I'm
waiting on something from the FSF.  The current version does not
depend on Japhar or any other VM to build from CVS.

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


From tromey@creche.cygnus.com Tue Jan 15 22:44:53 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16Qh0O-0004Qk-00
	for <classpath@gnu.org>; Tue, 15 Jan 2002 22:44:52 -0500
Received: from creche.cygnus.com (ta0194.peakpeak.com [204.144.244.194])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id UAA00705;
	Tue, 15 Jan 2002 20:44:46 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id VAA12001;
	Tue, 15 Jan 2002 21:00:05 -0700
To: jewel@pixie.co.za
Cc: classpath@gnu.org
Subject: Re: State of AWT?
References: <0GPX003FLWQ2WO@cpt-mailhost2.mweb.co.za>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  I have seen these EGG EXTENDERS in my Supermarket..
 ..  I have read the INSTRUCTIONS...
Date: 15 Jan 2002 21:00:05 -0700
In-Reply-To: jewel@pixie.co.za's message of "Mon, 14 Jan 2002 17:41:14 +0000 (GMT)"
Message-ID: <87vge3c5dm.fsf@creche.redhat.com>
Lines: 29
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "John" == jewel  <jewel@pixie.co.za> writes:

John> I got stuck with the code that handled peers. I can't remember
John> specifics now, but basically it covered the order in which
John> addNotify and similar methods are called. There were issues with
John> inheritance.

Ok, from this and other comments, I'm not going to worry too much
about possibly introducing bugs.

John> I think what is needed is quick review of how the peer system is
John> meant to work, and from there things should flow easily.

This isn't exactly what you're talking about, but part of libgcj plan
was to simplify the peers by removing redundant methods.  We were also
planning to do event masking on the peer side (according to the code
in libgcj, but it also seems like a potentially good idea).  For the
time being I'm going to ignore this difference; I've added a couple
stub methods where I needed them.

I'll be checking in the first merge patch soon.  It doesn't cover
everything, but it does do a lot.  It merges various classes, and adds
a lot of the 1.2 stuff that was in libgcj but not Classpath (this code
is by no means complete, but it's a start).

My general plan is to merge what we've got, and then start trying the
existing Classpath peers with libgcj.

Tom


From doylep@eecg.toronto.edu Wed Jan 16 01:38:10 2002
Received: from picton.eecg.toronto.edu ([128.100.10.141])
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16Qji6-0001qo-00
	for <classpath@gnu.org>; Wed, 16 Jan 2002 01:38:10 -0500
Received: from wildcat.eecg.toronto.edu (wildcat.eecg.toronto.edu [128.100.24.90])
	by picton.eecg.toronto.edu (8.12.1/8.12.1) with ESMTP id g0G6c5Jh023087
	for <classpath@gnu.org>; Wed, 16 Jan 2002 01:38:06 -0500 (EST)
Date: Wed, 16 Jan 2002 01:38:05 -0500 (EST)
From: Patrick Doyle <doylep@eecg.toronto.edu>
X-X-Sender:  <doylep@wildcat.eecg.toronto.edu>
To: <classpath@gnu.org>
Subject: 202_jess bug?
Message-ID: <Pine.LNX.4.33.0201160125440.2022-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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 sorry that this does not pertain to Classpath per se, but it seems to
be the kind of thing you guys would have thought about at some point...
What is Class.getConstructor supposed to do when the matching constructor 
is not public?

When I run the SPECjvm98 202_jess benchmark, with my slightly hacked
Classpath library, it dies with the message "*** FATAL ***: Missing
intrinsic function class".  When I looked into it, the benchmark calls
Class.getConstructor, which is supposed to return only a public
constructor.  The class it is trying to probe has only one constructor,
which javap prints like this:

  spec.benchmarks._202_jess.jess._return();

To me, the lack of access specifiers here means that this constructor is 
not public.  Thus, the correct behaviour for getConstructor is (I think) 
to throw a NoSuchMethodException, which it does.  The benchmark clearly 
does not expect an exception to be thrown, and produces the error message.

So what going on here?  Should I just be happily returning the constructor 
even if it's not public?  If so, what is the difference between 
getConstructor and getDeclaredConstructor?

Thanks for your help.

--
Patrick Doyle
doylep@eecg.toronto.edu



From tromey@creche.cygnus.com Tue Jan 15 15:58:06 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16Qaek-000355-00
	for <classpath@gnu.org>; Tue, 15 Jan 2002 15:58:06 -0500
Received: from creche.cygnus.com (ta0195.peakpeak.com [204.144.244.195])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id NAA29196;
	Tue, 15 Jan 2002 13:58:01 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id OAA09634;
	Tue, 15 Jan 2002 14:13:16 -0700
To: Eric Blake <ebb9@email.byu.edu>
Cc: Peter Dickerson <peter.dickerson@ukonline.co.uk>, classpath@gnu.org
Subject: Re: Problems with float Math.min(float,float) etc
References: <018901c19da3$d5e158f0$5a000082@dolly> <3C445ABE.CE958949@email.byu.edu>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  My ELBOW is a remote FRENCH OUTPOST!!
Date: 15 Jan 2002 14:13:16 -0700
In-Reply-To: Eric Blake's message of "Tue, 15 Jan 2002 09:37:18 -0700"
Message-ID: <87zo3fgvwz.fsf@creche.redhat.com>
Lines: 7
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Eric" == Eric Blake <ebb9@email.byu.edu> writes:

Eric> 	* java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.

I don't think anything was wrong with the old logic in equals().

Tom


From lxu@cs.rice.edu Tue Jan 15 16:14:22 2002
Received: from cs.rice.edu ([128.42.1.30])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16QauT-0003hl-00; Tue, 15 Jan 2002 16:14:21 -0500
Received: from localhost (localhost [127.0.0.1])
	by cs.rice.edu (Postfix) with ESMTP
	id 1D09C18D3; Tue, 15 Jan 2002 15:14:17 -0600 (CST)
Received: from sun.cs.rice.edu (sun.cs.rice.edu [128.42.1.42])
	by cs.rice.edu (Postfix) with ESMTP
	id A2700188D; Tue, 15 Jan 2002 15:14:15 -0600 (CST)
Received: (from lxu@localhost)
	by sun.cs.rice.edu (8.9.0/8.9.0) id PAA02630;
	Tue, 15 Jan 2002 15:14:15 -0600 (CST)
From: <lxu@cs.rice.edu>
Message-Id: <200201152114.PAA02630@sun.cs.rice.edu>
Subject: Re: build question
To: cbj@gnu.org (Brian Jones)
Date: Tue, 15 Jan 2002 15:14:14 -0600 (CST)
Cc: lxu@cs.rice.edu, classpath@gnu.org
In-Reply-To: <m3k7ujlexi.fsf@lyta.haphazard.org> from "Brian Jones" at Jan 15, 2002 12:08:57 PM
X-Mailer: ELM [version 2.5 PL2]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS snapshot-20010714
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Brian,

Thanks for your reply. I check out the CVS version, however it
does not have a *configure* file in it, even though the INSTALL
file does mention to run it first.
I use the command
cvs -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/classpath co classpath
to fetch the cvs copy.

So, what should I do to proceed?

Thanks,
Larry


Brian Jones writes:
> 
> <lxu@cs.rice.edu> writes:
> 
> > Hello, All,
> > 
> > I am tring to build classpath-0.02 on Linux. However, it seems
> > the Japhar package is required by autoconf configure. I checked
> > the install file, but Japhar is not listed as required.
> > So I want to ask is Japhar package still necessary to install classpath,
> > as I want to use it only with intel orp and sablevm? If not, what
> > is the right command line for configure? If so, what is the role
> > of Japhar in the building process?
> 
> At this point, you would be better served to build classpath from
> CVS.  I'm expecting that we'll release a new version soon but I'm
> waiting on something from the FSF.  The current version does not
> depend on Japhar or any other VM to build from CVS.
> 
> Brian
> -- 
> Brian Jones <cbj@gnu.org>
> 



From ebb9@email.byu.edu Tue Jan 15 19:28:13 2002
Received: from rwcrmhc52.attbi.com ([216.148.227.88])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16Qdw5-00033p-00
	for <classpath@gnu.org>; Tue, 15 Jan 2002 19:28:13 -0500
Received: from email.byu.edu ([12.254.140.134]) by rwcrmhc52.attbi.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020116002810.NBED3578.rwcrmhc52.attbi.com@email.byu.edu>;
          Wed, 16 Jan 2002 00:28:10 +0000
Message-ID: <3C44C7E2.3D49B92B@email.byu.edu>
Date: Tue, 15 Jan 2002 17:22:58 -0700
From: Eric Blake <ebb9@email.byu.edu>
Organization: BYU Student
X-Mailer: Mozilla 4.76 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: tromey@redhat.com
CC: Peter Dickerson <peter.dickerson@ukonline.co.uk>,
 	classpath@gnu.org
Subject: Re: Problems with float Math.min(float,float) etc
References: <018901c19da3$d5e158f0$5a000082@dolly>
	 <3C445ABE.CE958949@email.byu.edu> <87zo3fgvwz.fsf@creche.redhat.com>
Content-Type: text/plain; charset=us-ascii
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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:
> 
> >>>>> "Eric" == Eric Blake <ebb9@email.byu.edu> writes:
> 
> Eric>   * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
> 
> I don't think anything was wrong with the old logic in equals().
> 

Yes, you are right that there were no logic errors in the old version of
equals().  But the version I committed avoids 2 calls to a native
method, and accesses the field "value" directly rather than calling
"doubleValue()".

-- 
This signature intentionally left boring.

Eric Blake             ebb9@email.byu.edu
  BYU student, free software programmer


From tromey@creche.cygnus.com Tue Jan 15 19:35:16 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16Qe2u-000519-00
	for <classpath@gnu.org>; Tue, 15 Jan 2002 19:35:16 -0500
Received: from creche.cygnus.com (ta0201.peakpeak.com [204.144.244.201])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id RAA06188;
	Tue, 15 Jan 2002 17:35:06 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id RAA11447;
	Tue, 15 Jan 2002 17:50:16 -0700
To: Eric Blake <ebb9@email.byu.edu>
Cc: Peter Dickerson <peter.dickerson@ukonline.co.uk>, classpath@gnu.org
Subject: Re: Problems with float Math.min(float,float) etc
References: <018901c19da3$d5e158f0$5a000082@dolly> <3C445ABE.CE958949@email.byu.edu> <87zo3fgvwz.fsf@creche.redhat.com> <3C44C7E2.3D49B92B@email.byu.edu>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  Hey, LOOK!!  A pair of SIZE 9 CAPRI PANTS!!  They probably belong to
 SAMMY DAVIS, JR.!!
Date: 15 Jan 2002 17:50:15 -0700
In-Reply-To: Eric Blake's message of "Tue, 15 Jan 2002 17:22:58 -0700"
Message-ID: <87elkrdsqg.fsf@creche.redhat.com>
Lines: 12
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Eric" == Eric Blake <ebb9@email.byu.edu> writes:

Eric> Yes, you are right that there were no logic errors in the old
Eric> version of equals().  But the version I committed avoids 2 calls
Eric> to a native method, and accesses the field "value" directly
Eric> rather than calling "doubleValue()".

It seems to me that a JIT could easily inline doubleToLongBits.
Probably they don't though.  gcj will (not yet, but it is a simple
addition).  I think I'll keep the original code in libgcj for now.

Tom


From cbj@gnu.org Tue Jan 15 20:08:58 2002
Received: from fe6.southeast.rr.com ([24.93.67.53] helo=Mail6.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16QeZW-0007Gn-00
	for <classpath@gnu.org>; Tue, 15 Jan 2002 20:08:58 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by Mail6.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Tue, 15 Jan 2002 20:08:50 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.0) id g0G0qvm21952;
	Tue, 15 Jan 2002 19:52:57 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: <lxu@cs.rice.edu>
Cc: classpath@gnu.org
Subject: Re: build question
References: <200201152114.PAA02630@sun.cs.rice.edu>
From: Brian Jones <cbj@gnu.org>
Date: 15 Jan 2002 19:52:57 -0500
In-Reply-To: <200201152114.PAA02630@sun.cs.rice.edu>
Message-ID: <m3bsfvp15i.fsf@lyta.haphazard.org>
Lines: 20
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

<lxu@cs.rice.edu> writes:

> Brian,
> 
> Thanks for your reply. I check out the CVS version, however it
> does not have a *configure* file in it, even though the INSTALL
> file does mention to run it first.
> I use the command
> cvs -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/classpath co classpath
> to fetch the cvs copy.
> 
> So, what should I do to proceed?

>From CVS, the directions in the HACKING file have more information.
You should be able to use jikes or some versions of gcj to build
Classpath.

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


From tromey@creche.cygnus.com Thu Jan 17 11:40:36 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16RFae-0001R8-00
	for <classpath@gnu.org>; Thu, 17 Jan 2002 11:40:36 -0500
Received: from creche.cygnus.com (ta0206.peakpeak.com [204.144.244.206])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id JAA05893;
	Thu, 17 Jan 2002 09:40:33 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id JAA18712;
	Thu, 17 Jan 2002 09:56:15 -0700
To: Patrick Doyle <doylep@eecg.toronto.edu>
Cc: <classpath@gnu.org>
Subject: Re: 202_jess bug?
References: <Pine.LNX.4.33.0201160125440.2022-100000@wildcat.eecg.toronto.edu>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  ...It's REAL ROUND..  And it's got a POINTY PART right in the MIDDLE!!
 The shape is SMOOTH..  ..And COLD.. It feels very COMFORTABLE on my
 CHEEK..  I'm getting EMOTIONAL..
Date: 17 Jan 2002 09:56:14 -0700
In-Reply-To: Patrick Doyle's message of "Wed, 16 Jan 2002 01:38:05 -0500 (EST)"
Message-ID: <87ofjsj4r5.fsf@creche.redhat.com>
Lines: 16
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 Class.getConstructor supposed to do when the matching
Patrick> constructor is not public?

I think it should fail with NoSuchMethodException.
I base this on the description of getConstructor here:

    http://java.sun.com/j2se/1.3/docs/api/java/lang/Class.html#getConstructor(java.lang.Class[])

Patrick> So what going on here?

I think you've found a bug in SPECjvm.
Try reporting it to them and see what they say.

Tom


From doylep@eecg.toronto.edu Thu Jan 17 12:33:59 2002
Received: from picton.eecg.toronto.edu ([128.100.10.141])
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16RGQJ-0007cd-00
	for <classpath@gnu.org>; Thu, 17 Jan 2002 12:33:59 -0500
Received: from wildcat.eecg.toronto.edu (wildcat.eecg.toronto.edu [128.100.24.90])
	by picton.eecg.toronto.edu (8.12.1/8.12.1) with ESMTP id g0HHXvJh024223;
	Thu, 17 Jan 2002 12:33:58 -0500 (EST)
Date: Thu, 17 Jan 2002 12:33:57 -0500 (EST)
From: Patrick Doyle <doylep@eecg.toronto.edu>
X-X-Sender:  <doylep@wildcat.eecg.toronto.edu>
To: Tom Tromey <tromey@redhat.com>
cc: <classpath@gnu.org>
Subject: Re: 202_jess bug?
In-Reply-To: <87ofjsj4r5.fsf@creche.redhat.com>
Message-ID: <Pine.LNX.4.33.0201171230350.5414-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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Oops.  It seems that in my rush to get this benchmark working, I have been
somewhat careless.  SPECjvm does not call getConstructor.  Rather, it
calls Class.newInstance, which calls getConstructor, and that's
Classpath's fault after all.

The reference implementation of Class.java implements getConstructor by 
calling newInstance, where it seems it should be calling 
getDeclaredConstructor instead.  Does that sound right?

--
Patrick Doyle
doylep@eecg.toronto.edu

On 17 Jan 2002, Tom Tromey wrote:

> >>>>> "Patrick" == Patrick Doyle <doylep@eecg.toronto.edu> writes:
> 
> Patrick> What is Class.getConstructor supposed to do when the matching
> Patrick> constructor is not public?
>
> I think it should fail with NoSuchMethodException.
> I base this on the description of getConstructor here:
> 
>     http://java.sun.com/j2se/1.3/docs/api/java/lang/Class.html#getConstructor(java.lang.Class[])
> 
> Patrick> So what going on here?
> 
> I think you've found a bug in SPECjvm.
> Try reporting it to them and see what they say.




From reali@inf.ethz.ch Thu Jan 17 13:31:12 2002
Received: from core.inf.ethz.ch ([129.132.178.196])
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16RHJg-0004JB-00
	for <classpath@gnu.org>; Thu, 17 Jan 2002 13:31:12 -0500
Received: from lillian-ics.inf.ethz.ch (root@lillian-ics.inf.ethz.ch [129.132.134.2])
	by core.inf.ethz.ch (8.9.3/8.9.3) with ESMTP id TAA19853;
	Thu, 17 Jan 2002 19:31:06 +0100 (MET)
Received: from x.oberon.ethz.ch (pookie.inf.ethz.ch [129.132.134.15])
	by lillian-ics.inf.ethz.ch (8.9.3/8.9.3) with SMTP id TAA27245;
	Thu, 17 Jan 2002 19:31:08 +0100 (MET)
Date: Thu, 17 Jan 2002 19:31:08 +0100 (MET)
Message-Id: <200201171831.TAA27245@lillian-ics.inf.ethz.ch>
From: reali@inf.ethz.ch
X-Mailer: Oberon Mail (ejz) on Aos 21.12.2001
To: classpath@gnu.org
Cc: reali@inf.ethz.ch
Subject: Problem importing classpath
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

when importing (cvs import) the latest classpath snapshot into my
local CVS repository, include/.cvsignore prevents CVS from
importing the two files stored in the same directory.
These files are required to build classpath, so dropping
them seems incorrect to me.

include/.cvsignore contains:
stamp-h
*.h
*.in

The cvs version is
Concurrent Versions System (CVS) 1.11 (client/server)


Does anybody have the same problem?

-Patrik
--
Patrik Reali, reali@inf.ethz.ch
http://www.inf.ethz.ch/personal/reali/
http://www.oberon.ethz.ch/jaos/
http://www.oberon.ethz.ch/native/



From cbj@gnu.org Thu Jan 17 23:33:09 2002
Received: from fe6.southeast.rr.com ([24.93.67.53] helo=Mail6.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16RQiD-0007cS-00
	for <classpath@gnu.org>; Thu, 17 Jan 2002 23:33:09 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by Mail6.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Thu, 17 Jan 2002 23:33:08 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.0) id g0I4Gia01777;
	Thu, 17 Jan 2002 23:16:44 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: reali@inf.ethz.ch
Cc: classpath@gnu.org
Subject: Re: Problem importing classpath
References: <200201171831.TAA27245@lillian-ics.inf.ethz.ch>
From: Brian Jones <cbj@gnu.org>
Date: 17 Jan 2002 23:16:44 -0500
In-Reply-To: <200201171831.TAA27245@lillian-ics.inf.ethz.ch>
Message-ID: <m3vge09tub.fsf@lyta.haphazard.org>
Lines: 23
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

reali@inf.ethz.ch writes:

> Hi,
> 
> when importing (cvs import) the latest classpath snapshot into my
> local CVS repository, include/.cvsignore prevents CVS from
> importing the two files stored in the same directory.
> These files are required to build classpath, so dropping
> them seems incorrect to me.
> 
> include/.cvsignore contains:
> stamp-h
> *.h
> *.in
> 
> The cvs version is
> Concurrent Versions System (CVS) 1.11 (client/server)

I've updated this file now, sorry about that.

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


From k.shudou@aist.go.jp Thu Jan 17 20:11:32 2002
Received: from mx1.aist.go.jp ([150.29.246.133])
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16RNZ6-0006Uz-00
	for <classpath@gnu.org>; Thu, 17 Jan 2002 20:11:32 -0500
Received: from rpsmtp1.aist.go.jp
	by mx1.aist.go.jp  with ESMTP id g0I1BO009614
	for <classpath@gnu.org>; Fri, 18 Jan 2002 10:11:24 +0900 (JST)
	env-from (k.shudou@aist.go.jp)
Received: from mail01.aist.go.jp
        by rpsmtp1.aist.go.jp  with ESMTP id g0I1BNu22300
        for <classpath@gnu.org>; Fri, 18 Jan 2002 10:11:23 +0900 (JST)
        env-from (k.shudou@aist.go.jp)
Received: from localhost
        by mail01.aist.go.jp  with ESMTP id g0I1BNt09290
        for <classpath@gnu.org>; Fri, 18 Jan 2002 10:11:23 +0900 (JST)
        env-from (k.shudou@aist.go.jp)
To: classpath@gnu.org
Subject: Re: 202_jess bug?
From: shudo@computer.org
In-Reply-To: <87ofjsj4r5.fsf@creche.redhat.com>
References: <Pine.LNX.4.33.0201160125440.2022-100000@wildcat.eecg.toronto.edu>
	<87ofjsj4r5.fsf@creche.redhat.com>
X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Cuyahoga Valley)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20020118101124P.shudoh@aist.go.jp>
Date: Fri, 18 Jan 2002 10:11:24 +0900
X-Dispatcher: imput version 20000228(IM140)
Lines: 32
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 <tromey@redhat.com> wrote:

> >>>>> "Patrick" == Patrick Doyle <doylep@eecg.toronto.edu> writes:
>
> Patrick> What is Class.getConstructor supposed to do when the matching
> Patrick> constructor is not public?
>
> I think it should fail with NoSuchMethodException.

I believe this is not a bug of the SPEC JVM98.

The _202_jess calls Class#newInstance() for the `_return' class,
which is an inner class of the caller.
The call to newInstance() should succeed according to the specification
of newInstance():

  Creates a new instance of the class represented by this
  Class object. The class is instantiatied as if by a new
  expression with an empty argument list. The class is
  initialized if it has not already been initialized.

But, as you wrote, getConstructor(<class object for
`_return'>) should throw NoSuchMethodException. Thus
newInstance() working correctly for inner classes cannot
be implemented making use of getConstructor(), as long
as access modifier of inner class is not public.

> I think you've found a bug in SPECjvm.
> Try reporting it to them and see what they say.


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


From mark@wildebeest.org Sat Jan 19 11:44:32 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16RybR-0002AF-00; Sat, 19 Jan 2002 11:44:25 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16Rya6-0003Wi-00; Sat, 19 Jan 2002 17:43:02 +0100
Received: from mark by elsschot with local (Exim 3.33 #1 (Debian))
	id 16RyaA-0000bz-00; Sat, 19 Jan 2002 17:43:06 +0100
Subject: Re: New license wording
From: Mark Wielaard <mark@klomp.org>
To: "Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
Cc: java@gcc.gnu.org, rao@gnu.org, Richard Stallman <rms@gnu.org>, 
	classpath@gnu.org, hans_boehm@hp.com, tromey@redhat.com
In-Reply-To: <20020114221532.GA3902@perseval.info.uqam.ca>
References: <200201142003.g0EK3PW08579@aztec.santafe.edu> 
	<20020114221532.GA3902@perseval.info.uqam.ca>
Content-Type: multipart/mixed; boundary="=-gJetn010wY0u8AozKXPf"
X-Mailer: Evolution/1.0.1 
Date: 19 Jan 2002 17:43:06 +0100
Message-Id: <1011458586.32374.113.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

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

Hi,

On Mon, 2002-01-14 at 23:15, Etienne M. Gagnon wrote:
> On Mon, Jan 14, 2002 at 01:03:25PM -0700, Richard Stallman wrote:
> > 
> > It should say "not derived from or based on..."
> > I omitted the word "from".
> 
> Here's the corrected text:
> 
> [SNIP]
> 
> Shall we go ahead with it?

OK. Since nobody objected and some people reacted positively to this and
since it is basically just a clarification of the intend of the current
license text I like to go forward with it.

I can use the same scripts that I used for the GNU Classpath AWT
relicensing. I will use it on all java and native source files in
Classpath and all the java files in the libgcj tree which have been
merged with their Classpath version. I will also change the
documentation, web files, LIBGCJ_LICENSE, etc when they mention the
license and/or exception text.

Attached is the diff to the LIBGCJ_LICENSE file and a sample diff for an
ordinary java source file.

I have already done most of this in my local tree but have to carefully
check the results by hand to make sure that I didn't make any mistakes.
When I check it in (on monday) I will post it on the classpath@gnu.org
and java-patches@gcc.gnu.org lists (but omitting most of the actual
patches to the source files since they are big and boring).

Any objections or comments?

Cheers,

Mark

--=-gJetn010wY0u8AozKXPf
Content-Disposition: attachment; filename=LIBGCJ_LICENSE.diff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-15

Index: LIBGCJ_LICENSE
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvs/gcc/gcc/libjava/LIBGCJ_LICENSE,v
retrieving revision 1.2
diff -u -r1.2 LIBGCJ_LICENSE
--- LIBGCJ_LICENSE	2000/03/07 19:55:24	1.2
+++ LIBGCJ_LICENSE	2002/01/19 16:31:41
@@ -1,14 +1,24 @@
-March 7, 2000
+Jan 21, 2002
=20
 The libgcj library is licensed under the terms of the GNU General
-Public License, with this special exception:
+Public License.
=20
-    As a special exception, if you link this library with other files
-    to produce an executable, this library does not by itself cause
-    the resulting executable to be covered by the GNU General Public
-    License.  This exception does not however invalidate any other
-    reasons why the executable file might be covered by the GNU
-    General Public License.
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version.
=20
 You should have received a copy of the GNU General Public License
 along with libjava; see the file COPYING.  If not, write to the

--=-gJetn010wY0u8AozKXPf
Content-Disposition: attachment; filename=Externalizable.diff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-15

Index: java/io/Externalizable.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvs/gcc/gcc/libjava/java/io/Externalizable.java,v
retrieving revision 1.2
diff -u -r1.2 Externalizable.java
--- Externalizable.java	2001/09/01 00:59:09	1.2
+++ Externalizable.java	2002/01/19 16:32:06
@@ -18,11 +18,22 @@
 Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 02111-1307 USA.
=20
-As a special exception, if you link this library with other files to
-produce an executable, this library does not by itself cause the
-resulting executable to be covered by the GNU General Public License.
-This exception does not however invalidate any other reasons why the
-executable file might be covered by the GNU General Public License. */
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
=20
=20
 package java.io;

--=-gJetn010wY0u8AozKXPf--


From mark@wildebeest.org Sat Jan 19 14:39:23 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16S1Kl-0002Eq-00; Sat, 19 Jan 2002 14:39:23 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16S1Kf-0003cY-00; Sat, 19 Jan 2002 20:39:17 +0100
Received: from mark by elsschot with local (Exim 3.33 #1 (Debian))
	id 16S1Kj-0003lq-00; Sat, 19 Jan 2002 20:39:21 +0100
Subject: Re: [Savannah-hackers] Re: classpath: GIF files
From: Mark Wielaard <mark@klomp.org>
To: loic@gnu.org
Cc: savannah-hackers@gnu.org, classpath@gnu.org
In-Reply-To: <15433.46573.912131.834411@inspiron.dachary.org>
References: <E16RzOU-0003UU-00@subversions.gnu.org>
	<1011462913.32376.146.camel@elsschot> 
	<15433.46573.912131.834411@inspiron.dachary.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0.1 
Date: 19 Jan 2002 20:39:20 +0100
Message-Id: <1011469161.32374.229.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

Quick note for classpath@gnu.org - If you also got an email about the
gif issue don't worry about it. Paul has already transformed them to png
files for now so the evil 

On Sat, 2002-01-19 at 19:07, Loic Dachary wrote:
> Mark Wielaard writes:
> 
>  > Any particular reason for emailing me? I am a developer on the GNU
>  > Classpath project and will take care of it. But wouldn't it make more
>  > sense to email the commiter of the files, the project admins or the
>  > project mailinglist. Or has that also been done?
> 
> 	Yes, we sent the mail because you're a member of the project and
> we hoped you'll be willing to help us on this issue. We were afraid that
> a mail on the mailing would be overlooked (everybody thinking that someone
> else will take care of the issue ;-)

Sigh. I went through the savannah-hackers mailing list archive and found
this
http://mail.gnu.org/pipermail/savannah-hackers/2002-January/005255.html

It was really not neccessary to email all those people. Especially
without explaining that this email was send to everybody that was
registered as a developer for that particular project. If you need a
contact person in the future please either use the mailinglist
classpath@gnu.org, email the project admins or if neccessary just email
me and we will make sure that such emails will be read and acted upon.
But please stop spaming all individual project members.

Thanks,

Mark


From mark@wildebeest.org Sat Jan 19 14:47:17 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16S1SP-0002aU-00; Sat, 19 Jan 2002 14:47:17 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16S1Rm-0003cn-00; Sat, 19 Jan 2002 20:46:38 +0100
Received: from mark by elsschot with local (Exim 3.33 #1 (Debian))
	id 16S1Rq-0003nP-00; Sat, 19 Jan 2002 20:46:42 +0100
Subject: Re: [Savannah-hackers] Re: classpath: GIF files
From: Mark Wielaard <mark@klomp.org>
To: Mark Wielaard <mark@klomp.org>
Cc: loic@gnu.org, savannah-hackers@gnu.org, classpath@gnu.org
In-Reply-To: <1011469161.32374.229.camel@elsschot>
References: <E16RzOU-0003UU-00@subversions.gnu.org>
	<1011462913.32376.146.camel@elsschot> 
	<15433.46573.912131.834411@inspiron.dachary.org> 
	<1011469161.32374.229.camel@elsschot>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0.1 
Date: 19 Jan 2002 20:46:42 +0100
Message-Id: <1011469602.32376.232.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

On Sat, 2002-01-19 at 20:39, Mark Wielaard wrote:
> Quick note for classpath@gnu.org - If you also got an email about the
> gif issue don't worry about it. Paul has already transformed them to png
> files for now so the evil 
                            cronjob will not hit us again.

Sorry after checking that it was really a cronjob I forgot to type it
in.

Cheers,

Mark


From mark@wildebeest.org Sat Jan 19 16:26:38 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16S30Y-00021j-00
	for <classpath@gnu.org>; Sat, 19 Jan 2002 16:26:38 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16S30N-0003ha-00; Sat, 19 Jan 2002 22:26:27 +0100
Received: from mark by elsschot with local (Exim 3.33 #1 (Debian))
	id 16S30R-0004Ue-00; Sat, 19 Jan 2002 22:26:31 +0100
Subject: Re: [orp] Problems with 1.0.9 (solved!)
From: Mark Wielaard <mark@klomp.org>
To: orp@yahoogroups.com
Cc: classpath@gnu.org
In-Reply-To: <1011471739.32374.241.camel@elsschot>
References: <794826DE8867D411BAB8009027AE9EB90FE7808B@FMSMSX38> 
	<1011462357.32374.135.camel@elsschot>  <1011471739.32374.241.camel@elsschot>
Content-Type: multipart/mixed; boundary="=-eBS5XUcWNDmL4pr3KAVa"
X-Mailer: Evolution/1.0.1 
Date: 19 Jan 2002 22:26:31 +0100
Message-Id: <1011475591.32374.251.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

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

Hi,

On Sat, 2002-01-19 at 21:22, Mark Wielaard wrote:
> Now I seem to have the same situation that Brian has. Compiling orp with
> its own native libraries makes my DataTest program work OK. But when
> using the Classpath libraries I now get:
> 
> ReceiveBuffer
> Orig size: 65535
> New size: 16000
> SendBuffer
> Exception: java.net.SocketException: No such file or directory
> 
> I don't know why though.
> Will investigate some more.

Found it!
It turned out that the error message was not very descriptive and that
the definition of SO_REUSEADDR and SO_SNDBUF were swapped in javanet.h
in Classpath.

I will check in this fix:

        * native/jni/java-net/javanet.c (_javanet_get_option): make
        exception message more clear.
        * native/jni/java-net/javanet.h
        (SOCKOPT_SO_SNDBUF,SOCKOPT_SO_REUSEADDR): swap definitions.

Cheers,

Mark

--=-eBS5XUcWNDmL4pr3KAVa
Content-Disposition: attachment; filename=java-net.diff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-15

Index: native/jni/java-net/javanet.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/classpath/classpath/native/jni/java-net/javanet.c,v
retrieving revision 1.2
diff -u -r1.2 javanet.c
--- native/jni/java-net/javanet.c	27 Nov 2001 03:12:02 -0000	1.2
+++ native/jni/java-net/javanet.c	19 Jan 2002 21:17:45 -0000
@@ -1131,8 +1131,8 @@
          break;
=20
       default:
-        JCL_ThrowException(env, SOCKET_EXCEPTION, strerror(errno));=20
-         return(0);
+        JCL_ThrowException(env, SOCKET_EXCEPTION, "No such option" );=20
+        return(0);
     }
=20
   return(0);
Index: native/jni/java-net/javanet.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/classpath/classpath/native/jni/java-net/javanet.h,v
retrieving revision 1.1
diff -u -r1.1 javanet.h
--- native/jni/java-net/javanet.h	5 Nov 2001 02:56:47 -0000	1.1
+++ native/jni/java-net/javanet.h	19 Jan 2002 21:17:45 -0000
@@ -48,9 +48,9 @@
 #define SOCKOPT_SO_BINDADDR 15
 #define SOCKOPT_SO_LINGER 128
 #define SOCKOPT_SO_TIMEOUT 4102
-#define SOCKOPT_SO_SNDBUF 4
+#define SOCKOPT_SO_SNDBUF 4097
 #define SOCKOPT_SO_RCVBUF 4098
-#define SOCKOPT_SO_REUSEADDR 4097
+#define SOCKOPT_SO_REUSEADDR 4
 #define SOCKOPT_IP_MULTICAST_IF 16
=20
 /* Internal option identifiers. Not needed for JDK compatibility */

--=-eBS5XUcWNDmL4pr3KAVa--


From cbj@gnu.org Sat Jan 19 16:58:38 2002
Received: from fe8.southeast.rr.com ([24.93.67.55] helo=mail8.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16S3VW-000597-00
	for <classpath@gnu.org>; Sat, 19 Jan 2002 16:58:38 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by mail8.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Sat, 19 Jan 2002 16:58:33 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.0) id g0JLfko11368;
	Sat, 19 Jan 2002 16:41:46 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Mark Wielaard <mark@klomp.org>
Cc: classpath@gnu.org
Subject: Re: [orp] Problems with 1.0.9 (solved!)
References: <794826DE8867D411BAB8009027AE9EB90FE7808B@FMSMSX38>
	<1011462357.32374.135.camel@elsschot>
	<1011471739.32374.241.camel@elsschot>
	<1011475591.32374.251.camel@elsschot>
From: Brian Jones <cbj@gnu.org>
Date: 19 Jan 2002 16:41:45 -0500
In-Reply-To: <1011475591.32374.251.camel@elsschot>
Message-ID: <m3k7uej9wm.fsf@lyta.haphazard.org>
Lines: 29
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard <mark@klomp.org> writes:

> Hi,
> 
> On Sat, 2002-01-19 at 21:22, Mark Wielaard wrote:
> > Now I seem to have the same situation that Brian has. Compiling orp with
> > its own native libraries makes my DataTest program work OK. But when
> > using the Classpath libraries I now get:
> > 
> > ReceiveBuffer
> > Orig size: 65535
> > New size: 16000
> > SendBuffer
> > Exception: java.net.SocketException: No such file or directory
> > 
> > I don't know why though.
> > Will investigate some more.
> 
> Found it!
> It turned out that the error message was not very descriptive and that
> the definition of SO_REUSEADDR and SO_SNDBUF were swapped in javanet.h
> in Classpath.

Great, thanks for tracking this down.  I'd been rather busy away from
Classpath and had not looked into it.

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


From mark@wildebeest.org Sun Jan 20 13:27:03 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16SMgJ-0000k7-00; Sun, 20 Jan 2002 13:27:03 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16SMgC-0004at-00; Sun, 20 Jan 2002 19:26:56 +0100
Received: from mark by elsschot with local (Exim 3.34 #1 (Debian))
	id 16SMgH-0002e4-00; Sun, 20 Jan 2002 19:27:01 +0100
Subject: Re: [Savannah-hackers] Re: classpath: GIF files
From: Mark Wielaard <mark@klomp.org>
To: loic@gnu.org
Cc: savannah-hackers@gnu.org, classpath@gnu.org
In-Reply-To: <15434.62593.867677.175586@inspiron.dachary.org>
References: <E16RzOU-0003UU-00@subversions.gnu.org>
	<1011462913.32376.146.camel@elsschot>
	<15433.46573.912131.834411@inspiron.dachary.org>
	<1011469161.32374.229.camel@elsschot> 
	<15434.62593.867677.175586@inspiron.dachary.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0.1 
Date: 20 Jan 2002 19:27:00 +0100
Message-Id: <1011551220.31605.323.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

On Sun, 2002-01-20 at 17:46, Loic Dachary wrote:
> 
> 	Please accept my apologies. What I thought to be a good idea
> apparently turned out to be very unpleasant to you. I fixed the script
> to avoid troubles in the future. Could you please tell me if the sample
> mail below is acceptable ? If not could you suggest a way to improve it ? 

Much better. Thanks for taking the time to make it clearer.
(And don't take my critisism to seriously, I was just utterly confused
where the mail came from and why it was send to me personally.)

To bad you cannot use the mailinglist. Another suggestion could be to
file an urgent bug report on the savannah project page.

You might want to warn people that the script only converts gifs->png
but that changes to the webpages or code should be done by hand.

You might also want to explicitly state if the savannah-hackers
mailinglist is the correct place to ask for aditional information and/or
help in doing the conversion. If not you might want to change the
reply-to header to point to the appropriate list.

Cheers,

Mark


From loic@dachary.org Sun Jan 20 11:48:30 2002
Received: from aboukir-101-1-13-alebeon.adsl.nerim.net ([62.212.101.54] helo=inspiron.dachary.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16SL8u-0000tC-00; Sun, 20 Jan 2002 11:48:30 -0500
Received: from loic by inspiron.dachary.org with local (Exim 3.33 #1 (Debian))
	id 16SL7R-0000XE-00; Sun, 20 Jan 2002 17:46:57 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15434.62593.867677.175586@inspiron.dachary.org>
Date: Sun, 20 Jan 2002 17:46:57 +0100
From: Loic Dachary <loic@gnu.org>
To: Mark Wielaard <mark@klomp.org>
Cc: savannah-hackers@gnu.org,
    classpath@gnu.org
Subject: Re: [Savannah-hackers] Re: classpath: GIF files
In-Reply-To: Mark Wielaard's message of 19 January 2002 20:39:20 +0100
References: <E16RzOU-0003UU-00@subversions.gnu.org>
	<1011462913.32376.146.camel@elsschot>
	<15433.46573.912131.834411@inspiron.dachary.org>
	<1011469161.32374.229.camel@elsschot>
X-Mailer: VM 7.00 under Emacs 21.1.1
Reply-To: loic@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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

	Please accept my apologies. What I thought to be a good idea
apparently turned out to be very unpleasant to you. I fixed the script
to avoid troubles in the future. Could you please tell me if the sample
mail below is acceptable ? If not could you suggest a way to improve it ? 

	- the To: shows all recipients
	- a mailing list would be better but we have no way to figure
	  out which mailing list is appropriate, in an automated way.
	  We could research & track each project, asking developers for
	  the relevant mailing list. But that would be so time consuming
	  that no volunteer will do it. If sending to all developpers 
	  in this way is not acceptable, I think we don't have a better
	  solution than to just drop the whole idea.
	- added explanations on why and by who the mail was sent

	Thanks for your help and understanding,

	Cheers,

-------------------------------------------------------------
Subject: thotbook: GIF files
To: yann.dirson@fr.alcove.com,bdrieu@april.org
  
    Hi,
  
    Could you please remove the following GIF files from the project
thotbook hosted on the GNU machines ?
  
    For an explanation on why there are not GIF files on the GNU
machines read http://www.gnu.org/philosophy/gif.html. This policy was
established years ago by the GNU project and is an integral part of
the requirements for every project registering on savannah.gnu.org
(see http://savannah.gnu.org/register/requirements.php).

  
    This mail was created by a script on the Savannah machine and
run manually by one of the savannah-hackers@gnu.org. It was sent
to all members of thotbook because we have no automated way to
figure out what is the relevant mailing list and who, among the
existing developers, is taking care of these issues at present.

    The home page of your project is
      http://savannah.gnu.org/projects/thotbook/

    You can convert GIF files to PNG using the gif2png program.
      http://www.tuxedo.org/~esr/gif2png/gif2png-2.4.2.tar.gz

    Here is a sample script to convert the GIF files that are in
the sources of thotbook to PNG.

    export CVS_RSH=ssh
    mkdir tmp
    cd tmp
    cvs -d user@subversions.gnu.org:/cvsroot/thotbook co .

    while read file
    do
        gif2png -O $file.gif
        cvs delete -f $file.gif
        cvs add $file.png
    done <<'EOF'
libthot/libjpeg/testimg
thoteditor/doc/button
thoteditor/doc/thoteditor/Bilbon
thoteditor/doc/thoteditor/Sources
thoteditor/doc/thoteditor/mainwindow
thoteditor/doc/thoteditor/opera
thoteditor/doc/thoteditor/outils
thoteditor/doc/thoteditor/palette1
thoteditor/doc/thoteditor/palette2
thoteditor/doc/thoteditor/polygones
thoteditor/doc/thoteditor/thot
thoteditor/doc/thoteditor/thotdraw
thoteditor/doc/thoteditor/traits
EOF
    cvs commit -m 'Convert GIF to PNG'


        Thanks for your help,

        The GNU volunteers, savannah-hackers@gnu.org
-------------------------------------------------------------

Mark Wielaard writes:
 > Hi,
 > 
 > Quick note for classpath@gnu.org - If you also got an email about the
 > gif issue don't worry about it. Paul has already transformed them to png
 > files for now so the evil 
 > 
 > On Sat, 2002-01-19 at 19:07, Loic Dachary wrote:
 > > Mark Wielaard writes:
 > > 
 > >  > Any particular reason for emailing me? I am a developer on the GNU
 > >  > Classpath project and will take care of it. But wouldn't it make more
 > >  > sense to email the commiter of the files, the project admins or the
 > >  > project mailinglist. Or has that also been done?
 > > 
 > > 	Yes, we sent the mail because you're a member of the project and
 > > we hoped you'll be willing to help us on this issue. We were afraid that
 > > a mail on the mailing would be overlooked (everybody thinking that someone
 > > else will take care of the issue ;-)
 > 
 > Sigh. I went through the savannah-hackers mailing list archive and found
 > this
 > http://mail.gnu.org/pipermail/savannah-hackers/2002-January/005255.html
 > 
 > It was really not neccessary to email all those people. Especially
 > without explaining that this email was send to everybody that was
 > registered as a developer for that particular project. If you need a
 > contact person in the future please either use the mailinglist
 > classpath@gnu.org, email the project admins or if neccessary just email
 > me and we will make sure that such emails will be read and acted upon.
 > But please stop spaming all individual project members.

-- 
Loic   Dachary         http://www.dachary.org/  loic@dachary.org
12 bd  Magenta         http://www.senga.org/      loic@senga.org
75010    Paris         T: 33 1 42 45 07 97          loic@gnu.org
        GPG Public Key: http://www.dachary.org/loic/gpg.txt


From loic@dachary.org Sun Jan 20 11:50:32 2002
Received: from aboukir-101-1-13-alebeon.adsl.nerim.net ([62.212.101.54] helo=inspiron.dachary.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16SLAu-0000xi-00; Sun, 20 Jan 2002 11:50:32 -0500
Received: from loic by inspiron.dachary.org with local (Exim 3.33 #1 (Debian))
	id 16SL9d-0000XK-00; Sun, 20 Jan 2002 17:49:13 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15434.62729.586932.444927@inspiron.dachary.org>
Date: Sun, 20 Jan 2002 17:49:13 +0100
From: Loic Dachary <loic@gnu.org>
To: Mark Wielaard <mark@klomp.org>
Cc: savannah-hackers@gnu.org,
    classpath@gnu.org
Subject: Re: [Savannah-hackers] Re: classpath: GIF files
In-Reply-To: Mark Wielaard's message of 19 January 2002 20:46:42 +0100
References: <E16RzOU-0003UU-00@subversions.gnu.org>
	<1011462913.32376.146.camel@elsschot>
	<15433.46573.912131.834411@inspiron.dachary.org>
	<1011469161.32374.229.camel@elsschot>
	<1011469602.32376.232.camel@elsschot>
X-Mailer: VM 7.00 under Emacs 21.1.1
Reply-To: loic@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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard writes:
 > Hi,
 > 
 > On Sat, 2002-01-19 at 20:39, Mark Wielaard wrote:
 > > Quick note for classpath@gnu.org - If you also got an email about the
 > > gif issue don't worry about it. Paul has already transformed them to png
 > > files for now so the evil 
 >                             cronjob will not hit us again.
 > 
 > Sorry after checking that it was really a cronjob I forgot to type it
 > in.

	It was done manually. It won't be a cron job before the method 
is accepted & not considered evil.

	Cheers,

-- 
Loic   Dachary         http://www.dachary.org/  loic@dachary.org
12 bd  Magenta         http://www.senga.org/      loic@senga.org
75010    Paris         T: 33 1 42 45 07 97          loic@gnu.org
        GPG Public Key: http://www.dachary.org/loic/gpg.txt


From mark@wildebeest.org Sun Jan 20 16:16:14 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16SPK2-00005I-00; Sun, 20 Jan 2002 16:16:14 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16SPJv-0004gr-00; Sun, 20 Jan 2002 22:16:07 +0100
Received: from mark by elsschot with local (Exim 3.34 #1 (Debian))
	id 16SPK0-00038f-00; Sun, 20 Jan 2002 22:16:12 +0100
Subject: Re: [Savannah-hackers] Re: classpath: GIF files
From: Mark Wielaard <mark@klomp.org>
To: loic@gnu.org
Cc: savannah-hackers@gnu.org, classpath@gnu.org
In-Reply-To: <15435.10161.867743.272862@inspiron.dachary.org>
References: <E16RzOU-0003UU-00@subversions.gnu.org>
	<1011462913.32376.146.camel@elsschot>
	<15433.46573.912131.834411@inspiron.dachary.org>
	<1011469161.32374.229.camel@elsschot>
	<15434.62593.867677.175586@inspiron.dachary.org>
	<1011551220.31605.323.camel@elsschot> 
	<15435.10161.867743.272862@inspiron.dachary.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0.1 
Date: 20 Jan 2002 22:16:12 +0100
Message-Id: <1011561372.31600.368.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

On Sun, 2002-01-20 at 21:25, Loic Dachary wrote:
> Mark Wielaard writes:
>  > To bad you cannot use the mailinglist. Another suggestion could be to
>  > file an urgent bug report on the savannah project page.
> 
> 	Not all projects make use of the support tracking system, 
> unfortunately. 

Sad, but true. Classpath is also not yet very fluent with the
bugtracking system. It would be nice though, so you could quickly see on
Savannah which GNU project needed the most help at the moment :)

>  > You might want to warn people that the script only converts gifs->png
>  > but that changes to the webpages or code should be done by hand.
> 
> 	Would this be enough ? Feel free to correct my english if needed.
> ---
>     In the following we suggest a small script to convert the images
> to the PNG format. Note that you should also make sure the software does
> not reference the old GIF images. This is likely to require manual
> attention in most cases.
> ---

Seems fine to me. If a French speaking person can explain it to a Dutch
speaking person in English it must be correct :)

>  > You might also want to explicitly state if the savannah-hackers
>  > mailinglist is the correct place to ask for aditional information and/or
>  > help in doing the conversion. If not you might want to change the
>  > reply-to header to point to the appropriate list.
> 
> 	Added the Reply-To + the following line before the signature:
> 
> For additional information please write to savannah-hackers@gnu.org.

Great. Thanks for all your work.

Cheers,

Mark


From loic@dachary.org Sun Jan 20 15:26:47 2002
Received: from aboukir-101-1-13-alebeon.adsl.nerim.net ([62.212.101.54] helo=inspiron.dachary.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16SOYA-0003vI-00; Sun, 20 Jan 2002 15:26:46 -0500
Received: from loic by inspiron.dachary.org with local (Exim 3.33 #1 (Debian))
	id 16SOWn-0000km-00; Sun, 20 Jan 2002 21:25:21 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15435.10161.867743.272862@inspiron.dachary.org>
Date: Sun, 20 Jan 2002 21:25:21 +0100
From: Loic Dachary <loic@gnu.org>
To: Mark Wielaard <mark@klomp.org>
Cc: savannah-hackers@gnu.org,
    classpath@gnu.org
Subject: Re: [Savannah-hackers] Re: classpath: GIF files
In-Reply-To: Mark Wielaard's message of 20 January 2002 19:27:00 +0100
References: <E16RzOU-0003UU-00@subversions.gnu.org>
	<1011462913.32376.146.camel@elsschot>
	<15433.46573.912131.834411@inspiron.dachary.org>
	<1011469161.32374.229.camel@elsschot>
	<15434.62593.867677.175586@inspiron.dachary.org>
	<1011551220.31605.323.camel@elsschot>
X-Mailer: VM 7.00 under Emacs 21.1.1
Reply-To: loic@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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard writes:
 > Hi,
 > 
 > On Sun, 2002-01-20 at 17:46, Loic Dachary wrote:
 > > 
 > > 	Please accept my apologies. What I thought to be a good idea
 > > apparently turned out to be very unpleasant to you. I fixed the script
 > > to avoid troubles in the future. Could you please tell me if the sample
 > > mail below is acceptable ? If not could you suggest a way to improve it ? 
 > 
 > Much better. Thanks for taking the time to make it clearer.
 > (And don't take my critisism to seriously, I was just utterly confused
 > where the mail came from and why it was send to me personally.)
 > 
 > To bad you cannot use the mailinglist. Another suggestion could be to
 > file an urgent bug report on the savannah project page.

	Not all projects make use of the support tracking system, 
unfortunately. 

 > You might want to warn people that the script only converts gifs->png
 > but that changes to the webpages or code should be done by hand.

	Would this be enough ? Feel free to correct my english if needed.
---
    In the following we suggest a small script to convert the images
to the PNG format. Note that you should also make sure the software does
not reference the old GIF images. This is likely to require manual
attention in most cases.
---
 
 > You might also want to explicitly state if the savannah-hackers
 > mailinglist is the correct place to ask for aditional information and/or
 > help in doing the conversion. If not you might want to change the
 > reply-to header to point to the appropriate list.

	Added the Reply-To + the following line before the signature:

For additional information please write to savannah-hackers@gnu.org.


	A++,

-- 
Loic   Dachary         http://www.dachary.org/  loic@dachary.org
12 bd  Magenta         http://www.senga.org/      loic@senga.org
75010    Paris         T: 33 1 42 45 07 97          loic@gnu.org
        GPG Public Key: http://www.dachary.org/loic/gpg.txt


From mark@wildebeest.org Tue Jan 22 18:16:19 2002
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16TA9E-0007c1-00; Tue, 22 Jan 2002 18:16:12 -0500
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.33 #1 (Debian))
	id 16TA80-0006P9-00; Wed, 23 Jan 2002 00:14:56 +0100
Received: from mark by elsschot with local (Exim 3.34 #1 (Debian))
	id 16TA86-0007fE-00; Wed, 23 Jan 2002 00:15:02 +0100
Subject: Re: New license wording
From: Mark Wielaard <mark@klomp.org>
To: Mark Wielaard <mark@klomp.org>
Cc: "Etienne M. Gagnon" <etienne.gagnon@uqam.ca>, java@gcc.gnu.org, rao@gnu.org, 
	Richard Stallman
	 <rms@gnu.org>, classpath@gnu.org, hans_boehm@hp.com, tromey@redhat.com
In-Reply-To: <1011458586.32374.113.camel@elsschot>
References: <200201142003.g0EK3PW08579@aztec.santafe.edu> 
	<20020114221532.GA3902@perseval.info.uqam.ca> 
	<1011458586.32374.113.camel@elsschot>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0.1 
Date: 23 Jan 2002 00:15:02 +0100
Message-Id: <1011741302.4267.27.camel@elsschot>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

All license texts in Classpath and libgcj have now been updated
with the clarification.

Please make sure that all new files that you add to Classpath have the
new boilerplate:

/* <filename> - <one-line-description>
   Copyright (C) 2002 Free Software Foundation, Inc.

This file is part of GNU Classpath.

GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
 
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

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

Linking this library statically or dynamically with other modules is
making a combined work based on this library.  Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.

As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module.  An independent module is a module which is not derived from
or based on this library.  If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so.  If you do not wish to do so, delete this
exception statement from your version. */

Cheers,

Mark


From bryce@waitaki.otago.ac.nz Tue Jan 22 19:38:41 2002
Received: from waitaki.otago.ac.nz ([139.80.75.140])
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16TBR2-0000eg-00
	for <classpath@gnu.org>; Tue, 22 Jan 2002 19:38:40 -0500
Received: from waitaki.otago.ac.nz (IDENT:bryce@reason.otago.ac.nz [139.80.119.17])
	by waitaki.otago.ac.nz (8.11.6/8.11.2) with ESMTP id g0N0cPu11134;
	Wed, 23 Jan 2002 13:38:25 +1300
Message-ID: <3C4E0621.50200@waitaki.otago.ac.nz>
Date: Wed, 23 Jan 2002 13:38:57 +1300
From: Bryce McKinlay <bryce@waitaki.otago.ac.nz>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011221
X-Accept-Language: en-us
MIME-Version: 1.0
To: Mark Wielaard <mark@klomp.org>
CC: java@gcc.gnu.org, classpath@gnu.org
Subject: Re: New license wording
References: <200201142003.g0EK3PW08579@aztec.santafe.edu> 	<20020114221532.GA3902@perseval.info.uqam.ca> 	<1011458586.32374.113.camel@elsschot> <1011741302.4267.27.camel@elsschot>
Content-Type: text/plain; charset=us-ascii; format=flowed
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Mark Wielaard wrote:

>All license texts in Classpath and libgcj have now been updated
>with the clarification.
>

Thanks Mark. Though I'm happy that the license has been improved (and 
happy that Etienne is now hopefully happy!), after re-reading it there 
is one thing I am a little concerned about:

>"As a special exception, the copyright holders of this library give you
>permission to link this library with independent modules to produce an
>executable."
>
>"An independent module is a module which is not derived from
>or based on this library."
>

Couldn't any gcj application be thought of as being "based on" the 
libgcj library? How do we know precisely what the difference between 
being "based on" and simply "using" the library is?

regards

Bryce.




From etienne.gagnon@uqam.ca Tue Jan 22 20:49:35 2002
Received: from anis.telecom.uqam.ca ([132.208.250.6] helo=uqam.ca)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16TCXf-0006nJ-00
	for <classpath@gnu.org>; Tue, 22 Jan 2002 20:49:35 -0500
Received: from anis.telecom.uqam.ca (anis.telecom.uqam.ca [132.208.250.6])
	by sortant.uqam.ca (8.11.6/8.11.0) with SMTP id g0N1hAe10992
	for <classpath@gnu.org>; Tue, 22 Jan 2002 20:43:10 -0500 (EST)
Received: from antivirus.uqam.ca ([127.0.0.1])
 by anis.telecom.uqam.ca (NAVGW 2.5.1.12) with SMTP id M2002012220431004301
 for <classpath@gnu.org>; Tue, 22 Jan 2002 20:43:10 -0500
Received: from er.uqam.ca (nobel.si.uqam.ca [132.208.219.1])
	by intrant.uqam.ca (8.11.6/8.11.0) with ESMTP id g0N1gdu10932;
	Tue, 22 Jan 2002 20:42:39 -0500 (EST)
Received: from localhost (perseval.info.uqam.ca [132.208.137.96])
	by er.uqam.ca (8.10.0/8.10.0) with ESMTP id g0N1gdY09177;
	Tue, 22 Jan 2002 20:42:40 -0500 (EST)
Received: from egagnon by localhost with local (Exim 3.34 #1 (Debian))
	id 16TCQx-0003vv-00; Tue, 22 Jan 2002 20:42:39 -0500
Date: Tue, 22 Jan 2002 20:42:39 -0500
To: Bryce McKinlay <bryce@waitaki.otago.ac.nz>
Cc: Mark Wielaard <mark@klomp.org>, java@gcc.gnu.org, classpath@gnu.org
Subject: Re: New license wording
Message-ID: <20020123014239.GA14610@perseval.info.uqam.ca>
References: <200201142003.g0EK3PW08579@aztec.santafe.edu> <20020114221532.GA3902@perseval.info.uqam.ca> <1011458586.32374.113.camel@elsschot> <1011741302.4267.27.camel@elsschot> <3C4E0621.50200@waitaki.otago.ac.nz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3C4E0621.50200@waitaki.otago.ac.nz>
User-Agent: Mutt/1.3.26i
From: "Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 Wed, Jan 23, 2002 at 01:38:57PM +1300, Bryce McKinlay wrote:
> Thanks Mark. Though I'm happy that the license has been improved (and 
> happy that Etienne is now hopefully happy!)


Yes, he is.  In fact, in exchange for this clarification, I will let
go of another claim, and simply assign my copyright to the FSF for any
improvement I will sign the copyright assignment paperwork.

> after re-reading it there 
> is one thing I am a little concerned about:
> 
> >"As a special exception, the copyright holders of this library give you
> >permission to link this library with independent modules to produce an
> >executable."
> >
> >"An independent module is a module which is not derived from
> >or based on this library."
> >
> 
> Couldn't any gcj application be thought of as being "based on" the 
> libgcj library? How do we know precisely what the difference between 
> being "based on" and simply "using" the library is?

I'll try to answer this one.  "Based on" means that you included some
of Classpath's source code ("as is" or modified ) in your application.
The simple act of linking with a library is considered "using" the
library.  Linking, here can be interpreted as "binary linking"
(runtime) or even some form of compile-time linking like using
Classpath as the class library for compiling your application to
bytecode using Jikes.

The terms used in the Classpath exception take their source in the GNU
licenses "literature".  So, in the GNU LGPL preamble you can read:

[... Pay close attention to the difference between a "work based on
the library" and a "work that uses the library".  The former contains
code derived from the library, whereas the latter must be combined
with the library in order to run. ...]

Etienne

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


From bryce@waitaki.otago.ac.nz Tue Jan 22 22:36:30 2002
Received: from waitaki.otago.ac.nz ([139.80.75.140])
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16TED8-0002nb-00
	for <classpath@gnu.org>; Tue, 22 Jan 2002 22:36:30 -0500
Received: from waitaki.otago.ac.nz (IDENT:bryce@reason.otago.ac.nz [139.80.119.17])
	by waitaki.otago.ac.nz (8.11.6/8.11.2) with ESMTP id g0N3a3u11743;
	Wed, 23 Jan 2002 16:36:04 +1300
Message-ID: <3C4E2FC3.3010905@waitaki.otago.ac.nz>
Date: Wed, 23 Jan 2002 16:36:35 +1300
From: Bryce McKinlay <bryce@waitaki.otago.ac.nz>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011221
X-Accept-Language: en-us
MIME-Version: 1.0
To: "Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
CC: Mark Wielaard <mark@klomp.org>, java@gcc.gnu.org, classpath@gnu.org
Subject: Re: New license wording
References: <200201142003.g0EK3PW08579@aztec.santafe.edu> <20020114221532.GA3902@perseval.info.uqam.ca> <1011458586.32374.113.camel@elsschot> <1011741302.4267.27.camel@elsschot> <3C4E0621.50200@waitaki.otago.ac.nz> <20020123014239.GA14610@perseval.info.uqam.ca>
Content-Type: text/plain; charset=us-ascii; format=flowed
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Etienne M. Gagnon wrote:

>>Couldn't any gcj application be thought of as being "based on" the 
>>libgcj library? How do we know precisely what the difference between 
>>being "based on" and simply "using" the library is?
>>
>
>I'll try to answer this one.  "Based on" means that you included some
>of Classpath's source code ("as is" or modified ) in your application.
>The simple act of linking with a library is considered "using" the
>library.  Linking, here can be interpreted as "binary linking"
>(runtime) or even some form of compile-time linking like using
>Classpath as the class library for compiling your application to
>bytecode using Jikes.
>

But what about static linking? Being able to create a statically linked 
binary which includes components of libgcj is, I thought, a very 
important feature of this license.

>The terms used in the Classpath exception take their source in the GNU
>licenses "literature".  So, in the GNU LGPL preamble you can read:
>
>[... Pay close attention to the difference between a "work based on
>the library" and a "work that uses the library".  The former contains
>code derived from the library, whereas the latter must be combined
>with the library in order to run. ...]
>
The LGPL also says the following (the LGPL is not applicable here 
because it is a completely different license, however the definition it 
provides makes me nervous about the wording of our license):

[A "work based on the Library" means either the Library or any 
derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. ]

This would imply to me that static linking is not allowed under the new 
license, in which case I would argue for this change to be reverted or, 
at least, for the "based on" bit to be changed or deleted.

regards

Bryce.





From etienne.gagnon@uqam.ca Wed Jan 23 10:58:18 2002
Received: from anis.telecom.uqam.ca ([132.208.250.6] helo=uqam.ca)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16TPmv-0001cT-00
	for <classpath@gnu.org>; Wed, 23 Jan 2002 10:58:13 -0500
Received: from anis.telecom.uqam.ca (anis.telecom.uqam.ca [132.208.250.6])
	by sortant.uqam.ca (8.11.6/8.11.0) with SMTP id g0NFjIe25802
	for <classpath@gnu.org>; Wed, 23 Jan 2002 10:45:18 -0500 (EST)
Received: from antivirus.uqam.ca ([127.0.0.1])
 by anis.telecom.uqam.ca (NAVGW 2.5.1.12) with SMTP id M2002012310451813941
 for <classpath@gnu.org>; Wed, 23 Jan 2002 10:45:18 -0500
Received: from er.uqam.ca (nobel.si.uqam.ca [132.208.219.1])
	by intrant.uqam.ca (8.11.6/8.11.0) with ESMTP id g0NFiJu25548;
	Wed, 23 Jan 2002 10:44:19 -0500 (EST)
Received: from localhost (perseval.info.uqam.ca [132.208.137.96])
	by er.uqam.ca (8.10.0/8.10.0) with ESMTP id g0NFiEY23528;
	Wed, 23 Jan 2002 10:44:16 -0500 (EST)
Received: from localhost ([127.0.0.1] helo=uqam.ca)
	by localhost with esmtp (Exim 3.34 #1 (Debian))
	id 16TPZN-0006v8-00; Wed, 23 Jan 2002 10:44:13 -0500
Message-ID: <3C4EDA4C.4060905@uqam.ca>
Date: Wed, 23 Jan 2002 10:44:12 -0500
From: "Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20020121
X-Accept-Language: en
MIME-Version: 1.0
To: Bryce McKinlay <bryce@waitaki.otago.ac.nz>
CC: Mark Wielaard <mark@klomp.org>, java@gcc.gnu.org, classpath@gnu.org
Subject: Re: New license wording
References: <200201142003.g0EK3PW08579@aztec.santafe.edu> <20020114221532.GA3902@perseval.info.uqam.ca> <1011458586.32374.113.camel@elsschot> <1011741302.4267.27.camel@elsschot> <3C4E0621.50200@waitaki.otago.ac.nz> <20020123014239.GA14610@perseval.info.uqam.ca> <3C4E2FC3.3010905@waitaki.otago.ac.nz>
Content-Type: text/plain; charset=us-ascii; format=flowed
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 Bryce,

You should probably send a message detailing your concerns to Richard Stallman 
<rms@gnu.org>; he is the main person behind the wording of the exception. 
[Please put me on the CC list.]

See my comments below.

Bryce McKinlay wrote:

>> I'll try to answer this one.  "Based on" means that you included some
>> of Classpath's source code ("as is" or modified ) in your application.
>> The simple act of linking with a library is considered "using" the
>> library.  Linking, here can be interpreted as "binary linking"
>> (runtime) or even some form of compile-time linking like using
>> Classpath as the class library for compiling your application to
>> bytecode using Jikes.
> 
> But what about static linking? Being able to create a statically linked 
> binary which includes components of libgcj is, I thought, a very 
> important feature of this license.


Static linking is no different from dynamic linking, in our context.  The 
Classpath exception says "...give you permission to link...".  There's no 
special treatment for "static" linking.

 > The LGPL also says the following (the LGPL is not applicable here

> because it is a completely different license, however the definition it 
> provides makes me nervous about the wording of our license):
> 
> [A "work based on the Library" means either the Library or any 
> derivative work under
> copyright law: that is to say, a work containing the Library or a
> portion of it, either verbatim or with modifications and/or translated
> straightforwardly into another language. ]
> 
> This would imply to me that static linking is not allowed under the new 
> license, in which case I would argue for this change to be reverted or, 
> at least, for the "based on" bit to be changed or deleted.


Under your reasoning, if Classpath was licensed under the LGPL, then linking an 
application with Classpath would require licensing the whole application under 
the terms of the LGPL!  But the LGPL was specifically designed so that would not 
be the case...  I think the problem is that you are forgetting that both the 
LGPL and the Classpath license have exceptions (LGPL section 6 + Classpath 
exception) that give you an explicit permission to "link" without applying the 
terms to the combined work.  So, if you agree with this, all that is left is to 
agree on the definition of "independent module".

I think that it is generally accepted that a "normal usage" of a library 
consists of "depending on its API" (application programming interface) [or 
"external/exported interface"].  Consequently, if your modules only depend on 
the API exported by Classpath, then they will match the definition of 
"independent module" [using a library is different from being "based on it"; 
just replace Classpath by another library exporting the same API... Would you 
then say thet your module is based on "all possibile" libraries exporting this 
same API?  No.].  Of course, if you start using "implementation" code from 
Classpath into your modules, then they will not be independent anymore 
[replacing the library won't remove Classpath's code from your modules].

[I just hope that you agree that "inheriting" from a library class is a normal 
"library usage"...  This is really something I would personally testify to, as 
an expert in the field, in front of a juge.]

This seems pretty intuitive to me, but maybe it isn't?  If you are really 
worried, please write to Richard S.  I think it will lead nowhere to continue 
this discussion on developer mailing-lists.

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



From cdcavanna@yahoo.com Wed Jan 23 15:01:56 2002
Received: from smtp011.mail.yahoo.com ([216.136.173.31])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16TTal-000456-00
	for <classpath@gnu.org>; Wed, 23 Jan 2002 15:01:55 -0500
Received: from cpe0080c6ee6a89.cpe.net.cable.rogers.com (HELO cr977935a) (24.114.195.194)
  by smtp.mail.vip.sc5.yahoo.com with SMTP; 23 Jan 2002 20:01:53 -0000
From: "Carlos Cavanna" <cdcavanna@yahoo.com>
To: "Classpath - GNU" <classpath@gnu.org>
Subject: Bugs in BitSet
Date: Wed, 23 Jan 2002 15:02:14 -0500
Message-ID: <GBEELMOFAJBBEFHHJEJFOEBKDAAA.cdcavanna@yahoo.com>
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.50.4807.1700
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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,

I found a couple of bugs in the BitSet class. Basically some operations do
not test the array bounds correctly. I checked the current CVS version and
I noticed they were not fixed yet.

It is curious that a previous version of classpath (0.02 release) does not
have any of these problems. Since then, some of the loops were rewritten
but the bounds are different. To verify this, I used BitSetTest (that I
think
it comes with Kaffe.)

I attach you my fix.

Regards,
CC

Index: classpath/java/util/BitSet.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/BitSet.java,v
retrieving revision 1.9
diff -r1.9 BitSet.java
114,115c114,115
<     while (++i < bits.length)
<       bits[i] = 0;
---
>     while (i < bits.length)
>       bits[i++] = 0;
131c131
<     while (--i > 0)
---
>     while (--i >= 0)
705c705
<     for (int i = bs.bits.length - 1; i > 0; i--)
---
>     for (int i = bs.bits.length - 1; i >= 0; i--)

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


From tromey@creche.cygnus.com Wed Jan 23 15:38:16 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16TU9w-0008MJ-00
	for <classpath@gnu.org>; Wed, 23 Jan 2002 15:38:16 -0500
Received: from creche.cygnus.com (ta0205.peakpeak.com [204.144.244.205])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id NAA02609;
	Wed, 23 Jan 2002 13:38:13 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id NAA28757;
	Wed, 23 Jan 2002 13:55:38 -0700
To: "Carlos Cavanna" <cdcavanna@yahoo.com>
Cc: "Classpath - GNU" <classpath@gnu.org>
Subject: Re: Bugs in BitSet
References: <GBEELMOFAJBBEFHHJEJFOEBKDAAA.cdcavanna@yahoo.com>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  Please come home with me...  I have Tylenol!!
Date: 23 Jan 2002 13:55:38 -0700
In-Reply-To: "Carlos Cavanna"'s message of "Wed, 23 Jan 2002 15:02:14 -0500"
Message-ID: <87wuy8vlbp.fsf@creche.redhat.com>
Lines: 28
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Carlos" == Carlos Cavanna <cdcavanna@yahoo.com> writes:

Carlos> I found a couple of bugs in the BitSet class. Basically some
Carlos> operations do not test the array bounds correctly. I checked
Carlos> the current CVS version and I noticed they were not fixed yet.

I looked at the CVS version and it looks like they have been fixed.
I think they were fixed on Dec 15:

2001-12-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

	* java/util/BitSet.java (and): Fix off-by-one bug, don't skip part of
	the bitset.
	(andNot): Likewise.
	(xor): Likewise.

Carlos> It is curious that a previous version of classpath (0.02
Carlos> release) does not have any of these problems.

Some of our classes have been substantially changed over the last year
or so.  Partly this is due to the libgcj merge, but there are other
reasons too.

Carlos> I attach you my fix.

Please send context- or uni-diffs.

Tom


From cdcavanna@yahoo.com Wed Jan 23 19:37:01 2002
Received: from smtp015.mail.yahoo.com ([216.136.173.59])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16TXsz-0006oa-00
	for <classpath@gnu.org>; Wed, 23 Jan 2002 19:37:01 -0500
Received: from cpe0080c6ee6a89.cpe.net.cable.rogers.com (HELO cr977935a) (24.114.195.194)
  by smtp.mail.vip.sc5.yahoo.com with SMTP; 24 Jan 2002 00:36:59 -0000
From: "Carlos Cavanna" <cdcavanna@yahoo.com>
To: <tromey@redhat.com>
Cc: "Classpath - GNU" <classpath@gnu.org>
Subject: RE: Bugs in BitSet & Compilation of latest version
Date: Wed, 23 Jan 2002 19:37:19 -0500
Message-ID: <GBEELMOFAJBBEFHHJEJFOEBMDAAA.cdcavanna@yahoo.com>
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)
In-Reply-To: <87wuy8vlbp.fsf@creche.redhat.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 looked at the CVS version and it looks like they have been fixed.
> I think they were fixed on Dec 15:
>
> 2001-12-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
>
> 	* java/util/BitSet.java (and): Fix off-by-one bug, don't
> skip part of
> 	the bitset.
> 	(andNot): Likewise.
> 	(xor): Likewise.

Sorry. My mistake there. I "diffed" my version with the CVS version with the
idea that it would be enough verification. But I didn't notice it was
retrieving
an older file.

> Some of our classes have been substantially changed over the last year
> or so.  Partly this is due to the libgcj merge, but there are other
> reasons too.
>
> Carlos> I attach you my fix.
>
> Please send context- or uni-diffs.

Noted.

> Tom

Thanks for your help.

I compiled the latest version with jikes 1.13 and I got the following error
message:

Found 1 semantic error compiling "../java/awt/GridBagConstraints.java":

    96.     GridBagConstraints g = (GridBagConstraints) super.clone ();
                                                        <------------>
*** Error: The method "java.lang.Object clone();" can throw the checked
exception "java/lang/CloneNotSupportedException"

This happens in the clone() method, so I had to add "throws
CloneNotSupportedException".
I think that is the correct action. Well, this may help to whoever is
developing this.

I also tried compiling with gcj 3.0.2, but in my implementation of
Class.java I have a private
field called "name", and the compiler complains. This is the error:

./../vm/current/java/lang/Class.java:86: Duplicate variable declaration:
`String name' was `<unknown> name' (<built-in>:0).
       private String name;
                      ^
1 error
make[1]: *** [compile-classes] Error 1
make[1]: Leaving directory
`/scr1/cavanna/Thesis/classpath/classpath.cvs/classpath/lib'
make: *** [all-recursive] Error 1

I change my field name (that's no big deal), but maybe someone can tell me
why I get this
error.

Thanks,
CC

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


From tromey@creche.cygnus.com Wed Jan 23 19:45:07 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16TY0o-0007Q8-00
	for <classpath@gnu.org>; Wed, 23 Jan 2002 19:45:06 -0500
Received: from creche.cygnus.com (ta0205.peakpeak.com [204.144.244.205])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id RAA24372;
	Wed, 23 Jan 2002 17:45:03 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id SAA03553;
	Wed, 23 Jan 2002 18:02:32 -0700
To: "Carlos Cavanna" <cdcavanna@yahoo.com>
Cc: "Classpath - GNU" <classpath@gnu.org>
Subject: Re: Bugs in BitSet & Compilation of latest version
References: <GBEELMOFAJBBEFHHJEJFOEBMDAAA.cdcavanna@yahoo.com>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  ..  I see TOILET SEATS...
Date: 23 Jan 2002 18:02:29 -0700
In-Reply-To: "Carlos Cavanna"'s message of "Wed, 23 Jan 2002 19:37:19 -0500"
Message-ID: <87adv4r26y.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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Carlos" == Carlos Cavanna <cdcavanna@yahoo.com> writes:

Carlos>     96.     GridBagConstraints g = (GridBagConstraints) super.clone ();
Carlos>                                                         <------------>
Carlos> *** Error: The method "java.lang.Object clone();" can throw the checked
Carlos> exception "java/lang/CloneNotSupportedException"

Thanks for the report.  I think the correct fix is to wrap the clone
in a try-catch.  I always use jikes to build Classpath before I check
in my merges, so I'm a bit mystified as to why this got through.

Anyway, I'll check in the fix shortly.

Carlos> I also tried compiling with gcj 3.0.2, but in my
Carlos> implementation of Class.java I have a private field called
Carlos> "name", and the compiler complains.

gcj currently requires that you use the Object and Class which come
with it.  It doesn't tolerate other versions.  This is a gcj bug (at
least when generating .class files), but it hasn't yet reached the top
of anybody's list.

Tom


From nferrier@tapsellferrier.co.uk Mon Jan 28 18:13:23 2002
Received: from tf1.tapsellferrier.co.uk ([195.7.242.226])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16VKxn-0008Lq-00
	for <classpath@gnu.org>; Mon, 28 Jan 2002 18:13:23 -0500
Received: from nferrier by tf1.tapsellferrier.co.uk with local (Exim 3.12 #1 (Debian))
	id 16VLEU-0002ru-00; Mon, 28 Jan 2002 23:30:38 +0000
To: java@gcc.gnu.org, classpath@gnu.org
Subject: gcj vs classpath merge status
From: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Date: 28 Jan 2002 23:30:38 +0000
Message-ID: <874rl6yrxd.fsf@tf1.tapsellferrier.co.uk>
Lines: 27
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 page showing the merge status of libgcj and classpath shows that
the classes:

   java.net.SocketInputStream
   java.net.SocketOutputStream

have not been merged into libgcj yet.

The main reason for this is that they don't exist in the Sun API.

I thought about introducing them into the libgcj API when I did the
socket timeout stuff because it required an input and output streams.

In the end I opted for inner classes because separate streams seemed
to confuse the API.

Would the Classpath people like me to add timeout code to their Socket
implementation?

If so, would it also be okay to remove the stream classes and make
them inner classes (of PlainSocketImpl). That should clear them off
the merge list.



Nic Ferrier


From tromey@creche.cygnus.com Mon Jan 28 19:06:25 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16VLn6-0004ON-00
	for <classpath@gnu.org>; Mon, 28 Jan 2002 19:06:24 -0500
Received: from creche.cygnus.com (ta0196.peakpeak.com [204.144.244.196])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id RAA14138;
	Mon, 28 Jan 2002 17:06:18 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id RAA22581;
	Mon, 28 Jan 2002 17:25:08 -0700
To: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Cc: java@gcc.gnu.org, classpath@gnu.org
Subject: Re: gcj vs classpath merge status
References: <874rl6yrxd.fsf@tf1.tapsellferrier.co.uk>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  I don't think you fellows would do so much RAPING and PILLAGING if you
 played more PINBALL and watched CABLE TELEVISION!!
Date: 28 Jan 2002 17:25:07 -0700
In-Reply-To: Nic Ferrier's message of "28 Jan 2002 23:30:38 +0000"
Message-ID: <87665mknq4.fsf@creche.redhat.com>
Lines: 36
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Nic" == Nic Ferrier <nferrier@tapsellferrier.co.uk> writes:

Nic>    java.net.SocketInputStream
Nic>    java.net.SocketOutputStream

Nic> In the end I opted for inner classes because separate streams
Nic> seemed to confuse the API.

Seems sound.

Note that the classpath/libgcj comparison script is a bit stupid.  It
doesn't look to see whether the classes are public, but just blindly
proceeds based on the package name.

Nic> Would the Classpath people like me to add timeout code to their
Nic> Socket implementation?

Nic> If so, would it also be okay to remove the stream classes and
Nic> make them inner classes (of PlainSocketImpl). That should clear
Nic> them off the merge list.

The long-term goal is to have all the java.net code shared between
libgcj and Classpath.  I haven't looked to see whether java.net is
difficult to merge.

My experience in merging, generally, is that classes with native
methods tend to be a bit problematic, as are classes that rely on
behind-the-scenes infrastructure (that's why the java.io classes that
need encoding transformations aren't merged).  For some packages it is
pretty easy to merge classes piecemeal.

If you're interested in merging any of java.net, that would be great.
Our approach to merging has been to try to make sure that the merged
class retains the best attributes of the two original classes.

Tom


From nferrier@tapsellferrier.co.uk Tue Jan 29 05:26:45 2002
Received: from tf1.tapsellferrier.co.uk ([195.7.242.226])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16VVTR-0002xx-00
	for <classpath@gnu.org>; Tue, 29 Jan 2002 05:26:45 -0500
Received: from nferrier by tf1.tapsellferrier.co.uk with local (Exim 3.12 #1 (Debian))
	id 16VVk6-00035e-00; Tue, 29 Jan 2002 10:43:58 +0000
To: tromey@redhat.com
Cc: java@gcc.gnu.org,  classpath@gnu.org
Subject: Re: gcj vs classpath merge status
References: <874rl6yrxd.fsf@tf1.tapsellferrier.co.uk>
	<87665mknq4.fsf@creche.redhat.com>
From: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Date: 29 Jan 2002 10:43:57 +0000
In-Reply-To: <87665mknq4.fsf@creche.redhat.com>
Message-ID: <877kq1xwr6.fsf@tf1.tapsellferrier.co.uk>
Lines: 26
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 <tromey@redhat.com> writes:

> The long-term goal is to have all the java.net code shared between 
> libgcj and Classpath.  I haven't looked to see whether java.net is 
> difficult to merge. 

Yes it is. I thought about doing it at the time I wrote the original
GCJ socket timeout patch. I didn't do it because it was not clear how
to merge them.... issues of CNI vs JNI etc...

I think we can probably go some way to doing it, if the Classpath
people agree, I'll have a bash at it.


> If you're interested in merging any of java.net, that would be great. 
> Our approach to merging has been to try to make sure that the merged 
> class retains the best attributes of the two original classes. 

Yep.

What I'm going to do (one of these days) is merge your protocol
handlers. Both are good in their own ways but don't quite get their on
their own.


Nic


From arenn@enteract.com Tue Jan 29 08:39:32 2002
Received: from smtp-1.enteract.com ([207.229.143.33])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16VYU0-0001uu-00
	for <classpath@gnu.org>; Tue, 29 Jan 2002 08:39:32 -0500
Received: from shell-3.enteract.com (shell-3.enteract.com [207.229.143.42])
	by smtp-1.enteract.com (Postfix) with ESMTP
	id 1AD6088AA; Tue, 29 Jan 2002 07:39:31 -0600 (CST)
Received: (from arenn@localhost)
	by shell-3.enteract.com (8.11.6/8.11.2) id g0TDdU760239;
	Tue, 29 Jan 2002 07:39:30 -0600 (CST)
	(envelope-from arenn)
Date: Tue, 29 Jan 2002 07:39:30 -0600
From: "Aaron M. Renn" <arenn@urbanophile.com>
To: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Cc: java@gcc.gnu.org, classpath@gnu.org
Subject: Re: gcj vs classpath merge status
Message-ID: <20020129073929.A60217@urbanophile.com>
Mail-Followup-To: "Aaron M. Renn" <arenn@urbanophile.com>,
	Nic Ferrier <nferrier@tapsellferrier.co.uk>, java@gcc.gnu.org,
	classpath@gnu.org
References: <874rl6yrxd.fsf@tf1.tapsellferrier.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5.1i
In-Reply-To: <874rl6yrxd.fsf@tf1.tapsellferrier.co.uk>; from nferrier@tapsellferrier.co.uk on Mon, Jan 28, 2002 at 11:30:38PM +0000
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Nic Ferrier (nferrier@tapsellferrier.co.uk) wrote:
> The page showing the merge status of libgcj and classpath shows that
> the classes:
> 
>    java.net.SocketInputStream
>    java.net.SocketOutputStream
> 
> have not been merged into libgcj yet.
>
> The main reason for this is that they don't exist in the Sun API.

These are not public classes.  They are used internally by the Classpath
implementation.

> Would the Classpath people like me to add timeout code to their Socket
> implementation?

Sure

> If so, would it also be okay to remove the stream classes and make
> them inner classes (of PlainSocketImpl). That should clear them off
> the merge list.

As they aren't public classes, I don't think this is necessary.  But
if you really want to, I would not object. (I personally don't care much
for inner classes all that much).

I believe all of the easy parts of java.net are already merged.  What
remains is the native stuff, including the corresponding Java classes
and URL's.  I think.

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

"We have a choice, either to change the way we live, which is unacceptable, 
or to change the way that they live, and we chose the latter."
  - Sec. of Defense Donald Rumsfeld, News briefing, 2001-09-18



From nferrier@tapsellferrier.co.uk Tue Jan 29 09:30:56 2002
Received: from tf1.tapsellferrier.co.uk ([195.7.242.226])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16VZHj-0006wg-00
	for <classpath@gnu.org>; Tue, 29 Jan 2002 09:30:55 -0500
Received: from nferrier by tf1.tapsellferrier.co.uk with local (Exim 3.12 #1 (Debian))
	id 16VZYN-0003Dj-00; Tue, 29 Jan 2002 14:48:07 +0000
To: "Aaron M. Renn" <arenn@urbanophile.com>
Cc: java@gcc.gnu.org,  classpath@gnu.org
Subject: Re: gcj vs classpath merge status
References: <874rl6yrxd.fsf@tf1.tapsellferrier.co.uk>
	<20020129073929.A60217@urbanophile.com>
From: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Date: 29 Jan 2002 14:48:07 +0000
In-Reply-To: <20020129073929.A60217@urbanophile.com>
Message-ID: <87r8o9gqmw.fsf@tf1.tapsellferrier.co.uk>
Lines: 28
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 M. Renn" <arenn@urbanophile.com> writes:

> I believe all of the easy parts of java.net are already merged.  What 
> remains is the native stuff, including the corresponding Java classes 
> and URL's.  I think. 

The native code won't be merged though will it?

As far as I can tell the Classpath/libgcj project is creating 3
things:

- a standard java source code base implementing the java libs
- native jni libs to implement the native parts of the libs
- native cni libs to implement the native parts of the libs for gcj

As such we should try to reduce the source code differences
between the CLasspath java and the GCJ java.


I will have a crack at doing that for the plain socket stuff.


Note that I have some socket channel stuff (for 1.4 compatability)
which I've been working on for ages... I'm only doing CNI at the
moment but it should be fairly easy to move to JNI.


Nic


From nferrier@tapsellferrier.co.uk Tue Jan 29 09:44:03 2002
Received: from tf1.tapsellferrier.co.uk ([195.7.242.226])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16VZUR-0000Ie-00
	for <classpath@gnu.org>; Tue, 29 Jan 2002 09:44:03 -0500
Received: from nferrier by tf1.tapsellferrier.co.uk with local (Exim 3.12 #1 (Debian))
	id 16VZlA-0003EE-00; Tue, 29 Jan 2002 15:01:20 +0000
To: "Aaron M. Renn" <arenn@urbanophile.com>
Cc: java@gcc.gnu.org,  classpath@gnu.org
Subject: Re: gcj vs classpath merge status
References: <874rl6yrxd.fsf@tf1.tapsellferrier.co.uk>
	<20020129073929.A60217@urbanophile.com>
From: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Date: 29 Jan 2002 15:01:20 +0000
In-Reply-To: <20020129073929.A60217@urbanophile.com>
Message-ID: <87it9lgq0v.fsf@tf1.tapsellferrier.co.uk>
Lines: 29
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 M. Renn" <arenn@urbanophile.com> writes:

> > If so, would it also be okay to remove the stream classes and make 
> > them inner classes (of PlainSocketImpl). That should clear them off 
> > the merge list. 
>  
> As they aren't public classes, I don't think this is necessary.  But 
> if you really want to, I would not object. (I personally don't care much 
> for inner classes all that much). 
>  
> I believe all of the easy parts of java.net are already merged.  What 
> remains is the native stuff, including the corresponding Java classes 
> and URL's.  I think. 

One other question on this.

Aaron wrote the classes with the GNU style for indentation applied to methods. The
current interpretation of the style guide (at least on the gcj
project) is to apply the indentation to the whole class.

This means that, strictly, some of the code in java.net should be
re-formatted.

I'm quite happy to submit an indentation patch before I do anything
else... should I?



Nic Ferrier


From cbj@gnu.org Tue Jan 29 14:08:03 2002
Received: from fe8.southeast.rr.com ([24.93.67.55] helo=mail8.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16Vdbv-0000xv-00
	for <classpath@gnu.org>; Tue, 29 Jan 2002 14:08:03 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by mail8.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Tue, 29 Jan 2002 14:07:15 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.6) id g0TJ7Fx02820;
	Tue, 29 Jan 2002 14:07:15 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Andrew Haley <aph@cambridge.redhat.com>
Cc: Nic Ferrier <nferrier@tapsellferrier.co.uk>, java@gcc.gnu.org,
   classpath@gnu.org
Subject: Re: gcj vs classpath merge status
References: <874rl6yrxd.fsf@tf1.tapsellferrier.co.uk>
	<20020129073929.A60217@urbanophile.com>
	<87r8o9gqmw.fsf@tf1.tapsellferrier.co.uk>
	<15446.45787.471420.140749@cuddles.cambridge.redhat.com>
From: Brian Jones <cbj@gnu.org>
Date: 29 Jan 2002 14:07:15 -0500
In-Reply-To: <15446.45787.471420.140749@cuddles.cambridge.redhat.com>
Message-ID: <m3zo2xht7g.fsf@lyta.haphazard.org>
Lines: 29
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Andrew Haley <aph@cambridge.redhat.com> writes:

> Nic Ferrier writes:
>  > As far as I can tell the Classpath/libgcj project is creating 3
>  > things:
>  > 
>  > - a standard java source code base implementing the java libs
>  > - native jni libs to implement the native parts of the libs
>  > - native cni libs to implement the native parts of the libs for gcj
>  > 
>  > As such we should try to reduce the source code differences
>  > between the CLasspath java and the GCJ java.
> 
> Sure, but CNI is a much better interface for performance -- and also
> legibility.

Converting from CNI to JNI manually is usually trivial, at least when
dealing primarily with C system functions in either case.  Typically
the JNI is more verbose and ugly due to all of the exception checking
required after almost every JNI call into the VM.  Don't be afraid of
changing something because a native code change is needed on the JNI
side, if you would let us (me) know then there is the chance I can do
this for you.  It's about time we tackled the nasty, dirty task of
merging these native parts and I would hope even the encoding/locale
handling.

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


From cbj@gnu.org Tue Jan 29 14:10:44 2002
Received: from fe7.southeast.rr.com ([24.93.67.54] helo=mail7.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16VdeW-0001B3-00
	for <classpath@gnu.org>; Tue, 29 Jan 2002 14:10:44 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by mail7.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Tue, 29 Jan 2002 14:10:31 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.6) id g0TJAVK02844;
	Tue, 29 Jan 2002 14:10:31 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Cc: "Aaron M. Renn" <arenn@urbanophile.com>, java@gcc.gnu.org,
   classpath@gnu.org
Subject: Re: gcj vs classpath merge status
References: <874rl6yrxd.fsf@tf1.tapsellferrier.co.uk>
	<20020129073929.A60217@urbanophile.com>
	<87it9lgq0v.fsf@tf1.tapsellferrier.co.uk>
From: Brian Jones <cbj@gnu.org>
Date: 29 Jan 2002 14:10:31 -0500
In-Reply-To: <87it9lgq0v.fsf@tf1.tapsellferrier.co.uk>
Message-ID: <m3vgdlht20.fsf@lyta.haphazard.org>
Lines: 37
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Nic Ferrier <nferrier@tapsellferrier.co.uk> writes:

> "Aaron M. Renn" <arenn@urbanophile.com> writes:
> 
> > > If so, would it also be okay to remove the stream classes and make 
> > > them inner classes (of PlainSocketImpl). That should clear them off 
> > > the merge list. 
> >  
> > As they aren't public classes, I don't think this is necessary.  But 
> > if you really want to, I would not object. (I personally don't care much 
> > for inner classes all that much). 
> >  
> > I believe all of the easy parts of java.net are already merged.  What 
> > remains is the native stuff, including the corresponding Java classes 
> > and URL's.  I think. 
> 
> One other question on this.
> 
> Aaron wrote the classes with the GNU style for indentation applied to methods. The
> current interpretation of the style guide (at least on the gcj
> project) is to apply the indentation to the whole class.
> 
> This means that, strictly, some of the code in java.net should be
> re-formatted.
> 
> I'm quite happy to submit an indentation patch before I do anything
> else... should I?

You should keep the reformatting separate from a code change if at all
possible just so it is more clear in looking at CVS with diff/logs.

Is there a mode in standard GNU indent which meets the right
formatting criteria for Java code and GNU standards?

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


From etienne.gagnon@uqam.ca Tue Jan 29 14:48:56 2002
Received: from anis.telecom.uqam.ca ([132.208.250.6] helo=uqam.ca)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16VeFT-0005D2-00; Tue, 29 Jan 2002 14:48:55 -0500
Received: from anis.telecom.uqam.ca (anis.telecom.uqam.ca [132.208.250.6])
	by sortant.uqam.ca (8.11.6/8.11.0) with SMTP id g0TJdJq28359;
	Tue, 29 Jan 2002 14:39:20 -0500 (EST)
Received: from antivirus.uqam.ca ([127.0.0.1])
 by anis.telecom.uqam.ca (NAVGW 2.5.1.12) with SMTP id M2002012914391914471
 ; Tue, 29 Jan 2002 14:39:19 -0500
Received: from er.uqam.ca (nobel.si.uqam.ca [132.208.219.1])
	by intrant.uqam.ca (8.11.6/8.11.0) with ESMTP id g0TJcuc28269;
	Tue, 29 Jan 2002 14:38:56 -0500 (EST)
Received: from localhost (perseval.info.uqam.ca [132.208.137.96])
	by er.uqam.ca (8.10.0/8.10.0) with ESMTP id g0TJcsY01845;
	Tue, 29 Jan 2002 14:38:56 -0500 (EST)
Received: from localhost ([127.0.0.1] helo=uqam.ca)
	by localhost with esmtp (Exim 3.34 #1 (Debian))
	id 16Ve5i-00062f-00; Tue, 29 Jan 2002 14:38:50 -0500
Message-ID: <3C56FA4A.9050203@uqam.ca>
Date: Tue, 29 Jan 2002 14:38:50 -0500
From: "Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20020121
X-Accept-Language: en
MIME-Version: 1.0
To: Brian Jones <cbj@gnu.org>
CC: java@gcc.gnu.org, classpath@gnu.org
Subject: Re: gcj vs classpath merge status
References: <874rl6yrxd.fsf@tf1.tapsellferrier.co.uk>	<20020129073929.A60217@urbanophile.com>	<87it9lgq0v.fsf@tf1.tapsellferrier.co.uk> <m3vgdlht20.fsf@lyta.haphazard.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Brian Jones wrote:

> You should keep the reformatting separate from a code change if at all
> possible just so it is more clear in looking at CVS with diff/logs.
> 
> Is there a mode in standard GNU indent which meets the right
> formatting criteria for Java code and GNU standards?


GNU indent doesn't handle Java well, unfortunately (at least, the last time I 
checked).  But I have discovered "astyle" 
http://www.bigfoot.com/~davidsont/astyle which works relatively well.  It has 
supports the GNU style.

Personally, I use the following options, which give preety good results 
(relatively conform to the GNU style):

astyle -jbs2

It has a small glitch; it sometimes adds spurious blank lines, so applying 
astyle to a file repeatedly adds a block of empty lines.  These lines are easily 
removed by a small program which removes blocks of empty lines [I have written one].

Astyle does't go as far as GNU indent for controling the indentation of code 
"within" a line of code (e.g. space before parentheses, etc.).  But it is much 
better than nothing!

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



From nferrier@tapsellferrier.co.uk Tue Jan 29 15:10:31 2002
Received: from tf1.tapsellferrier.co.uk ([195.7.242.226])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16VeaN-0007S5-00
	for <classpath@gnu.org>; Tue, 29 Jan 2002 15:10:31 -0500
Received: from nferrier by tf1.tapsellferrier.co.uk with local (Exim 3.12 #1 (Debian))
	id 16VerC-0003rJ-00; Tue, 29 Jan 2002 20:27:54 +0000
To: classpath@gnu.org
Subject: PlainSocketImpl formatting patch uploaded on savannah
From: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Date: 29 Jan 2002 20:27:54 +0000
Message-ID: <87sn8ogawl.fsf@tf1.tapsellferrier.co.uk>
Lines: 8
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 presume you guys are using savannah to manage your patches because
there are about 15 in there already.

I have put the patch for indentation into the savannah patch manager.



Nic


From bryce@waitaki.otago.ac.nz Tue Jan 29 15:17:33 2002
Received: from waitaki.otago.ac.nz ([139.80.75.140])
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16VehA-0008Bx-00; Tue, 29 Jan 2002 15:17:33 -0500
Received: from waitaki.otago.ac.nz (IDENT:bryce@reason.otago.ac.nz [139.80.119.17])
	by waitaki.otago.ac.nz (8.11.6/8.11.2) with ESMTP id g0TKHUO10684;
	Wed, 30 Jan 2002 09:17:30 +1300
Message-ID: <3C570373.6070302@waitaki.otago.ac.nz>
Date: Wed, 30 Jan 2002 09:17:55 +1300
From: Bryce McKinlay <bryce@waitaki.otago.ac.nz>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011221
X-Accept-Language: en-us
MIME-Version: 1.0
CC: nferrier@gnu.org, classpath@gnu.org
Subject: Re: [Patch #103] formatting (indentation) changes for java/net/PlainSocketImp
References: <E16VeYr-0003EZ-00@subversions.gnu.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 also like to stamp out the remaining comments like this:

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

whenever reformatting. Can you do that as well?

Do you have classpath CVS access or do you want me to commit it?

regards

Bryce.


nobody@gnu.org wrote:

>Patch #103 has been updated. 
>
>Project: 
>Category: None
>Status: Open
>Summary: formatting (indentation) changes for java/net/PlainSocketImp
>




From cbj@gnu.org Tue Jan 29 18:56:36 2002
Received: from [24.93.67.55] (helo=mail8.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16Vi7A-0005Gn-00; Tue, 29 Jan 2002 18:56:36 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by mail8.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Tue, 29 Jan 2002 18:56:14 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.6) id g0TNuEP04179;
	Tue, 29 Jan 2002 18:56:14 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Bryce McKinlay <bryce@waitaki.otago.ac.nz>
Cc: nferrier@gnu.org, classpath@gnu.org
Subject: Re: [Patch #103] formatting (indentation) changes for java/net/PlainSocketImp
References: <E16VeYr-0003EZ-00@subversions.gnu.org>
	<3C570373.6070302@waitaki.otago.ac.nz>
From: Brian Jones <cbj@gnu.org>
Date: 29 Jan 2002 18:56:14 -0500
In-Reply-To: <3C570373.6070302@waitaki.otago.ac.nz>
Message-ID: <m3lmegpv8h.fsf@lyta.haphazard.org>
Lines: 16
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:

> I also like to stamp out the remaining comments like this:
> 
>  /*************************************************************************/
> 
> whenever reformatting. Can you do that as well?
> 
> Do you have classpath CVS access or do you want me to commit it?

Nic has assignment paperwork already done but he did not want to be
added to CVS access at the time I asked a few months ago.

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


From tromey@creche.cygnus.com Tue Jan 29 22:11:24 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16Vl9f-0002ke-00
	for <classpath@gnu.org>; Tue, 29 Jan 2002 22:11:23 -0500
Received: from creche.cygnus.com (ta0204.peakpeak.com [204.144.244.204])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id UAA17768;
	Tue, 29 Jan 2002 20:11:18 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id UAA27149;
	Tue, 29 Jan 2002 20:30:26 -0700
To: Classpath Project <classpath@gnu.org>
Subject: State of AWT
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  I always have fun because I'm out of my mind!!!
Date: 29 Jan 2002 20:30:26 -0700
Message-ID: <87ofjca52l.fsf@creche.redhat.com>
Lines: 25
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 a lot of AWT merging and some debugging recently.

It turns out that the Gtk+ peers aren't really complete.  For
instance, it isn't possible to make an AWT checkbox due to a missing
native method.  Dialogs don't work.  There are Gtk errors in the file
dialog and one other place I forget right now.

The AWT code itself is in so-so shape.  Some stuff works, some stuff
doesn't.  GridBagLayout is completely missing (nice project for
someone who wants a moderately complex task), as is most of the
post-1.1 code.  We basically never use the tree lock, which I think is
a big problem since it will require a more-or-less complete code
audit.  (Assuming that the tree lock isn't one of those things that
Sun thought would be a good idea and then later decided not to use --
the docs aren't very clear.)

It's not as bad as it sounds though.  A lot of the hard work is done.
I've been doing my debugging by compiling the Gtk+ peers with gcj into
a shared library, and then running the TestAWT program with those
peers and the JNI native code.  Windows, events, buttons, and the
layout engines work well enough to let me see the bugs in the other
code.  This setup is noticeably faster than using the JDK (1.2.2); I
attribute that to the JDK's use of Motif.

Tom


From cbj@gnu.org Wed Jan 30 06:35:44 2002
Received: from [24.93.67.51] (helo=mail4.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16Vt1k-0003b3-00
	for <classpath@gnu.org>; Wed, 30 Jan 2002 06:35:44 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by mail4.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Wed, 30 Jan 2002 06:35:34 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.6) id g0UBZNR06990;
	Wed, 30 Jan 2002 06:35:23 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: tromey@redhat.com
Cc: Classpath Project <classpath@gnu.org>
Subject: Re: State of AWT
References: <87ofjca52l.fsf@creche.redhat.com>
From: Brian Jones <cbj@gnu.org>
Date: 30 Jan 2002 06:35:23 -0500
In-Reply-To: <87ofjca52l.fsf@creche.redhat.com>
Message-ID: <m31yg8rs04.fsf@lyta.haphazard.org>
Lines: 32
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 <tromey@redhat.com> writes:

> I've done a lot of AWT merging and some debugging recently.
> 
> It turns out that the Gtk+ peers aren't really complete.  For
> instance, it isn't possible to make an AWT checkbox due to a missing
> native method.  Dialogs don't work.  There are Gtk errors in the file
> dialog and one other place I forget right now.
> 
> The AWT code itself is in so-so shape.  Some stuff works, some stuff
> doesn't.  GridBagLayout is completely missing (nice project for
> someone who wants a moderately complex task), as is most of the
> post-1.1 code.  We basically never use the tree lock, which I think is
> a big problem since it will require a more-or-less complete code
> audit.  (Assuming that the tree lock isn't one of those things that
> Sun thought would be a good idea and then later decided not to use --
> the docs aren't very clear.)
> 
> It's not as bad as it sounds though.  A lot of the hard work is done.
> I've been doing my debugging by compiling the Gtk+ peers with gcj into
> a shared library, and then running the TestAWT program with those
> peers and the JNI native code.  Windows, events, buttons, and the
> layout engines work well enough to let me see the bugs in the other
> code.  This setup is noticeably faster than using the JDK (1.2.2); I
> attribute that to the JDK's use of Motif.

I tried over the weekend to run that program with ORP but without
success.  When I get some more time I'll look into it more.

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


From arenn@enteract.com Wed Jan 30 08:39:44 2002
Received: from smtp-1.enteract.com ([207.229.143.33])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16Vuxk-0003VQ-00
	for <classpath@gnu.org>; Wed, 30 Jan 2002 08:39:44 -0500
Received: from shell-3.enteract.com (shell-3.enteract.com [207.229.143.42])
	by smtp-1.enteract.com (Postfix) with ESMTP
	id 83508725F; Wed, 30 Jan 2002 07:39:43 -0600 (CST)
Received: (from arenn@localhost)
	by shell-3.enteract.com (8.11.6/8.11.2) id g0UDdhp73226;
	Wed, 30 Jan 2002 07:39:43 -0600 (CST)
	(envelope-from arenn)
Date: Wed, 30 Jan 2002 07:39:43 -0600
From: "Aaron M. Renn" <arenn@urbanophile.com>
To: Tom Tromey <tromey@redhat.com>
Cc: Classpath Project <classpath@gnu.org>
Subject: Re: State of AWT
Message-ID: <20020130073943.B73191@urbanophile.com>
Mail-Followup-To: "Aaron M. Renn" <arenn@urbanophile.com>,
	Tom Tromey <tromey@redhat.com>, Classpath Project <classpath@gnu.org>
References: <87ofjca52l.fsf@creche.redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5.1i
In-Reply-To: <87ofjca52l.fsf@creche.redhat.com>; from tromey@redhat.com on Tue, Jan 29, 2002 at 08:30:26PM -0700
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 (tromey@redhat.com) wrote:
> The AWT code itself is in so-so shape.  Some stuff works, some stuff
> doesn't.  GridBagLayout is completely missing (nice project for
> someone who wants a moderately complex task), as is most of the
> post-1.1 code.  We basically never use the tree lock, which I think is
> a big problem since it will require a more-or-less complete code
> audit.  (Assuming that the tree lock isn't one of those things that
> Sun thought would be a good idea and then later decided not to use --
> the docs aren't very clear.)

I did not refer to the Sun implementation when I wrote the AWT so I
don't know what they did wrt tree lock but it is probably something I
just missed.  You'll find that GridBagLayout is not the only thing
missing.  There are a handful of others such as 1.0 events as well.
As you surmise, there is little post-1.1 stuff in there, though I
believe I tried to implement some 1.2 package stuff if it did not look
too hard.  Brian Jones also did a start on a GTK+ look and feel for
Swing and there might be some other Swing items as well.

I am very glad to hear that the code basically runs.  Hopefully we
can iterate this up to a working AWT in reasonably decent period of
time.

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

"We have a choice, either to change the way we live, which is unacceptable, 
or to change the way that they live, and we chose the latter."
  - Sec. of Defense Donald Rumsfeld, News briefing, 2001-09-18



From rao@gnu.org Wed Jan 30 11:26:21 2002
Received: from rao by fencepost.gnu.org with local (Exim 3.33 #1 (Debian))
	id 16VxYy-0005hA-00; Wed, 30 Jan 2002 11:26:20 -0500
Date: Wed, 30 Jan 2002 11:26:20 -0500
From: Paul Fisher <rao@gnu.org>
To: Tom Tromey <tromey@redhat.com>
Cc: Classpath Project <classpath@gnu.org>
Subject: Re: State of AWT
Message-ID: <20020130162620.GA19924@gnu.org>
References: <87ofjca52l.fsf@creche.redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87ofjca52l.fsf@creche.redhat.com>
User-Agent: Mutt/1.3.25i
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 Tue, Jan 29, 2002 at 08:30:26PM -0700, Tom Tromey wrote:
> 
> It turns out that the Gtk+ peers aren't really complete.

They are mostly complete.  I never said that they were complete.

> For instance, it isn't possible to make an AWT checkbox due to a
> missing native method.

This is odd.  I seem to recall them working at one point.  It has been
a very long time since I've touched the peer GTK code tho.

> Dialogs don't work.  There are Gtk errors in the file dialog and one
> other place I forget right now.

That's correct.  I don't recall the exact reason they don't work, but
I believe part of the reason for the file dialog not working was that
the API for GTK's file dialog (at the time) didn't support what was
necessary for implementing Java's file dialog.

Various Red Hat people have been bugging me to port the peers to GTK
2.  That's probably something that should be done.


From tromey@creche.cygnus.com Wed Jan 30 12:38:48 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16Vyh5-0004FM-00; Wed, 30 Jan 2002 12:38:47 -0500
Received: from creche.cygnus.com (ta0206.peakpeak.com [204.144.244.206])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id KAA25944;
	Wed, 30 Jan 2002 10:38:41 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id KAA16519;
	Wed, 30 Jan 2002 10:57:59 -0700
To: Paul Fisher <rao@gnu.org>
Cc: Classpath Project <classpath@gnu.org>
Subject: Re: State of AWT
References: <87ofjca52l.fsf@creche.redhat.com> <20020130162620.GA19924@gnu.org>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  Life is selling REVOLUTIONARY HAIR PRODUCTS!
Date: 30 Jan 2002 10:57:58 -0700
In-Reply-To: Paul Fisher's message of "Wed, 30 Jan 2002 11:26:20 -0500"
Message-ID: <87k7tz90wp.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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Paul" == Paul Fisher <rao@gnu.org> writes:

Tom> For instance, it isn't possible to make an AWT checkbox due to a
Tom> missing native method.

Paul> This is odd.  I seem to recall them working at one point.

There are two different Checkbox peer implementations.  One has the
native methods written, but GtkToolkit uses the incomplete one.  I
looked at this a little the other night but ended up deciding I didn't
have time to get into it right now.

Tom


From Jeffrey.Morgan@bristolwest.com Wed Jan 30 14:50:39 2002
Received: from mail.bristolwest.com ([12.8.14.180] helo=xchange.bristolwest.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16W0kh-0005Pz-00
	for <classpath@gnu.org>; Wed, 30 Jan 2002 14:50:39 -0500
Received: from ohindex01.bwis.com (ohindex01.bristolwest.com [10.83.25.14]) by xchange.bristolwest.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id CLWZYDHS; Wed, 30 Jan 2002 14:50:38 -0500
Received: by ohindex01.bwis.com with Internet Mail Service (5.5.2653.19)
	id <DM5VB9R4>; Wed, 30 Jan 2002 14:50:18 -0500
Message-ID: <5D753A0448365C448CE3D9097D767E8C01F11A21@ohindex01.bwis.com>
From: Jeffrey Morgan <Jeffrey.Morgan@BristolWest.com>
To: "'classpath@gnu.org'" <classpath@gnu.org>
Subject: anoncvs access
Date: Wed, 30 Jan 2002 14:50:18 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C1A9C7.57E1DAD0"
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1A9C7.57E1DAD0
Content-Type: text/plain;
	charset="iso-8859-1"

I just tried to access the anonymous cvs for the
classpath project for the first time.  I received
a "connection refused" error when attempting to
login.  Any advice?

Thanks
-Jeff

------_=_NextPart_001_01C1A9C7.57E1DAD0
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>anoncvs access</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>I just tried to access the anonymous cvs for the</FONT>
<BR><FONT SIZE=2>classpath project for the first time.&nbsp; I received</FONT>
<BR><FONT SIZE=2>a &quot;connection refused&quot; error when attempting to</FONT>
<BR><FONT SIZE=2>login.&nbsp; Any advice?</FONT>
</P>

<P><FONT SIZE=2>Thanks</FONT>
<BR><FONT SIZE=2>-Jeff</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1A9C7.57E1DAD0--


From Jeffrey.Morgan@bristolwest.com Wed Jan 30 15:14:21 2002
Received: from mail.bristolwest.com ([12.8.14.180] helo=xchange.bristolwest.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16W17d-0006Sq-00; Wed, 30 Jan 2002 15:14:21 -0500
Received: from ohindex01.bwis.com (ohindex01.bristolwest.com [10.83.25.14]) by xchange.bristolwest.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id CLWZYDNM; Wed, 30 Jan 2002 15:14:20 -0500
Received: by ohindex01.bwis.com with Internet Mail Service (5.5.2653.19)
	id <DM5VB9TJ>; Wed, 30 Jan 2002 15:14:00 -0500
Message-ID: <5D753A0448365C448CE3D9097D767E8C01F11A22@ohindex01.bwis.com>
From: Jeffrey Morgan <Jeffrey.Morgan@BristolWest.com>
To: 'Paul Fisher' <rao@gnu.org>, Tom Tromey <tromey@redhat.com>
Cc: Classpath Project <classpath@gnu.org>
Subject: RE: State of AWT
Date: Wed, 30 Jan 2002 15:13:59 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C1A9CA.A6FEAA00"
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1A9CA.A6FEAA00
Content-Type: text/plain;
	charset="iso-8859-1"

I would be interested in helping on a limited basis with
the GTK2 peers.

> Various Red Hat people have been bugging me to port the peers to GTK
> 2.  That's probably something that should be done.
> 

------_=_NextPart_001_01C1A9CA.A6FEAA00
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: State of AWT</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>I would be interested in helping on a limited basis with</FONT>
<BR><FONT SIZE=2>the GTK2 peers.</FONT>
</P>

<P><FONT SIZE=2>&gt; Various Red Hat people have been bugging me to port the peers to GTK</FONT>
<BR><FONT SIZE=2>&gt; 2.&nbsp; That's probably something that should be done.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1A9CA.A6FEAA00--


From sballard@netreach.com Wed Jan 30 15:24:41 2002
Received: from rawaki.netreach.net ([207.29.195.114])
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16W1Hc-0006pC-00; Wed, 30 Jan 2002 15:24:40 -0500
Received: from netreach.com (sballard@rainbow.netreach.net [209.152.221.64]) by rawaki.netreach.net (n1/$Revision: 1.5 $) with ESMTP id PAA20203; Wed, 30 Jan 2002 15:24:48 -0500 (EST)
Message-ID: <3C585686.E472483@netreach.com>
Date: Wed, 30 Jan 2002 15:24:39 -0500
From: Stuart Ballard <sballard@NetReach.Net>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.17 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Paul Fisher <rao@gnu.org>
CC: Tom Tromey <tromey@redhat.com>, Classpath Project <classpath@gnu.org>
Subject: Re: State of AWT
References: <87ofjca52l.fsf@creche.redhat.com> <20020130162620.GA19924@gnu.org>
Content-Type: text/plain; charset=us-ascii
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Paul Fisher wrote:
> 
> Various Red Hat people have been bugging me to port the peers to GTK
> 2.  That's probably something that should be done.

Does GTK2 have a planned release date? Will it be released with GNOME2
or before? I'm curious because this is the second time I've seen
"porting to gtk2" come up outside of GNOME, and the decision in the
other case seemed to be that it was too soon to be porting to GTK2, and
indeed that it was worth developing new stuff with GTK1.

Stuart.

-- 
Stuart Ballard, Programmer
FASTNET - Internet Solutions
215.283.2300, ext. 126
www.fast.net


From Jeffrey.Morgan@bristolwest.com Wed Jan 30 15:49:59 2002
Received: from mail.bristolwest.com ([12.8.14.180] helo=xchange.bristolwest.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16W1g7-00015w-00
	for <classpath@gnu.org>; Wed, 30 Jan 2002 15:49:59 -0500
Received: from ohindex01.bwis.com (ohindex01.bristolwest.com [10.83.25.14]) by xchange.bristolwest.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id CLWZYDX2; Wed, 30 Jan 2002 15:49:58 -0500
Received: by ohindex01.bwis.com with Internet Mail Service (5.5.2653.19)
	id <DM5VB9VY>; Wed, 30 Jan 2002 15:49:38 -0500
Message-ID: <5D753A0448365C448CE3D9097D767E8C01F11A27@ohindex01.bwis.com>
From: Jeffrey Morgan <Jeffrey.Morgan@BristolWest.com>
To: "'classpath@gnu.org'" <classpath@gnu.org>
Subject: RE: anoncvs access
Date: Wed, 30 Jan 2002 15:49:37 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C1A9CF.A13F9E30"
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1A9CF.A13F9E30
Content-Type: text/plain;
	charset="iso-8859-1"

Please disregard this last email.  I had a firewall problem.
 
-Jeff

I just tried to access the anonymous cvs for the 
classpath project for the first time.  I received 
a "connection refused" error when attempting to 
login.  Any advice? 

Thanks 
-Jeff 


------_=_NextPart_001_01C1A9CF.A13F9E30
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>anoncvs access</TITLE>

<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=51504320-30012002><FONT face=Arial color=#0000ff size=2>Please 
disregard this last email.&nbsp; I had a firewall problem.</FONT></SPAN></DIV>
<DIV><SPAN class=51504320-30012002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=51504320-30012002><FONT face=Arial color=#0000ff 
size=2>-Jeff</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <P><FONT size=2>I just tried to access the anonymous cvs for the</FONT> 
  <BR><FONT size=2>classpath project for the first time.&nbsp; I received</FONT> 
  <BR><FONT size=2>a "connection refused" error when attempting to</FONT> 
  <BR><FONT size=2>login.&nbsp; Any advice?</FONT> </P>
  <P><FONT size=2>Thanks</FONT> <BR><FONT size=2>-Jeff</FONT> 
</P></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C1A9CF.A13F9E30--


From per@bothner.com Wed Jan 30 16:09:18 2002
Received: from adsl-216-102-199-253.dsl.snfc21.pacbell.net ([216.102.199.253] helo=bothner.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16W1yo-0001oC-00
	for <classpath@gnu.org>; Wed, 30 Jan 2002 16:09:18 -0500
Received: from bothner.com (eureka.bothner.com [192.168.1.9])
	by bothner.com (8.11.6/8.11.6) with ESMTP id g0ULBar24295;
	Wed, 30 Jan 2002 13:11:36 -0800
Message-ID: <3C5860F6.2050900@bothner.com>
Date: Wed, 30 Jan 2002 13:09:10 -0800
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7+) Gecko/20020125
X-Accept-Language: en-us
MIME-Version: 1.0
To: Stuart Ballard <sballard@NetReach.Net>
CC: Classpath Project <classpath@gnu.org>
Subject: Re: State of AWT
References: <87ofjca52l.fsf@creche.redhat.com> <20020130162620.GA19924@gnu.org> <3C585686.E472483@netreach.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Stuart Ballard wrote:
> Paul Fisher wrote:
> 
>>Various Red Hat people have been bugging me to port the peers to GTK
>>2.  That's probably something that should be done.
>>
> 
> Does GTK2 have a planned release date?

I don't know, but Gnome2 does.
See http://developer.gnome.org/dotplan/schedule/

The API is basically frozen, and libraries (installable in
parallel with Gnome1) have been released for developers.  The
main issue at this point seems to be porting existing applications
to Gnome2, which does not affect us.

It seems unlikely we'd have a stable awt before Gnome2 is
available, so I say we might as well use Gnome2 for our
development.  I certainly would prefer to use the new text
widget for the text components.  I also think that Graphics2D
will be easier to implement using Gtk2, so why waste time
with Gtk1 (except that more example code and documentation is
available for Gtk1).
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/



From tromey@creche.cygnus.com Wed Jan 30 16:16:04 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16W25L-0002BX-00
	for <classpath@gnu.org>; Wed, 30 Jan 2002 16:16:03 -0500
Received: from creche.cygnus.com (ta0199.peakpeak.com [204.144.244.199])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id OAA07003;
	Wed, 30 Jan 2002 14:16:00 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id OAA28157;
	Wed, 30 Jan 2002 14:35:20 -0700
To: "Aaron M. Renn" <arenn@urbanophile.com>
Cc: Classpath Project <classpath@gnu.org>
Subject: Re: State of AWT
References: <87ofjca52l.fsf@creche.redhat.com> <20020130073943.B73191@urbanophile.com>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  Yow!  Am I cleansed yet?!
Date: 30 Jan 2002 11:51:13 -0700
In-Reply-To: "Aaron M. Renn"'s message of "Wed, 30 Jan 2002 07:39:43 -0600"
Message-ID: <87n0yv7jvi.fsf@creche.redhat.com>
Lines: 32
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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> I did not refer to the Sun implementation when I wrote the AWT
Aaron> so I don't know what they did wrt tree lock but it is probably
Aaron> something I just missed.

Same with the libgcj code.

Aaron> You'll find that GridBagLayout is not the only thing missing.
Aaron> There are a handful of others such as 1.0 events as well.

Some of the 1.0 event support came in via the merge.  Mostly it is
unimplemented.  My approach for now has been to make sure that the 1.0
methods and the like are available so that legacy code can at least
compile.  It won't run correctly though.

Aaron> As you surmise, there is little post-1.1 stuff in there, though
Aaron> I believe I tried to implement some 1.2 package stuff if it did
Aaron> not look too hard.

Bits of the Java2D code came in via the merge, too, but not very much.
There's plenty of code to write for anybody with a flair for geometry.

Aaron> I am very glad to hear that the code basically runs.  Hopefully
Aaron> we can iterate this up to a working AWT in reasonably decent
Aaron> period of time.

My hope is that we can have a reasonable (meaning "can run the games
from Yahoo" :-) AWT in time for gcj 3.2 (which I think goes into
freeze in August).  That may be wildly optimistic.

Tom


From Jeffrey.Morgan@bristolwest.com Wed Jan 30 16:29:16 2002
Received: from mail.bristolwest.com ([12.8.14.180] helo=xchange.bristolwest.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16W2I8-0002w2-00
	for <classpath@gnu.org>; Wed, 30 Jan 2002 16:29:16 -0500
Received: from ohindex01.bwis.com (ohindex01.bristolwest.com [10.83.25.14]) by xchange.bristolwest.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id CLWZY1BW; Wed, 30 Jan 2002 16:29:15 -0500
Received: by ohindex01.bwis.com with Internet Mail Service (5.5.2653.19)
	id <DM5VB9YB>; Wed, 30 Jan 2002 16:28:55 -0500
Message-ID: <5D753A0448365C448CE3D9097D767E8C01F11A28@ohindex01.bwis.com>
From: Jeffrey Morgan <Jeffrey.Morgan@BristolWest.com>
To: 'Per Bothner' <per@bothner.com>, Stuart Ballard
	 <sballard@NetReach.Net>
Cc: Classpath Project <classpath@gnu.org>
Subject: RE: State of AWT
Date: Wed, 30 Jan 2002 16:28:54 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C1A9D5.1E49DD50"
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1A9D5.1E49DD50
Content-Type: text/plain;
	charset="iso-8859-1"

Although GTK2 is still alpha (or is that beta) most
of it is fairly stable.  I have been working with it
for over a month porting java-gnome to GTK 2 and GNOME 2.
I would also agree that it would seem to make more sense
to target the newer version of the libraries.

> 
> I don't know, but Gnome2 does.
> See http://developer.gnome.org/dotplan/schedule/
> 
> The API is basically frozen, and libraries (installable in
> parallel with Gnome1) have been released for developers.  The
> main issue at this point seems to be porting existing applications
> to Gnome2, which does not affect us.
> 
> It seems unlikely we'd have a stable awt before Gnome2 is
> available, so I say we might as well use Gnome2 for our
> development.  I certainly would prefer to use the new text
> widget for the text components.  I also think that Graphics2D
> will be easier to implement using Gtk2, so why waste time
> with Gtk1 (except that more example code and documentation is
> available for Gtk1).
> -- 
> 	--Per Bothner
> per@bothner.com   http://www.bothner.com/per/
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath
> 

------_=_NextPart_001_01C1A9D5.1E49DD50
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: State of AWT</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Although GTK2 is still alpha (or is that beta) =
most</FONT>
<BR><FONT SIZE=3D2>of it is fairly stable.&nbsp; I have been working =
with it</FONT>
<BR><FONT SIZE=3D2>for over a month porting java-gnome to GTK 2 and =
GNOME 2.</FONT>
<BR><FONT SIZE=3D2>I would also agree that it would seem to make more =
sense</FONT>
<BR><FONT SIZE=3D2>to target the newer version of the libraries.</FONT>
</P>

<P><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I don't know, but Gnome2 does.</FONT>
<BR><FONT SIZE=3D2>&gt; See <A =
HREF=3D"http://developer.gnome.org/dotplan/schedule/" =
TARGET=3D"_blank">http://developer.gnome.org/dotplan/schedule/</A></FONT=
>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; The API is basically frozen, and libraries =
(installable in</FONT>
<BR><FONT SIZE=3D2>&gt; parallel with Gnome1) have been released for =
developers.&nbsp; The</FONT>
<BR><FONT SIZE=3D2>&gt; main issue at this point seems to be porting =
existing applications</FONT>
<BR><FONT SIZE=3D2>&gt; to Gnome2, which does not affect us.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; It seems unlikely we'd have a stable awt before =
Gnome2 is</FONT>
<BR><FONT SIZE=3D2>&gt; available, so I say we might as well use Gnome2 =
for our</FONT>
<BR><FONT SIZE=3D2>&gt; development.&nbsp; I certainly would prefer to =
use the new text</FONT>
<BR><FONT SIZE=3D2>&gt; widget for the text components.&nbsp; I also =
think that Graphics2D</FONT>
<BR><FONT SIZE=3D2>&gt; will be easier to implement using Gtk2, so why =
waste time</FONT>
<BR><FONT SIZE=3D2>&gt; with Gtk1 (except that more example code and =
documentation is</FONT>
<BR><FONT SIZE=3D2>&gt; available for Gtk1).</FONT>
<BR><FONT SIZE=3D2>&gt; -- </FONT>
<BR><FONT SIZE=3D2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --Per =
Bothner</FONT>
<BR><FONT SIZE=3D2>&gt; per@bothner.com&nbsp;&nbsp; <A =
HREF=3D"http://www.bothner.com/per/" =
TARGET=3D"_blank">http://www.bothner.com/per/</A></FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; =
_______________________________________________</FONT>
<BR><FONT SIZE=3D2>&gt; Classpath mailing list</FONT>
<BR><FONT SIZE=3D2>&gt; Classpath@gnu.org</FONT>
<BR><FONT SIZE=3D2>&gt; <A =
HREF=3D"http://mail.gnu.org/mailman/listinfo/classpath" =
TARGET=3D"_blank">http://mail.gnu.org/mailman/listinfo/classpath</A></FO=
NT>
<BR><FONT SIZE=3D2>&gt; </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1A9D5.1E49DD50--


From aph@cambridge.redhat.com Tue Jan 29 09:34:16 2002
Received: from dell-paw-3.cambridge.redhat.com ([195.224.55.237] helo=executor.cambridge.redhat.com)
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16VZKy-0008Fa-00
	for <classpath@gnu.org>; Tue, 29 Jan 2002 09:34:16 -0500
Received: from cuddles.cambridge.redhat.com (cuddles.cambridge.redhat.com [172.16.18.86])
	by executor.cambridge.redhat.com (Postfix) with ESMTP
	id 242EFABAF8; Tue, 29 Jan 2002 14:34:15 +0000 (GMT)
Received: (from aph@localhost)
	by cuddles.cambridge.redhat.com (8.11.6/8.11.0) id g0TEY3x03287;
	Tue, 29 Jan 2002 14:34:03 GMT
X-Authentication-Warning: cuddles.cambridge.redhat.com: aph set sender to aph@cambridge.redhat.com using -f
From: Andrew Haley <aph@cambridge.redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15446.45787.471420.140749@cuddles.cambridge.redhat.com>
Date: Tue, 29 Jan 2002 14:34:03 +0000 (GMT)
To: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Cc: java@gcc.gnu.org, classpath@gnu.org
Subject: Re: gcj vs classpath merge status
In-Reply-To: <87r8o9gqmw.fsf@tf1.tapsellferrier.co.uk>
References: <874rl6yrxd.fsf@tf1.tapsellferrier.co.uk>
	<20020129073929.A60217@urbanophile.com>
	<87r8o9gqmw.fsf@tf1.tapsellferrier.co.uk>
X-Mailer: VM 6.75 under Emacs 20.7.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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Nic Ferrier writes:
 > As far as I can tell the Classpath/libgcj project is creating 3
 > things:
 > 
 > - a standard java source code base implementing the java libs
 > - native jni libs to implement the native parts of the libs
 > - native cni libs to implement the native parts of the libs for gcj
 > 
 > As such we should try to reduce the source code differences
 > between the CLasspath java and the GCJ java.

Sure, but CNI is a much better interface for performance -- and also
legibility.

Andrew.


From Yann.Secq@lifl.fr Wed Jan 30 08:56:01 2002
Received: from malonne.lifl.fr ([134.206.10.29])
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16VvDU-00042T-00
	for <classpath@gnu.org>; Wed, 30 Jan 2002 08:56:00 -0500
Received: from lifl.fr (beckett.lifl.fr [134.206.10.117])
          by malonne.lifl.fr (8.9.3/jtpda-5.3.3) with ESMTP id OAA01825
          for <classpath@gnu.org>; Wed, 30 Jan 2002 14:55:58 +0100 (MET)
Message-ID: <3C57FB4D.8020209@lifl.fr>
Date: Wed, 30 Jan 2002 14:55:25 +0100
From: Yann Secq <Yann.Secq@lifl.fr>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20020121
X-Accept-Language: en, fr
MIME-Version: 1.0
To: Classpath Project <classpath@gnu.org>
Subject: Re: State of AWT
References: <87ofjca52l.fsf@creche.redhat.com> <20020130073943.B73191@urbanophile.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 M. Renn wrote:

>
>I am very glad to hear that the code basically runs.  Hopefully we
>can iterate this up to a working AWT in reasonably decent period of
>time.
>
Hi, there has been some talk around the wonka-vm, but I didn't understand
were it leads. I've checked their webpages and it is explicitely written 
that
their licence is GPL compatible (http://wonka.acunia.com/licence.html).

Isn't it possible to merge their implementation of AWT with Classpath ?

Cheers, yann.




From tromey@creche.cygnus.com Wed Jan 30 18:26:20 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16W47P-0003hD-00
	for <classpath@gnu.org>; Wed, 30 Jan 2002 18:26:20 -0500
Received: from creche.cygnus.com (ta0194.peakpeak.com [204.144.244.194])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id QAA17001;
	Wed, 30 Jan 2002 16:26:12 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id QAA29425;
	Wed, 30 Jan 2002 16:45:34 -0700
To: Jeffrey Morgan <Jeffrey.Morgan@BristolWest.com>
Cc: "'Per Bothner'" <per@bothner.com>, Stuart Ballard <sballard@NetReach.Net>,
        Classpath Project <classpath@gnu.org>
Subject: Re: State of AWT
References: <5D753A0448365C448CE3D9097D767E8C01F11A28@ohindex01.bwis.com>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  My face is new, my license is expired, and I'm under a doctor's care!!!!
Date: 30 Jan 2002 16:45:34 -0700
In-Reply-To: Jeffrey Morgan's message of "Wed, 30 Jan 2002 16:28:54 -0500"
Message-ID: <87it9jz9lt.fsf@creche.redhat.com>
Lines: 14
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Jeffrey" == Jeffrey Morgan <Jeffrey.Morgan@BristolWest.com> writes:

Jeffrey> Although GTK2 is still alpha (or is that beta) most
Jeffrey> of it is fairly stable.  I have been working with it
Jeffrey> for over a month porting java-gnome to GTK 2 and GNOME 2.
Jeffrey> I would also agree that it would seem to make more sense
Jeffrey> to target the newer version of the libraries.

Does java-gnome generate CNI native code, or only JNI?
I've occasionally thought maybe it would make sense for us to write
the Gtk+ peers using java-gnome.  I think that is what IBM is planning
to do with the Gtk+ port of SWT.

Tom


From tromey@creche.cygnus.com Wed Jan 30 18:29:55 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16W4As-0003kf-00
	for <classpath@gnu.org>; Wed, 30 Jan 2002 18:29:54 -0500
Received: from creche.cygnus.com (ta0194.peakpeak.com [204.144.244.194])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id QAA17687;
	Wed, 30 Jan 2002 16:29:50 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id QAA29478;
	Wed, 30 Jan 2002 16:49:12 -0700
To: Yann Secq <Yann.Secq@lifl.fr>
Cc: Classpath Project <classpath@gnu.org>
Subject: Re: State of AWT
References: <87ofjca52l.fsf@creche.redhat.com> <20020130073943.B73191@urbanophile.com> <3C57FB4D.8020209@lifl.fr>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  The fact that 47 PEOPLE are yelling and sweat is cascading
 down my SPINAL COLUMN is fairly enjoyable!!
Date: 30 Jan 2002 16:49:11 -0700
In-Reply-To: Yann Secq's message of "Wed, 30 Jan 2002 14:55:25 +0100"
Message-ID: <87g04nz9fs.fsf@creche.redhat.com>
Lines: 22
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Yann" == Yann Secq <Yann.Secq@lifl.fr> writes:

Yann> Hi, there has been some talk around the wonka-vm, but I didn't
Yann> understand were it leads. I've checked their webpages and it is
Yann> explicitely written that their licence is GPL compatible
Yann> (http://wonka.acunia.com/licence.html).

Yann> Isn't it possible to merge their implementation of AWT with
Yann> Classpath ?

Yes, it just requires the will and the time to do so.  My
understanding is that Rudolph (isn't that the name of the Wonka AWT
implementation?) is a peerless implementation running on a framebuffer
abstraction.  So parts wouldn't be really applicable -- though ideally
Classpath could run on framebuffers too, my primary goal is to make it
work on desktop boxes.

Do they have GridBagLayout?  That would be one area where we could
easily benefit.  I don't know about anybody else, but I'd be willing
to feed bug fixes I write upstream to them.

Tom


From kuzman@zoominternet.net Wed Jan 30 20:19:46 2002
Received: from mail-2.zoominternet.net ([63.67.120.5])
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16W5tC-00037c-00
	for <classpath@gnu.org>; Wed, 30 Jan 2002 20:19:46 -0500
Received: (qmail 17652 invoked from network); 31 Jan 2002 01:19:44 -0000
Received: from unknown (HELO ?192.168.1.104?) ([24.154.103.148]) (envelope-sender <kuzman@zoominternet.net>)
          by mail-2.zoominternet.net (qmail-ldap-1.03) with SMTP
          for <classpath@gnu.org>; 31 Jan 2002 01:19:44 -0000
Subject: java-gnome
From: Jeffrey Morgan <kuzman@zoominternet.net>
To: classpath@gnu.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0.1 (1.0.1-1) 
Date: 30 Jan 2002 05:20:11 -0500
Message-Id: <1012386012.2727.9.camel@localhost.localdomain>
Mime-Version: 1.0
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Java-gnome uses only JNI at this time.  I must say that
I have only begun to look at the classpath project so
I cannot comment on how well java-gnome might fit your
needs.  I would be happy to work with you to explore the 
possibility of using java-gnome in your project.

As for the GTK+ port of SWT, the decision hasn't been
made to use java-gnome.  There already is a rough version
of SWT that uses GTK 1.2.  When they move to GTK 2 they
might use java-gnome.  Java-gnome is just at a stage
where it is working well with GTK 2 and I am in contact
with and will be working with developers within IBM to
determine if it makes sense to use java-gnome on the
eclipse project.

-Jeff




From cbj@gnu.org Thu Jan 31 00:22:09 2002
Received: from [24.93.67.55] (helo=mail8.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16W9fl-0001PI-00
	for <classpath@gnu.org>; Thu, 31 Jan 2002 00:22:09 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by mail8.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Thu, 31 Jan 2002 00:21:47 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.6) id g0V5Ll711353;
	Thu, 31 Jan 2002 00:21:47 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: tromey@redhat.com
Cc: Yann Secq <Yann.Secq@lifl.fr>, Classpath Project <classpath@gnu.org>
Subject: Re: State of AWT
References: <87ofjca52l.fsf@creche.redhat.com>
	<20020130073943.B73191@urbanophile.com> <3C57FB4D.8020209@lifl.fr>
	<87g04nz9fs.fsf@creche.redhat.com>
From: Brian Jones <cbj@gnu.org>
Date: 31 Jan 2002 00:21:47 -0500
In-Reply-To: <87g04nz9fs.fsf@creche.redhat.com>
Message-ID: <m3bsfb2iz8.fsf@lyta.haphazard.org>
Lines: 27
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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 <tromey@redhat.com> writes:

> >>>>> "Yann" == Yann Secq <Yann.Secq@lifl.fr> writes:
> 
> Yann> Hi, there has been some talk around the wonka-vm, but I didn't
> Yann> understand were it leads. I've checked their webpages and it is
> Yann> explicitely written that their licence is GPL compatible
> Yann> (http://wonka.acunia.com/licence.html).
> 
> Yann> Isn't it possible to merge their implementation of AWT with
> Yann> Classpath ?
> 
> Yes, it just requires the will and the time to do so.  My
> understanding is that Rudolph (isn't that the name of the Wonka AWT
> implementation?) is a peerless implementation running on a framebuffer
> abstraction.  So parts wouldn't be really applicable -- though ideally
> Classpath could run on framebuffers too, my primary goal is to make it
> work on desktop boxes.

If you did include parts of their code, then those parts and anything
using them would probably fall under the pure GPL instead of our
exception, right?  Assuming that's true, I don't think we'd want to
include said code.

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


From chris.gray@acunia.com Thu Jan 31 05:43:17 2002
Received: from nat.be.acunia.com ([194.7.211.211] helo=mail.acunia.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16WEgW-0006oH-00
	for <classpath@gnu.org>; Thu, 31 Jan 2002 05:43:16 -0500
Received: from acunia.com (IDENT:gray@sophocles.leuven.intern.acunia.com [10.0.1.34])
	by mail.acunia.com (8.11.6/8.11.6) with ESMTP id g0VAghu14145;
	Thu, 31 Jan 2002 11:42:45 +0100
Message-ID: <3C592141.524E0628@acunia.com>
Date: Thu, 31 Jan 2002 11:49:37 +0100
From: Chris Gray <chris.gray@acunia.com>
Organization: ACUNIA NV
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: tromey@redhat.com
CC: Yann Secq <Yann.Secq@lifl.fr>, Classpath Project <classpath@gnu.org>,
   Dries Buytaert <dries.buytaert@acunia.com>
Subject: Re: State of AWT
References: <87ofjca52l.fsf@creche.redhat.com> <20020130073943.B73191@urbanophile.com> <3C57FB4D.8020209@lifl.fr> <87g04nz9fs.fsf@creche.redhat.com>
Content-Type: text/plain; charset=us-ascii
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
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:

> >>>>> "Yann" == Yann Secq <Yann.Secq@lifl.fr> writes:
>
> Yann> Hi, there has been some talk around the wonka-vm, but I didn't
> Yann> understand were it leads. I've checked their webpages and it is
> Yann> explicitely written that their licence is GPL compatible
> Yann> (http://wonka.acunia.com/licence.html).
>

Currently out GPL compatibility is ``self-certified'', i.e. we sincerely
believe that the WPL is compatible with the GPL but we don't actually
have a signed statement from RMS.  Maybe when licensing@gnu.org
reply to my mail of 12 Dec (nd reminder of 21 Jan) ...

The WPL (http://wonka.acunia.com/licence.html) does not impose
any conditions which are not also imposed by the BSD license,
from which I syllogistically conclude that it is compatible with the
GPL.


> Yann> Isn't it possible to merge their implementation of AWT with
> Yann> Classpath ?
>
> Yes, it just requires the will and the time to do so.  My
> understanding is that Rudolph (isn't that the name of the Wonka AWT
> implementation?) is a peerless implementation running on a framebuffer
> abstraction.  So parts wouldn't be really applicable -- though ideally
> Classpath could run on framebuffers too, my primary goal is to make it
> work on desktop boxes.

We've also looked at this from the reverse direction, i.e. could we make
a version of Rudolph to run on nanoX or Qt or whatever, for devices
(such as the Sharp Zaurus) which already have such a graphics library?
Initial conclusion is [an oxymoron...] that going from peerless to
peerful
is a big change

> Do they have GridBagLayout?  That would be one area where we could
> easily benefit.  I don't know about anybody else, but I'd be willing
> to feed bug fixes I write upstream to them.

Yes, we have GridBagLayout. 8->  (if you run the VisualTestEngine
you'll see eight tests for GridBagLayout).

Regards

Chris Gray
VM Architect, ACUNIA





From chris.gray@acunia.com Thu Jan 31 05:45:06 2002
Received: from nat.be.acunia.com ([194.7.211.211] helo=mail.acunia.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16WEiH-0006sz-00; Thu, 31 Jan 2002 05:45:05 -0500
Received: from acunia.com (IDENT:gray@sophocles.leuven.intern.acunia.com [10.0.1.34])
	by mail.acunia.com (8.11.6/8.11.6) with ESMTP id g0VAisu14235;
	Thu, 31 Jan 2002 11:44:54 +0100
Message-ID: <3C5921C4.A20BDC5E@acunia.com>
Date: Thu, 31 Jan 2002 11:51:48 +0100
From: Chris Gray <chris.gray@acunia.com>
Organization: ACUNIA NV
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Brian Jones <cbj@gnu.org>
CC: tromey@redhat.com, Yann Secq <Yann.Secq@lifl.fr>,
   Classpath Project <classpath@gnu.org>,
   Dries Buytaert <dries.buytaert@acunia.com>
Subject: Re: State of AWT
References: <87ofjca52l.fsf@creche.redhat.com>
		<20020130073943.B73191@urbanophile.com> <3C57FB4D.8020209@lifl.fr>
		<87g04nz9fs.fsf@creche.redhat.com> <m3bsfb2iz8.fsf@lyta.haphazard.org>
Content-Type: text/plain; charset=us-ascii
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Brian Jones wrote:

> If you did include parts of their code, then those parts and anything
> using them would probably fall under the pure GPL instead of our
> exception, right?  Assuming that's true, I don't think we'd want to
> include said code.

No, the Wonka Public License is basically BSD.  That's why we say
``GPL-compatible''.

Regards

Chris Gray
VM Architect, ACUNIA




From chris.gray@acunia.com Thu Jan 31 05:54:17 2002
Received: from nat.be.acunia.com ([194.7.211.211] helo=mail.acunia.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16WErA-0007HV-00
	for <classpath@gnu.org>; Thu, 31 Jan 2002 05:54:16 -0500
Received: from acunia.com (IDENT:gray@sophocles.leuven.intern.acunia.com [10.0.1.34])
	by mail.acunia.com (8.11.6/8.11.6) with ESMTP id g0VArwu14899;
	Thu, 31 Jan 2002 11:53:58 +0100
Message-ID: <3C5923E4.53F8C03E@acunia.com>
Date: Thu, 31 Jan 2002 12:00:52 +0100
From: Chris Gray <chris.gray@acunia.com>
Organization: ACUNIA NV
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: tromey@redhat.com, Yann Secq <Yann.Secq@lifl.fr>,
   Classpath Project <classpath@gnu.org>,
   Dries Buytaert <dries.buytaert@acunia.com>
Subject: Re: State of AWT
References: <87ofjca52l.fsf@creche.redhat.com> <20020130073943.B73191@urbanophile.com> <3C57FB4D.8020209@lifl.fr> <87g04nz9fs.fsf@creche.redhat.com> <3C592141.524E0628@acunia.com>
Content-Type: text/plain; charset=us-ascii
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>
> Currently out GPL compatibility [...]

Of course I meant ``our'' ...




From cbj@gnu.org Thu Jan 31 08:35:54 2002
Received: from [24.93.67.54] (helo=mail7.nc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16WHNZ-00073k-00
	for <classpath@gnu.org>; Thu, 31 Jan 2002 08:35:53 -0500
Received: from lyta.haphazard.org ([66.26.243.202]) by mail7.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.687.68);
	 Thu, 31 Jan 2002 08:34:10 -0500
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.6) id g0VDY9J13474;
	Thu, 31 Jan 2002 08:34:09 -0500
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Chris Gray <chris.gray@acunia.com>
Cc: tromey@redhat.com, Yann Secq <Yann.Secq@lifl.fr>,
   Classpath Project <classpath@gnu.org>,
   Dries Buytaert <dries.buytaert@acunia.com>
Subject: Re: State of AWT
References: <87ofjca52l.fsf@creche.redhat.com>
	<20020130073943.B73191@urbanophile.com> <3C57FB4D.8020209@lifl.fr>
	<87g04nz9fs.fsf@creche.redhat.com> <3C592141.524E0628@acunia.com>
From: Brian Jones <cbj@gnu.org>
Date: 31 Jan 2002 08:34:09 -0500
In-Reply-To: <3C592141.524E0628@acunia.com>
Message-ID: <m3d6zqtzji.fsf@lyta.haphazard.org>
Lines: 11
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Chris Gray <chris.gray@acunia.com> writes:

> Yes, we have GridBagLayout. 8->  (if you run the VisualTestEngine
> you'll see eight tests for GridBagLayout).

We'll definitely need a test framework for the AWT stuff probably
unlike anything in Mauve.  

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


From chris.gray@acunia.com Thu Jan 31 09:02:16 2002
Received: from nat.be.acunia.com ([194.7.211.211] helo=mail.acunia.com)
	by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian))
	id 16WHn6-00089H-00; Thu, 31 Jan 2002 09:02:16 -0500
Received: from acunia.com (IDENT:gray@sophocles.leuven.intern.acunia.com [10.0.1.34])
	by mail.acunia.com (8.11.6/8.11.6) with ESMTP id g0VE20u28287;
	Thu, 31 Jan 2002 15:02:01 +0100
Message-ID: <3C594FF7.A010C9C1@acunia.com>
Date: Thu, 31 Jan 2002 15:08:55 +0100
From: Chris Gray <chris.gray@acunia.com>
Organization: ACUNIA NV
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Brian Jones <cbj@gnu.org>
CC: tromey@redhat.com, Yann Secq <Yann.Secq@lifl.fr>,
   Classpath Project <classpath@gnu.org>,
   Dries Buytaert <dries.buytaert@acunia.com>
Subject: Re: State of AWT
References: <87ofjca52l.fsf@creche.redhat.com>
		<20020130073943.B73191@urbanophile.com> <3C57FB4D.8020209@lifl.fr>
		<87g04nz9fs.fsf@creche.redhat.com> <3C592141.524E0628@acunia.com> <m3d6zqtzji.fsf@lyta.haphazard.org>
Content-Type: text/plain; charset=us-ascii
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

Brian Jones wrote:

> Chris Gray <chris.gray@acunia.com> writes:
>
> > Yes, we have GridBagLayout. 8->  (if you run the VisualTestEngine
> > you'll see eight tests for GridBagLayout).
>
> We'll definitely need a test framework for the AWT stuff probably
> unlike anything in Mauve.

Then you should definitely look at the VTE - it's portable,
so I could even send you a .jar file if you like.

For everything else we use the Mauve framework, too.

Regards

Chris Gray
VM Architect, ACUNIA




From tromey@creche.cygnus.com Thu Jan 31 12:03:10 2002
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian))
	id 16WKc9-0004aa-00; Thu, 31 Jan 2002 12:03:09 -0500
Received: from creche.cygnus.com (ta0200.peakpeak.com [204.144.244.200])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id KAA17207;
	Thu, 31 Jan 2002 10:03:03 -0700
Received: (from tromey@localhost)
	by creche.cygnus.com (8.9.3/8.9.3) id KAA32669;
	Thu, 31 Jan 2002 10:22:36 -0700
To: Chris Gray <chris.gray@acunia.com>
Cc: Brian Jones <cbj@gnu.org>, Yann Secq <Yann.Secq@lifl.fr>,
        Classpath Project <classpath@gnu.org>,
        Dries Buytaert <dries.buytaert@acunia.com>
Subject: Re: State of AWT
References: <87ofjca52l.fsf@creche.redhat.com> <20020130073943.B73191@urbanophile.com> <3C57FB4D.8020209@lifl.fr> <87g04nz9fs.fsf@creche.redhat.com> <3C592141.524E0628@acunia.com> <m3d6zqtzji.fsf@lyta.haphazard.org> <3C594FF7.A010C9C1@acunia.com>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  Did we bring enough BEEF JERKY?
Date: 31 Jan 2002 10:22:36 -0700
In-Reply-To: Chris Gray's message of "Thu, 31 Jan 2002 15:08:55 +0100"
Message-ID: <871yg6o2oz.fsf@creche.redhat.com>
Lines: 9
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: Discussion of the implemenation of the core Java class libraries <classpath.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/classpath>,
	<mailto:classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/classpath/>

>>>>> "Chris" == Chris Gray <chris.gray@acunia.com> writes:

Chris> Then you should definitely look at the VTE - it's portable,
Chris> so I could even send you a .jar file if you like.

That's definitely interesting.  I'll check it out once I get back to
AWT hacking.

Tom


