From etienne.gagnon@uqam.ca Tue Aug 06 09:46:35 2002
Received: from anis.telecom.uqam.ca ([132.208.250.6] helo=uqam.ca)
	by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian))
	id 17c4fO-0002by-00
	for <classpath@gnu.org>; Tue, 06 Aug 2002 09:46:30 -0400
Received: from anis.telecom.uqam.ca (anis.telecom.uqam.ca [132.208.250.6])
	by sortant.uqam.ca (8.12.2/8.12.1) with SMTP id g76Di1cT012382
	for <classpath@gnu.org>; Tue, 6 Aug 2002 09:44:02 -0400 (EDT)
Received: from antivirus.uqam.ca ([127.0.0.1])
 by anis.telecom.uqam.ca (NAVGW 2.5.1.12) with SMTP id M2002080609440110385
 for <classpath@gnu.org>; Tue, 06 Aug 2002 09:44:01 -0400
Received: from localhost (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.2/8.12.1) with ESMTP id g76DhZp4012355
	for <classpath@gnu.org>; Tue, 6 Aug 2002 09:43:35 -0400 (EDT)
Received: from egagnon by localhost with local (Exim 3.35 #1 (Debian))
	id 17c4cY-0007SU-00; Tue, 06 Aug 2002 09:43:34 -0400
Date: Tue, 6 Aug 2002 09:43:34 -0400
To: classpath@gnu.org
Subject: SableVM 1.0.0
Message-ID: <20020806134334.GA28595@perseval.info.uqam.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
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.11
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 am pleased to announce the official release of SableVM version 1.0.0.
This version includes all of the promised features: 3 flavors of
threading, bidirectional/traditional object layout, sparse interface
vtables, spinlock-free thinlocks, low cost maps for precise GC, grow
as needed Java stack, signal (or not) based null checks, and much
more.

SableVM uses GNU Classpath as its class library.  It provides its own
packaging of it in two separate parts (native / classes).

As usual, you can download the sources from http://www.sablevm.org/ .

To the pleasure of hearing from you on the sablevm-user list!

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


From cananian@lesser-magoo.lcs.mit.edu Tue Aug 06 15:37:11 2002
Received: from catfish.lcs.mit.edu ([18.111.0.152])
	by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian))
	id 17cA8l-0006Jg-00
	for <classpath@gnu.org>; Tue, 06 Aug 2002 15:37:11 -0400
Received: from localhost (localhost [127.0.0.1])
	by catfish.lcs.mit.edu (8.11.4/8.11.4) with ESMTP id g76JbAh16811
	for <classpath@gnu.org>; Tue, 6 Aug 2002 15:37:10 -0400 (EDT)
Date: Tue, 6 Aug 2002 15:37:10 -0400 (EDT)
From: "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu>
X-Sender: cananian@catfish.lcs.mit.edu
To: classpath@gnu.org
Subject: [PATCH] java.util.TimeZone doc/bogus GlobalRef.
Message-ID: <Pine.GSO.4.10.10208061534250.14642-100000@catfish.lcs.mit.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.11
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 appended patch adds standard jni docs on method name and signature,
and removes an useless call to NewGlobalRef (the return value is never
used, much less stored across calls to the method) which would leak
a tiny bit of memory.
  --scott

mustard Pakistan FSF supercomputer $400 million in gold bullion Rijndael 
operation RUCKUS SEAL Team 6 Sabana Seca NRA SSBN 743 Iraq Ortega 
                         ( http://cscott.net/ )

Index: native/jni/java-util/java_util_TimeZone.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/java-util/java_util_TimeZone.c,v
retrieving revision 1.2
diff -u -p -r1.2 java_util_TimeZone.c
--- native/jni/java-util/java_util_TimeZone.c	22 Jan 2002 22:27:02 -0000	1.2
+++ native/jni/java-util/java_util_TimeZone.c	6 Aug 2002 19:23:56 -0000
@@ -62,6 +62,10 @@ exception statement from your version. *
  * initializer in java.util.TimeZone to create the default timezone
  * instance.  This is a key into the timezone table used by
  * that class.
+ *
+ * Class:     java_util_TimeZone
+ * Method:    getDefaultTimeZoneId
+ * Signature: ()Ljava/lang/String;
  */
 JNIEXPORT jstring JNICALL
 Java_java_util_TimeZone_getDefaultTimeZoneId(JNIEnv *env, jclass clazz)
@@ -101,8 +105,6 @@ Java_java_util_TimeZone_getDefaultTimeZo
   if (!retval)
     return(0);
  
-  (*env)->NewGlobalRef(env, retval);
-
   return(retval);
 }
 



From cananian@lesser-magoo.lcs.mit.edu Tue Aug 06 15:38:39 2002
Received: from catfish.lcs.mit.edu ([18.111.0.152])
	by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian))
	id 17cAAB-0006Tg-00
	for <classpath@gnu.org>; Tue, 06 Aug 2002 15:38:39 -0400
Received: from localhost (localhost [127.0.0.1])
	by catfish.lcs.mit.edu (8.11.4/8.11.4) with ESMTP id g76JcYh17016
	for <classpath@gnu.org>; Tue, 6 Aug 2002 15:38:34 -0400 (EDT)
Date: Tue, 6 Aug 2002 15:38:34 -0400 (EDT)
From: "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu>
X-Sender: cananian@catfish.lcs.mit.edu
To: classpath@gnu.org
Subject: [PATCH] doc fixes to java_lang_Double.c
Message-ID: <Pine.GSO.4.10.10208061537130.14642-100000@catfish.lcs.mit.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.11
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 appended patch fixes three bad signatures in the comments to
java_lang_Double.c.
 --scott

tonight cracking Yakima mustard Suharto Morwenstow SEAL Team 6 COBRA JUDY 
class struggle DES counter-intelligence Albanian Bejing SDI agent 
                         ( http://cscott.net/ )

Index: native/jni/java-lang/java_lang_Double.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/java-lang/java_lang_Double.c,v
retrieving revision 1.8
diff -u -p -r1.8 java_lang_Double.c
--- native/jni/java-lang/java_lang_Double.c	22 Jan 2002 22:27:02 -0000	1.8
+++ native/jni/java-lang/java_lang_Double.c	6 Aug 2002 19:23:56 -0000
@@ -54,7 +54,7 @@ static jdouble POSITIVE_INFINITY;
 /*
  * Class:     java_lang_Double
  * Method:    initIDs
- * Signature: ()
+ * Signature: ()V
  */
 JNIEXPORT void JNICALL Java_java_lang_Double_initIDs
   (JNIEnv *env, jclass cls)
@@ -137,9 +137,9 @@ JNIEXPORT jdouble JNICALL Java_java_lang
 }
 
 /*
- * Class:    java_lang_Double
- * Method:   toString(double d)
- * Signature: (D)Ljava/lang/String
+ * Class:     java_lang_Double
+ * Method:    toString
+ * Signature: (DZ)Ljava/lang/String;
  */
 JNIEXPORT jstring JNICALL Java_java_lang_Double_toString
   (JNIEnv * env, jclass cls, jdouble value, jboolean isFloat)
@@ -246,7 +246,7 @@ JNIEXPORT jstring JNICALL Java_java_lang
 /*
  * Class:     java_lang_Double
  * Method:    parseDouble
- * Signature: (Ljava/lang/String)D
+ * Signature: (Ljava/lang/String;)D
  */
 JNIEXPORT jdouble JNICALL Java_java_lang_Double_parseDouble
   (JNIEnv * env, jclass cls, jstring str)



From cananian@lesser-magoo.lcs.mit.edu Tue Aug 06 15:44:04 2002
Received: from catfish.lcs.mit.edu ([18.111.0.152])
	by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian))
	id 17cAFP-0007I2-00
	for <classpath@gnu.org>; Tue, 06 Aug 2002 15:44:03 -0400
Received: from localhost (localhost [127.0.0.1])
	by catfish.lcs.mit.edu (8.11.4/8.11.4) with ESMTP id g76Ji3h17849
	for <classpath@gnu.org>; Tue, 6 Aug 2002 15:44:03 -0400 (EDT)
Date: Tue, 6 Aug 2002 15:44:02 -0400 (EDT)
From: "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu>
X-Sender: cananian@catfish.lcs.mit.edu
To: classpath@gnu.org
Subject: [PATCH] doc cleanups to jni/java-io
Message-ID: <Pine.GSO.4.10.10208061538360.14642-100000@catfish.lcs.mit.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.11
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 appended patch cleans up the comemnts in native/jni/java-io:
 1) all sentences end in a period.
 2) all methods have (correct) JNI class/method/signature information.
 3) several typos/transpositions/extra spaces quashed.

No changes to code.
  --scott

Yeltsin immediate RNC direct action assassination politics blowfish 
BATF overthrow South Africa MI6 Flintlock Soviet  cracking mustard 
                         ( http://cscott.net/ )

Index: native/jni/java-io/java_io_File.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/java-io/java_io_File.c,v
retrieving revision 1.3
diff -u -p -r1.3 java_io_File.c
--- native/jni/java-io/java_io_File.c	18 Feb 2002 23:45:52 -0000	1.3
+++ native/jni/java-io/java_io_File.c	6 Aug 2002 19:23:56 -0000
@@ -56,7 +56,11 @@ exception statement from your version. *
 /*************************************************************************/
 
 /*
- * Method to create an empty file
+ * Method to create an empty file.
+ *
+ * Class:     java_io_File
+ * Method:    createInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -84,7 +88,11 @@ Java_java_io_File_createInternal(JNIEnv 
 /*************************************************************************/
 
 /*
- * This method checks to see if we have read permission on a file
+ * This method checks to see if we have read permission on a file.
+ *
+ * Class:     java_io_File
+ * Method:    canReadInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -114,7 +122,11 @@ Java_java_io_File_canReadInternal(JNIEnv
 /*************************************************************************/
 
 /*
- * This method checks to see if we have write permission on a file
+ * This method checks to see if we have write permission on a file.
+ *
+ * Class:     java_io_File
+ * Method:    canWriteInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -144,7 +156,11 @@ Java_java_io_File_canWriteInternal(JNIEn
 /*************************************************************************/
 
 /*
- * This method makes a file read only
+ * This method makes a file read only.
+ *
+ * Class:     java_io_File
+ * Method:    setReadOnlyInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -184,7 +200,11 @@ Java_java_io_File_setReadOnlyInternal(JN
 /*************************************************************************/
 
 /*
- * This method checks to see if a file exists
+ * This method checks to see if a file exists.
+ *
+ * Class:     java_io_File
+ * Method:    existsInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -212,8 +232,12 @@ Java_java_io_File_existsInternal(JNIEnv 
 /*************************************************************************/
 
 /*
- * This method checks to see if a file is a "plain" file.  That is, not
+ * This method checks to see if a file is a "plain" file; that is, not
  * a directory, pipe, etc.
+ *
+ * Class:     java_io_File
+ * Method:    isFileInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -244,6 +268,10 @@ Java_java_io_File_isFileInternal(JNIEnv 
 
 /*
  * This method checks to see if a file is a directory or not.
+ *
+ * Class:     java_io_File
+ * Method:    isDirectoryInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -273,7 +301,11 @@ Java_java_io_File_isDirectoryInternal(JN
 /*************************************************************************/
 
 /*
- * This method returns the length of the file
+ * This method returns the length of the file.
+ *
+ * Class:     java_io_File
+ * Method:    lengthInternal
+ * Signature: (Ljava/lang/String;)J
  */
 
 JNIEXPORT jlong JNICALL
@@ -301,7 +333,11 @@ Java_java_io_File_lengthInternal(JNIEnv 
 /*************************************************************************/
 
 /*
- * This method returns the  modification date of the file
+ * This method returns the modification date of the file.
+ *
+ * Class:     java_io_File
+ * Method:    lastModifiedInternal
+ * Signature: (Ljava/lang/String;)J
  */
 
 JNIEXPORT jlong JNICALL
@@ -333,7 +369,11 @@ Java_java_io_File_lastModifiedInternal(J
 /*************************************************************************/
 
 /*
- * This method sets the modificatino date of the file
+ * This method sets the modification date of the file.
+ *
+ * Class:     java_io_File
+ * Method:    setLastModifiedInternal
+ * Signature: (Ljava/lang/String;J)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -375,7 +415,11 @@ Java_java_io_File_setLastModifiedInterna
 
 /*
  * This method deletes a file (actually a name for a file - additional
- * linke could exist).
+ * links could exist).
+ *
+ * Class:     java_io_File
+ * Method:    deleteInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -404,7 +448,11 @@ Java_java_io_File_deleteInternal(JNIEnv 
 /*************************************************************************/
 
 /*
- * This method creates a directory
+ * This method creates a directory.
+ *
+ * Class:     java_io_File
+ * Method:    mkdirInternal
+ * Signature: (Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -431,7 +479,11 @@ Java_java_io_File_mkdirInternal(JNIEnv *
 /*************************************************************************/
 
 /*
- * This method creates a directory
+ * This method renames a (link to a) file.
+ *
+ * Class:     java_io_File
+ * Method:    renameToInternal
+ * Signature: (Ljava/lang/String;Ljava/lang/String;)Z
  */
 
 JNIEXPORT jboolean JNICALL
@@ -467,7 +519,11 @@ Java_java_io_File_renameToInternal(JNIEn
 
 /*
  * This method returns an array of String representing all the files
- * in a directory except "." and ".."
+ * in a directory except "." and "..".
+ *
+ * Class:     java_io_File
+ * Method:    listInternal
+ * Signature: (Ljava/lang/String;)[Ljava/lang/String;
  */
 
 JNIEXPORT jobjectArray JNICALL
Index: native/jni/java-io/java_io_FileDescriptor.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/java-io/java_io_FileDescriptor.c,v
retrieving revision 1.2
diff -u -p -r1.2 java_io_FileDescriptor.c
--- native/jni/java-io/java_io_FileDescriptor.c	22 Jan 2002 22:27:02 -0000	1.2
+++ native/jni/java-io/java_io_FileDescriptor.c	6 Aug 2002 19:23:56 -0000
@@ -51,7 +51,11 @@ exception statement from your version. *
 /*************************************************************************/
 
 /*
- * Method to force all data for this descriptor to be flushed to disk 
+ * Method to force all data for this descriptor to be flushed to disk.
+ *
+ * Class:     java_io_FileDescriptor
+ * Method:    syncInternal
+ * Signature: (I)V
  */
 
 JNIEXPORT void JNICALL
@@ -68,6 +72,10 @@ Java_java_io_FileDescriptor_syncInternal
 
 /*
  * Method to check if a given descriptor is valid.
+ *
+ * Class:     java_io_FileDescriptor
+ * Method:    validInternal
+ * Signature: (I)Z
  */
 
 JNIEXPORT jboolean JNICALL
Index: native/jni/java-io/java_io_FileInputStream.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/java-io/java_io_FileInputStream.c,v
retrieving revision 1.2
diff -u -p -r1.2 java_io_FileInputStream.c
--- native/jni/java-io/java_io_FileInputStream.c	22 Jan 2002 22:27:02 -0000	1.2
+++ native/jni/java-io/java_io_FileInputStream.c	6 Aug 2002 19:23:56 -0000
@@ -53,6 +53,10 @@ exception statement from your version. *
 
 /*
  * Returns the length of the file being read.
+ *
+ * Class:     java_io_FileInputStream
+ * Method:    getFileLength
+ * Signature: (I)J
  */
 
 JNIEXPORT jlong JNICALL
@@ -64,7 +68,11 @@ Java_java_io_FileInputStream_getFileLeng
 /*************************************************************************/
 
 /*
- * Method to skip bytes in a file
+ * Method to skip bytes in a file.
+ *
+ * Class:     java_io_FileInputStream
+ * Method:    skipInternal
+ * Signature: (IJ)J
  */
 
 JNIEXPORT jlong JNICALL
@@ -77,7 +85,11 @@ Java_java_io_FileInputStream_skipInterna
 /*************************************************************************/
 
 /*
- * Opens the file for reading
+ * Opens the file for reading.
+ *
+ * Class:     java_io_FileInputStream
+ * Method:    open
+ * Signature: (Ljava/lang/String;)I
  */
 
 JNIEXPORT jint JNICALL
@@ -89,7 +101,11 @@ Java_java_io_FileInputStream_open(JNIEnv
 /*************************************************************************/
 
 /*
- * Reads bytes from the file
+ * Reads bytes from the file.
+ *
+ * Class:     java_io_FileInputStream
+ * Method:    readInternal
+ * Signature: (I[BII)I
  */ 
 
 JNIEXPORT jint JNICALL
@@ -102,7 +118,11 @@ Java_java_io_FileInputStream_readInterna
 /*************************************************************************/
 
 /*
- * Closes the file
+ * Closes the file.
+ *
+ * Class:     java_io_FileInputStream
+ * Method:    closeInternal
+ * Signature: (I)V
  */
 
 JNIEXPORT void JNICALL
Index: native/jni/java-io/java_io_FileOutputStream.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/java-io/java_io_FileOutputStream.c,v
retrieving revision 1.2
diff -u -p -r1.2 java_io_FileOutputStream.c
--- native/jni/java-io/java_io_FileOutputStream.c	22 Jan 2002 22:27:02 -0000	1.2
+++ native/jni/java-io/java_io_FileOutputStream.c	6 Aug 2002 19:23:56 -0000
@@ -52,7 +52,11 @@ exception statement from your version. *
 /*************************************************************************/
 
 /*
- * Opens the file for writing
+ * Opens the file for writing.
+ *
+ * Class:     java_io_FileOutputStream
+ * Method:    open
+ * Signature: (Ljava/lang/String;Z)I
  */
 
 JNIEXPORT jint JNICALL
@@ -78,7 +82,11 @@ Java_java_io_FileOutputStream_open(JNIEn
 /*************************************************************************/
 
 /*
- * Write bytes to file
+ * Write bytes to file.
+ *
+ * Class:     java_io_FileOutputStream
+ * Method:    writeInternal
+ * Signature: (I[BII)V
  */ 
 
 JNIEXPORT void JNICALL
@@ -91,7 +99,11 @@ Java_java_io_FileOutputStream_writeInter
 /*************************************************************************/
 
 /*
- * Closes the file
+ * Closes the file.
+ *
+ * Class:     java_io_FileOutputStream
+ * Method:    closeInternal
+ * Signature: (I)V
  */
 
 JNIEXPORT void JNICALL
Index: native/jni/java-io/java_io_ObjectInputStream.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/java-io/java_io_ObjectInputStream.c,v
retrieving revision 1.2
diff -u -p -r1.2 java_io_ObjectInputStream.c
--- native/jni/java-io/java_io_ObjectInputStream.c	22 Jan 2002 22:27:02 -0000	1.2
+++ native/jni/java-io/java_io_ObjectInputStream.c	6 Aug 2002 19:23:56 -0000
@@ -43,6 +43,11 @@ exception statement from your version. *
 #include <jcl.h>
 #include "java_io_ObjectInputStream.h"
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    currentClassLoader
+ * Signature: (Ljava/lang/SecurityManager;)Ljava/lang/ClassLoader;
+ */
 JNIEXPORT jobject JNICALL
 Java_java_io_ObjectInputStream_currentClassLoader( JNIEnv * env,
 						   jclass clazz,
@@ -61,6 +66,11 @@ Java_java_io_ObjectInputStream_currentCl
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    allocateObject
+ * Signature: (Ljava/lang/Class;)Ljava/lang/Object;
+ */
 JNIEXPORT jobject JNICALL
 Java_java_io_ObjectInputStream_allocateObject( JNIEnv * env,
 					       jobject self,
@@ -70,6 +80,11 @@ Java_java_io_ObjectInputStream_allocateO
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    callConstructor
+ * Signature: (Ljava/lang/Class;Ljava/lang/Object;)V
+ */
 JNIEXPORT void JNICALL 
 Java_java_io_ObjectInputStream_callConstructor( JNIEnv * env,
 						jclass clazz,
@@ -85,6 +100,11 @@ Java_java_io_ObjectInputStream_callConst
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    callReadMethod
+ * Signature: (Ljava/lang/Object;Ljava/lang/Class;)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_callReadMethod( JNIEnv * env,
 					       jobject self,
@@ -102,6 +122,11 @@ Java_java_io_ObjectInputStream_callReadM
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setBooleanField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;Z)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setBooleanField( JNIEnv * env,
 						 jobject self,
@@ -127,6 +152,11 @@ Java_java_io_ObjectInputStream_setBoolea
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setByteField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;B)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setByteField( JNIEnv * env,
 					      jobject self,
@@ -152,6 +182,11 @@ Java_java_io_ObjectInputStream_setByteFi
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setCharField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;C)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setCharField( JNIEnv * env,
 					      jobject self,
@@ -177,6 +212,11 @@ Java_java_io_ObjectInputStream_setCharFi
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setDoubleField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;D)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setDoubleField( JNIEnv * env,
 						jobject self,
@@ -202,6 +242,11 @@ Java_java_io_ObjectInputStream_setDouble
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setFloatField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;F)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setFloatField( JNIEnv * env,
 					       jobject self,
@@ -227,6 +272,11 @@ Java_java_io_ObjectInputStream_setFloatF
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setIntField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;I)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setIntField( JNIEnv * env,
 					     jobject self,
@@ -252,6 +302,11 @@ Java_java_io_ObjectInputStream_setIntFie
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setLongField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;J)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setLongField( JNIEnv * env,
 					      jobject self,
@@ -277,6 +332,11 @@ Java_java_io_ObjectInputStream_setLongFi
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setShortField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;S)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setShortField( JNIEnv * env,
 					       jobject self,
@@ -302,6 +362,12 @@ Java_java_io_ObjectInputStream_setShortF
 }
 
 
+/*
+ * Class:     java_io_ObjectInputStream
+ * Method:    setObjectField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/
+Object;)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectInputStream_setObjectField( JNIEnv * env,
 						jobject self,
Index: native/jni/java-io/java_io_ObjectOutputStream.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/java-io/java_io_ObjectOutputStream.c,v
retrieving revision 1.2
diff -u -p -r1.2 java_io_ObjectOutputStream.c
--- native/jni/java-io/java_io_ObjectOutputStream.c	22 Jan 2002 22:27:02 -0000	1.2
+++ native/jni/java-io/java_io_ObjectOutputStream.c	6 Aug 2002 19:23:56 -0000
@@ -52,6 +52,11 @@ exception statement from your version. *
 #endif
 #define RETHROW_EXCEPTION( env ) if((*(env))->ExceptionOccurred((env)) != NULL) return;
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    callWriteMethod
+ * Signature: (Ljava/lang/Object;)V
+ */
 JNIEXPORT void JNICALL
 Java_java_io_ObjectOutputStream_callWriteMethod( JNIEnv * env,
 						 jobject self,
@@ -72,6 +77,11 @@ Java_java_io_ObjectOutputStream_callWrit
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getBooleanField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;)Z
+ */
 JNIEXPORT jboolean JNICALL
 Java_java_io_ObjectOutputStream_getBooleanField( JNIEnv * env,
 						 jobject self,
@@ -98,6 +108,11 @@ Java_java_io_ObjectOutputStream_getBoole
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getByteField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;)B
+ */
 JNIEXPORT jbyte JNICALL
 Java_java_io_ObjectOutputStream_getByteField( JNIEnv * env,
 					      jobject self,
@@ -124,6 +139,11 @@ Java_java_io_ObjectOutputStream_getByteF
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getCharField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;)C
+ */
 JNIEXPORT jchar JNICALL
 Java_java_io_ObjectOutputStream_getCharField( JNIEnv * env,
 					      jobject self,
@@ -150,6 +170,11 @@ Java_java_io_ObjectOutputStream_getCharF
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getDoubleField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;)D
+ */
 JNIEXPORT jdouble JNICALL
 Java_java_io_ObjectOutputStream_getDoubleField( JNIEnv * env,
 						jobject self,
@@ -176,6 +201,11 @@ Java_java_io_ObjectOutputStream_getDoubl
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getFloatField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;)F
+ */
 JNIEXPORT jfloat JNICALL
 Java_java_io_ObjectOutputStream_getFloatField( JNIEnv * env,
 					       jobject self,
@@ -202,6 +232,11 @@ Java_java_io_ObjectOutputStream_getFloat
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getIntField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;)I
+ */
 JNIEXPORT jint JNICALL
 Java_java_io_ObjectOutputStream_getIntField( JNIEnv * env,
 					     jobject self,
@@ -228,6 +263,11 @@ Java_java_io_ObjectOutputStream_getIntFi
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getLongField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;)J
+ */
 JNIEXPORT jlong JNICALL
 Java_java_io_ObjectOutputStream_getLongField( JNIEnv * env,
 					      jobject self,
@@ -254,6 +294,11 @@ Java_java_io_ObjectOutputStream_getLongF
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getShortField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;)S
+ */
 JNIEXPORT jshort JNICALL
 Java_java_io_ObjectOutputStream_getShortField( JNIEnv * env,
 					       jobject self,
@@ -280,6 +325,11 @@ Java_java_io_ObjectOutputStream_getShort
 }
 
 
+/*
+ * Class:     java_io_ObjectOutputStream
+ * Method:    getObjectField
+ * Signature: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
+ */
 JNIEXPORT jobject JNICALL
 Java_java_io_ObjectOutputStream_getObjectField( JNIEnv * env,
 						jobject self,
Index: native/jni/java-io/java_io_RandomAccessFile.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/java-io/java_io_RandomAccessFile.c,v
retrieving revision 1.2
diff -u -p -r1.2 java_io_RandomAccessFile.c
--- native/jni/java-io/java_io_RandomAccessFile.c	22 Jan 2002 22:27:02 -0000	1.2
+++ native/jni/java-io/java_io_RandomAccessFile.c	6 Aug 2002 19:23:56 -0000
@@ -53,6 +53,10 @@ exception statement from your version. *
 
 /*
  * Returns the length of the file being read.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    lengthInternal
+ * Signature: (I)J
  */
 
 JNIEXPORT jlong JNICALL
@@ -65,6 +69,10 @@ Java_java_io_RandomAccessFile_lengthInte
 
 /*
  * Method to skip bytes in a file.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    skipInternal
+ * Signature: (II)I
  */
 
 JNIEXPORT jint JNICALL
@@ -77,7 +85,11 @@ Java_java_io_RandomAccessFile_skipIntern
 /*************************************************************************/
 
 /*
- * Opens the file for reading
+ * Opens the file for reading.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    open
+ * Signature: (Ljava/lang/String;Z)I
  */
 
 JNIEXPORT jint JNICALL
@@ -93,7 +105,11 @@ Java_java_io_RandomAccessFile_open(JNIEn
 /*************************************************************************/
 
 /*
- * Closes the file
+ * Closes the file.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    closeInternal
+ * Signature: (I)V
  */
 
 JNIEXPORT void JNICALL
@@ -105,7 +121,11 @@ Java_java_io_RandomAccessFile_closeInter
 /*************************************************************************/
 
 /*
- * Reads bytes from the file
+ * Reads bytes from the file.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    readInternal
+ * Signature: (I[BII)I
  */ 
 
 JNIEXPORT jint JNICALL
@@ -118,7 +138,11 @@ Java_java_io_RandomAccessFile_readIntern
 /*************************************************************************/
 
 /*
- * Write bytes to the file
+ * Write bytes to the file.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    writeInternal
+ * Signature: (I[BII)V
  */ 
 
 JNIEXPORT void JNICALL
@@ -131,7 +155,11 @@ Java_java_io_RandomAccessFile_writeInter
 /*************************************************************************/
 
 /*
- * This method returns the current position in the file
+ * This method returns the current position in the file.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    getFilePointerInternal
+ * Signature: (I)J
  */
 
 JNIEXPORT jlong JNICALL
@@ -148,7 +176,11 @@ Java_java_io_RandomAccessFile_getFilePoi
 /*************************************************************************/
 
 /*
- * This method seeks to the specified position from the beginning of the file
+ * This method seeks to the specified position from the beginning of the file.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    seekInternal
+ * Signature: (IJ)V
  */
 
 JNIEXPORT void JNICALL
@@ -165,7 +197,11 @@ Java_java_io_RandomAccessFile_seekIntern
 /* 
  * This method sets the length of the file.  Hmm.  Do all platforms have
  * ftruncate?  Probably not so we migth have to do some non-atomic stuff
- * on those
+ * on those.
+ *
+ * Class:     java_io_RandomAccessFile
+ * Method:    setLengthInternal
+ * Signature: (IJ)V
  */
 
 JNIEXPORT void JNICALL



From pwlfong@users.sourceforge.net Tue Aug 06 16:09:05 2002
Received: from cs.sfu.ca ([142.58.111.1])
	by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian))
	id 17cAdd-0001zR-00
	for <classpath@gnu.org>; Tue, 06 Aug 2002 16:09:05 -0400
Received: from css.css.sfu.ca (css [199.60.1.20])
	by cs.sfu.ca (8.12.0/8.12.0) with ESMTP id g76K93Ub015831
	for <classpath@gnu.org>; Tue, 6 Aug 2002 13:09:04 -0700 (PDT)
Received: from localhost (pwfong@localhost)
	by css.css.sfu.ca (8.11.6/8.11.6) with ESMTP id g76K93x01411
	for <classpath@gnu.org>; Tue, 6 Aug 2002 13:09:03 -0700 (PDT)
X-Authentication-Warning: css.css.sfu.ca: pwfong owned process doing -bs
Date: Tue, 6 Aug 2002 13:09:03 -0700 (PDT)
From: Philip Fong <pwlfong@users.sourceforge.net>
X-Sender: pwfong@css.css.sfu.ca
To: classpath@gnu.org
Subject: Bug in java.security.SecureClassLoader?
Message-ID: <Pine.SOL.4.10.10208061259320.1269-200000@css.css.sfu.ca>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-851401618-1028664543=:1269"
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
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.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---559023410-851401618-1028664543=:1269
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi

The behavior of java.security.SecureClassLoader seems to differ from
that specified in Java 1.3.1 API spec.  According to the API spec,
method defineClass(String, byte[], int, int, CodeSource) may
optionally ignore the CodeSource argument if it is null.  In the
0.04 release, a null CodeSource will cause a NullPointerException
inside getPermissions.  I checked with the cvs just now, and
it looks like the problem has not been solved.  Attached is
a small patch that fix this.  Is this the right way of doing
it?

Also, the fix also remove the catching of ClassFormatError.  That
error is raised if the classfile is corrupted, and IMHO such a serious
error should propagate upward to the caller.  Am I understanding
correctly?

Philip

--
Philip W. L. Fong            pwlfong@users.sourceforge.net
The Aegis VM Project         http://aegisvm.sourceforge.net

The Aegis VM Project is an on-going effort to implement a lightweight,
secure JVM.  It will eventually feature a modular architecture, Proof
Linking, that supports pluggable verification modules.

---559023410-851401618-1028664543=:1269
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=patch
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.SOL.4.10.10208061309030.1269@css.css.sfu.ca>
Content-Description: patch
Content-Disposition: attachment; filename=patch

LS0tIGNsYXNzcGF0aC9qYXZhL3NlY3VyaXR5L1NlY3VyZUNsYXNzTG9hZGVy
LmphdmEJU3VuIE1hciAyNCAyMToxMjoxOSAyMDAyDQorKysgcGF0Y2gvamF2
YS9zZWN1cml0eS9TZWN1cmVDbGFzc0xvYWRlci5qYXZhCVR1ZSBBdWcgIDYg
MTI6NDM6MDkgMjAwMg0KQEAgLTgxLDE2ICs4MSwxNCBAQA0KIAkJCQkgICAg
Q29kZVNvdXJjZSBjcykNCiAgIHsNCiAgICAgLy8gRklYTUU6IE5lZWQgdG8g
Y2FjaGUgUHJvdGVjdGlvbkRvbWFpbnMgYWNjb3JkaW5nIHRvIDEuMyBkb2Nz
Lg0KLSAgICBQcm90ZWN0aW9uRG9tYWluIHByb3RlY3Rpb25Eb21haW4gPQ0K
LSAgICAgIG5ldyBQcm90ZWN0aW9uRG9tYWluKGNzLCBnZXRQZXJtaXNzaW9u
cyhjcykpOw0KLSAgICB0cnkNCisgICAgICBpZiAoY3MgIT0gbnVsbCkNCiAg
ICAgICB7DQotCXJldHVybiBzdXBlci5kZWZpbmVDbGFzcyhuYW1lLCBiLCBv
ZmYsIGxlbiwgcHJvdGVjdGlvbkRvbWFpbik7DQotICAgICAgfQ0KLSAgICBj
YXRjaCAoQ2xhc3NGb3JtYXRFcnJvciBjZmUpDQotICAgICAgew0KLQlyZXR1
cm4gbnVsbDsNCi0gICAgICB9DQorCSAgUHJvdGVjdGlvbkRvbWFpbiBwcm90
ZWN0aW9uRG9tYWluID0NCisJICAgICAgbmV3IFByb3RlY3Rpb25Eb21haW4o
Y3MsIGdldFBlcm1pc3Npb25zKGNzKSk7DQorCSAgcmV0dXJuIHN1cGVyLmRl
ZmluZUNsYXNzKG5hbWUsIGIsIG9mZiwgbGVuLCBwcm90ZWN0aW9uRG9tYWlu
KTsNCisgICAgICB9IA0KKyAgICAgIGVsc2UNCisJICByZXR1cm4gc3VwZXIu
ZGVmaW5lQ2xhc3MobmFtZSwgYiwgb2ZmLCBsZW4pOw0KICAgfQ0KIA0KICAg
LyoqDQo=
---559023410-851401618-1028664543=:1269--


From etienne.gagnon@uqam.ca Thu Aug 08 21:12:13 2002
Received: from anis.telecom.uqam.ca ([132.208.250.6] helo=uqam.ca)
	by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian))
	id 17cyK5-0003e7-00
	for <classpath@gnu.org>; Thu, 08 Aug 2002 21:12:13 -0400
Received: from anis.telecom.uqam.ca (anis.telecom.uqam.ca [132.208.250.6])
	by sortant.uqam.ca (8.12.2/8.12.1) with SMTP id g7919WPO004457
	for <classpath@gnu.org>; Thu, 8 Aug 2002 21:09:35 -0400 (EDT)
Received: from antivirus.uqam.ca ([127.0.0.1])
 by anis.telecom.uqam.ca (NAVGW 2.5.1.12) with SMTP id M2002080821093419606
 for <classpath@gnu.org>; Thu, 08 Aug 2002 21:09:34 -0400
Received: from localhost (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.2/8.12.1) with ESMTP id g7918ZwF004418;
	Thu, 8 Aug 2002 21:08:35 -0400 (EDT)
Received: from egagnon by localhost with local (Exim 3.35 #1 (Debian))
	id 17cyGY-0003ZZ-00; Thu, 08 Aug 2002 21:08:34 -0400
Date: Thu, 8 Aug 2002 21:08:34 -0400
To: sablevm-announce@lists.sourceforge.net, sablevm-user@lists.sourceforge.net,
   sablevm-developer@lists.sourceforge.net, classpath@gnu.org
Subject: SableVM 1.0.1
Message-ID: <20020809010834.GA13694@perseval.info.uqam.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
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.11
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/>

Changes:
========

- SableVM now waits until all non-daemon threads are died before
quitting.

- SableVM is now known to run all SPECjvm98 benchmarks, SableCC
2.17.3, and Soot 1.2.3.

- Convenient build scripts have been added.

Notes:
======

To install SableVM, you must download the three files:
- sablevm-x.y.z.tar.gz
- sablevm-class-library-x.y.z.tar.gz
- sablevm-native-library-x.y.z.tar.gz

Then, uncompress the sablevm-x.y.z.tar.gz file (tar -xzf) and follow
the instructions in the README file.

You can change many options in SableVM throught the configure script.
For example, you can type "./configure -with-object-layout=traditional".
Try "./configure --help" and read the generic INSTALL file for more
information.


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


From crawley@dstc.edu.au Fri Aug 09 11:48:26 2002
Received: from piglet.dstc.edu.au ([130.102.176.1])
	by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian))
	id 17dC01-0000dG-00
	for <classpath@gnu.org>; Fri, 09 Aug 2002 11:48:25 -0400
Received: from dstc.edu.au (soluble.dstc.edu.au [130.102.176.43])
	by piglet.dstc.edu.au (8.12.3/8.12.3) with ESMTP id g79FmIh7020157;
	Sat, 10 Aug 2002 01:48:18 +1000 (EST)
Message-Id: <200208091548.g79FmIh7020157@piglet.dstc.edu.au>
X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4
To: "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu>
cc: Mark Wielaard <mark@klomp.org>, abies@pg.gda.pl,
   Stephen Crawley <crawley@dstc.edu.au>, classpath@gnu.org,
   kissme-general@lists.sourceforge.net, crawley@piglet.dstc.edu.au
Subject: Re: [Classpath] Re: Bug(s) in java.lang.String 
In-Reply-To: Message from "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu> 
   of "Wed, 31 Jul 2002 18:00:32 -0400." <Pine.GSO.4.10.10207311754190.14042-100000@catfish.lcs.mit.edu> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sat, 10 Aug 2002 01:48:18 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Spam-Checked: SPAMASSASSIN: This message probably not SPAM
X-Spam-Score: -4.4, Required: 5
X-Virus-Scanned: Message: ok
X-Scanned-By: MIMEDefang 2.9 (www dot roaringpenguin dot com slash mimedefang)
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
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/>

Folks,

I've finally found time to track down the cause of this bug.  It turns out
that it is a consequence of the way that Kissme unpacks "asciz" strings
with multi-byte characters.  In this case Kissme is creating a String object 
with count == 204, offset == 0, value.length == 443, and the value array 
padded beyond position 203 with '\000' characters.  

I believe that this is a legitimate (though suboptimal) representation
for the String object. If so, it is unsafe for java.lang.String to use
value.length instead of count to determine length of the CharData
strings; e.g. in upperCaseIndex.

We could fix this (pretty easily) in Kissme, but the same problem may
conceivably crop up in other VMs.

-- Steve



From mark@wildebeest.org Sun Aug 11 13:39:46 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17dwgs-0001QG-00
	for classpath@gnu.org; Sun, 11 Aug 2002 13:39:46 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17dwgq-0001Pq-00
	for classpath@gnu.org; Sun, 11 Aug 2002 13:39:45 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17dwgp-0001Pl-00
	for classpath@gnu.org; Sun, 11 Aug 2002 13:39:43 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17dweg-0002AN-00; Sun, 11 Aug 2002 19:37:30 +0200
Received: from mark by elsschot with local (Exim 3.35 #1 (Debian))
	id 17dwfQ-0006xq-00; Sun, 11 Aug 2002 19:38:16 +0200
Subject: Re: [Classpath] Re: Bug(s) in java.lang.String
From: Mark Wielaard <mark@klomp.org>
To: Stephen Crawley <crawley@dstc.edu.au>
Cc: "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu>, abies@pg.gda.pl, 
	classpath@gnu.org, kissme-general@lists.sourceforge.net, 
	crawley@piglet.dstc.edu.au
In-Reply-To: <200208091548.g79FmIh7020157@piglet.dstc.edu.au>
References: <200208091548.g79FmIh7020157@piglet.dstc.edu.au>
Content-Type: multipart/mixed; boundary="=-Sibg66EC5mlT02jSYvhm"
X-Mailer: Ximian Evolution 1.0.7 
Date: 11 Aug 2002 19:38:16 +0200
Message-Id: <1029087496.6555.166.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.11
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/>

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

Hi,

On Fri, 2002-08-09 at 17:48, Stephen Crawley wrote:
> I've finally found time to track down the cause of this bug.  It turns out
> that it is a consequence of the way that Kissme unpacks "asciz" strings
> with multi-byte characters.  In this case Kissme is creating a String object 
> with count == 204, offset == 0, value.length == 443, and the value array 
> padded beyond position 203 with '\000' characters.  
> 
> I believe that this is a legitimate (though suboptimal) representation
> for the String object. If so, it is unsafe for java.lang.String to use
> value.length instead of count to determine length of the CharData
> strings; e.g. in upperCaseIndex.
> 
> We could fix this (pretty easily) in Kissme, but the same problem may
> conceivably crop up in other VMs.

Yeah. It seems to be legal for a VM to do tricks like this. Eric Blake
suggested to just use System.arraycopy to make sure that the array is
always zero based. The attached patch does that when the char[] is not
already zero based. I have not yet tested it. Could you test if this
works with Kissme?

Thanks,

Mark

--=-Sibg66EC5mlT02jSYvhm
Content-Disposition: inline; filename=zerobased.patch
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-patch; name=zerobased.patch; charset=ISO-8859-15

Index: java/lang/Character.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: /cvsroot/classpath/classpath/java/lang/Character.java,v
retrieving revision 1.30
diff -u -r1.30 Character.java
--- java/lang/Character.java	12 Jul 2002 21:25:53 -0000	1.30
+++ java/lang/Character.java	11 Aug 2002 17:32:18 -0000
@@ -1384,40 +1384,63 @@
   public static final byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT =3D 18;
=20
   /**
+   * Returns the value array of the given string if it is zero based or a
+   * copy of it that is zero based (stripping offset and making length equ=
al
+   * to count). Used for accessing the char[]s of gnu.java.lang.CharData.
+   * Package private for use in String.
+   */
+  static char[] zeroBasedStringValue(String s)
+  {
+    char[] value;
+
+    if (s.offset =3D=3D 0 && s.count =3D=3D s.value.length)
+      value =3D s.value;
+    else
+      {
+	int count =3D s.count;
+	value =3D new char[count];
+	System.arraycopy(s.value, s.offset, value, 0, count);
+      }
+
+    return value;
+  }
+
+  /**
    * Stores unicode block offset lookup table. Exploit package visibility =
of
    * String.value to avoid copying the array.
    * @see #readChar(char)
    * @see CharData#BLOCKS
    */
-  private static final char[] blocks =3D CharData.BLOCKS.value;
+  private static final char[] blocks =3D zeroBasedStringValue(CharData.BLO=
CKS);
=20
   /**
    * Stores unicode attribute offset lookup table. Exploit package visibil=
ity
    * of String.value to avoid copying the array.
    * @see CharData#DATA
    */
-  private static final char[] data =3D CharData.DATA.value;
+  private static final char[] data =3D zeroBasedStringValue(CharData.DATA)=
;
=20
   /**
    * Stores unicode numeric value attribute table. Exploit package visibil=
ity
    * of String.value to avoid copying the array.
    * @see CharData#NUM_VALUE
    */
-  private static final char[] numValue =3D CharData.NUM_VALUE.value;
+  private static final char[] numValue
+	  =3D zeroBasedStringValue(CharData.NUM_VALUE);
=20
   /**
    * Stores unicode uppercase attribute table. Exploit package visibility
    * of String.value to avoid copying the array.
    * @see CharData#UPPER
    */
-  private static final char[] upper =3D CharData.UPPER.value;
+  private static final char[] upper =3D zeroBasedStringValue(CharData.UPPE=
R);
=20
   /**
    * Stores unicode lowercase attribute table. Exploit package visibility
    * of String.value to avoid copying the array.
    * @see CharData#LOWER
    */
-  private static final char[] lower =3D CharData.LOWER.value;
+  private static final char[] lower =3D zeroBasedStringValue(CharData.LOWE=
R);
=20
   /**
    * Stores unicode direction attribute table. Exploit package visibility
@@ -1425,14 +1448,14 @@
    * @see CharData#DIRECTION
    */
   // Package visible for use by String.
-  static final char[] direction =3D CharData.DIRECTION.value;
+  static final char[] direction =3D zeroBasedStringValue(CharData.DIRECTIO=
N);
=20
   /**
    * Stores unicode titlecase table. Exploit package visibility of
    * String.value to avoid copying the array.
    * @see CharData#TITLE
    */
-  private static final char[] title =3D CharData.TITLE.value;
+  private static final char[] title =3D zeroBasedStringValue(CharData.TITL=
E);
=20
   /**
    * Mask for grabbing the type out of the contents of data.
Index: java/lang/String.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: /cvsroot/classpath/classpath/java/lang/String.java,v
retrieving revision 1.49
diff -u -r1.49 String.java
--- java/lang/String.java	30 Jul 2002 21:17:55 -0000	1.49
+++ java/lang/String.java	11 Aug 2002 17:32:19 -0000
@@ -98,15 +98,17 @@
    * @see #toUpperCase(char)
    * @see CharData#UPPER_EXPAND
    */
-  private static final char[] upperExpand =3D CharData.UPPER_EXPAND.value;
+  private static final char[] upperExpand
+	=3D Character.zeroBasedStringValue(CharData.UPPER_EXPAND);
=20
   /**
    * Stores unicode multi-character uppercase special casing table.
    * @see #upperCaseExpansion(char)
    * @see CharData#UPPER_SPECIAL
    */
-  private static final char[] upperSpecial =3D CharData.UPPER_SPECIAL.valu=
e;
-
+  private static final char[] upperSpecial
+	  =3D Character.zeroBasedStringValue(CharData.UPPER_SPECIAL);
+ =20
   /**
    * Characters which make up the String.
    * Package access is granted for use by StringBuffer.

--=-Sibg66EC5mlT02jSYvhm--



From etienne.gagnon@uqam.ca Sun Aug 11 13:48:09 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17dwoz-0002D4-00
	for classpath@gnu.org; Sun, 11 Aug 2002 13:48:09 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17dwou-0002CL-00
	for classpath@gnu.org; Sun, 11 Aug 2002 13:48:08 -0400
Received: from anis.telecom.uqam.ca ([132.208.250.6] helo=uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17dwot-0002C7-00
	for classpath@gnu.org; Sun, 11 Aug 2002 13:48:03 -0400
Received: from anis.telecom.uqam.ca (anis.telecom.uqam.ca [132.208.250.6])
	by sortant.uqam.ca (8.12.2/8.12.1) with SMTP id g7BHk0PP007242
	for <classpath@gnu.org>; Sun, 11 Aug 2002 13:46:01 -0400 (EDT)
Received: from antivirus.uqam.ca ([127.0.0.1])
 by anis.telecom.uqam.ca (NAVGW 2.5.1.12) with SMTP id M2002081113460100388
 for <classpath@gnu.org>; Sun, 11 Aug 2002 13:46:01 -0400
Received: from localhost (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.2/8.12.1) with ESMTP id g7BHjxwF007223
	for <classpath@gnu.org>; Sun, 11 Aug 2002 13:45:59 -0400 (EDT)
Received: from egagnon by localhost with local (Exim 3.35 #1 (Debian))
	id 17dwmr-0007QH-00; Sun, 11 Aug 2002 13:45:57 -0400
Date: Sun, 11 Aug 2002 13:45:57 -0400
To: classpath@gnu.org
Subject: Re: [Bug #976] Missing GPL exception and missing Copyright statements
Message-ID: <20020811174557.GA28476@perseval.info.uqam.ca>
References: <E17dwfF-0001oW-00@subversions.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E17dwfF-0001oW-00@subversions.gnu.org>
User-Agent: Mutt/1.4i
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.11
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 there,

So, is there any objection the I go ahead and add the GPL exception to
src/com/sun/javadoc/* files, and add the full copyright notice to the
other files?

Thanks, 

Etienne

On Sun, Aug 11, 2002 at 01:38:05PM -0400, nobody@savannah.gnu.org wrote:
> =================== BUG #976: FULL BUG SNAPSHOT ===================
> http://savannah.gnu.org/bugs/?func=detailbug&bug_id=976&group_id=85
> 
> Submitted by: egagnon                   Project: classpath                      
> Submitted on: 2002-Aug-11 13:38
> Severity:  5 - Major                    Resolution:  None                       
> Assigned to:  None                      Status:  Open                           
> Platform Version:  None                 
> 
> Summary:  Missing GPL exception and missing Copyright statements
> 
> Original Submission:  Hi!
> 
> All of the following files are either:
> 
> 1- missing the GPL exception text, or
> 
> 2- missing the copyright statement entirely.
> 
> I did NOT include in this list:
> 
> 1- *.properties files, 
> 
> 2- src/gnu/java/locale/LocaleInformation_*.java automatically generated files, and
> 
> 3- src/gnu/java/rmi/dgc/*_Skel/Stub.java automatically generated files.
> 
> Here is the list:
> 
> src/com/sun/javadoc/ClassDoc.java
> src/com/sun/javadoc/ConstructorDoc.java
> src/com/sun/javadoc/Doc.java
> src/com/sun/javadoc/DocErrorReporter.java
> src/com/sun/javadoc/Doclet.java
> src/com/sun/javadoc/ExecutableMemberDoc.java
> src/com/sun/javadoc/FieldDoc.java
> src/com/sun/javadoc/MemberDoc.java
> src/com/sun/javadoc/MethodDoc.java
> src/com/sun/javadoc/PackageDoc.java
> src/com/sun/javadoc/ParamTag.java
> src/com/sun/javadoc/Parameter.java
> src/com/sun/javadoc/ProgramElementDoc.java
> src/com/sun/javadoc/RootDoc.java
> src/com/sun/javadoc/SeeTag.java
> src/com/sun/javadoc/SerialFieldTag.java
> src/com/sun/javadoc/Tag.java
> src/com/sun/javadoc/ThrowsTag.java
> src/com/sun/javadoc/Type.java
> src/java/nio/channels/spi/AbstractChannel.java
> src/java/nio/channels/spi/AbstractInterruptibleChannel.java
> src/java/nio/channels/spi/AbstractSelectableChannel.java
> src/java/nio/channels/spi/AbstractSelectionKey.java
> src/java/nio/channels/spi/AbstractSelector.java
> src/java/nio/channels/spi/SelectorProvider.java
> src/javax/swing/plaf/ColorUIResource.java
> src/javax/swing/plaf/DimensionUIResource.java
> src/javax/swing/plaf/ButtonUI.java
> src/javax/swing/plaf/ComponentUI.java
> src/javax/swing/plaf/basic/BasicButtonUI.java
> src/javax/swing/plaf/basic/BasicCheckBoxUI.java
> src/javax/swing/plaf/basic/BasicDefaults.java
> src/javax/swing/plaf/basic/BasicGraphicsUtils.java
> src/javax/swing/plaf/basic/BasicLabelUI.java
> src/javax/swing/plaf/basic/BasicListUI.java
> src/javax/swing/plaf/basic/BasicOptionPaneUI.java
> src/javax/swing/plaf/basic/BasicPanelUI.java
> src/javax/swing/plaf/basic/BasicRadioButtonUI.java
> src/javax/swing/plaf/basic/BasicScrollPaneUI.java
> src/javax/swing/plaf/basic/BasicTabbedPaneUI.java
> src/javax/swing/plaf/basic/BasicTextUI.java
> src/javax/swing/plaf/basic/BasicToggleButtonUI.java
> src/javax/swing/plaf/basic/BasicTreeUI.java
> src/javax/swing/plaf/basic/BasicViewportUI.java
> src/javax/swing/plaf/basic/BasicBorders.java
> src/javax/swing/plaf/basic/BasicIconFactory.java
> src/javax/swing/plaf/FontUIResource.java
> src/javax/swing/plaf/LabelUI.java
> src/javax/swing/plaf/ListUI.java
> src/javax/swing/plaf/OptionPaneUI.java
> src/javax/swing/plaf/PanelUI.java
> src/javax/swing/plaf/TabbedPaneUI.java
> src/javax/swing/plaf/TextUI.java
> src/javax/swing/plaf/TreeUI.java
> src/javax/swing/plaf/ViewportUI.java
> src/javax/swing/plaf/metal/MetalLookAndFeel.java
> src/javax/swing/plaf/IconUIResource.java
> src/javax/swing/plaf/InsetsUIResource.java
> src/javax/swing/table/DefaultTableCellRenderer.java
> src/javax/swing/BorderFactory.java
> 
> May I go ahead and add the GPL exception to src/com/sun/javadoc/* files, and add the full copyright notice to the other files?
> 
> 
> 
> 
> No Followups Have Been Posted
> 
> 
> 
> 
> No files currently attached
> 
> 
> For detailed info, follow this link:
> http://savannah.gnu.org/bugs/?func=detailbug&bug_id=976&group_id=85

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



From mark@wildebeest.org Sun Aug 11 14:02:15 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17dx2d-00038v-00
	for classpath@gnu.org; Sun, 11 Aug 2002 14:02:15 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17dx2c-00038j-00
	for classpath@gnu.org; Sun, 11 Aug 2002 14:02:15 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17dx2b-00038Y-00
	for classpath@gnu.org; Sun, 11 Aug 2002 14:02:13 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17dx1h-0002BT-00; Sun, 11 Aug 2002 20:01:17 +0200
Received: from mark by elsschot with local (Exim 3.35 #1 (Debian))
	id 17dx2R-0007Ty-00; Sun, 11 Aug 2002 20:02:03 +0200
Subject: Re: [Bug #976] Missing GPL exception and missing Copyright
	statements
From: Mark Wielaard <mark@klomp.org>
To: "Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
Cc: classpath@gnu.org
In-Reply-To: <20020811174557.GA28476@perseval.info.uqam.ca>
References: <E17dwfF-0001oW-00@subversions.gnu.org> 
	<20020811174557.GA28476@perseval.info.uqam.ca>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.7 
Date: 11 Aug 2002 20:02:03 +0200
Message-Id: <1029088923.13419.188.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.11
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-08-11 at 19:45, Etienne M. Gagnon wrote:
> So, is there any objection the I go ahead and add the GPL exception to
> src/com/sun/javadoc/* files, and add the full copyright notice to the
> other files?

Please add the full copyright notice to the files that are missing them
at the moment (and everybody, you should always make sure that the
copyright notices are correct for files you check in). But check the nio
files since some are automatically generated by the lib/gen_nio.sh
script so you should add the full copyright to the master files in that
case.

The javadoc files should probably be moved to the gjdoc project since
they are not really part of the standard library anyway which means that
they are not "normal" GNU Classpath sources (which impacts the license
status). Brian is it OK if I add them to the gjdoc CVS tree and remove
them from Classpath (I have write access to both)?

Cheers,

Mark



From etienne.gagnon@uqam.ca Sun Aug 11 15:18:15 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17dyEB-0000my-00
	for classpath@gnu.org; Sun, 11 Aug 2002 15:18:15 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17dyE2-0000mV-00
	for classpath@gnu.org; Sun, 11 Aug 2002 15:18:14 -0400
Received: from anis.telecom.uqam.ca ([132.208.250.6] helo=uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17dyE2-0000mQ-00
	for classpath@gnu.org; Sun, 11 Aug 2002 15:18:06 -0400
Received: from anis.telecom.uqam.ca (anis.telecom.uqam.ca [132.208.250.6])
	by sortant.uqam.ca (8.12.2/8.12.1) with SMTP id g7BJD1PT010329
	for <classpath@gnu.org>; Sun, 11 Aug 2002 15:13:04 -0400 (EDT)
Received: from antivirus.uqam.ca ([127.0.0.1])
 by anis.telecom.uqam.ca (NAVGW 2.5.1.12) with SMTP id M2002081115130432449
 for <classpath@gnu.org>; Sun, 11 Aug 2002 15:13:04 -0400
Received: from localhost (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.2/8.12.1) with ESMTP id g7BJC2wF010303;
	Sun, 11 Aug 2002 15:12:02 -0400 (EDT)
Received: from egagnon by localhost with local (Exim 3.35 #1 (Debian))
	id 17dy88-0007o8-00; Sun, 11 Aug 2002 15:12:00 -0400
Date: Sun, 11 Aug 2002 15:12:00 -0400
To: Mark Wielaard <mark@klomp.org>
Cc: "Etienne M. Gagnon" <etienne.gagnon@uqam.ca>, classpath@gnu.org
Subject: Re: [Bug #976] Missing GPL exception and missing Copyright statements
Message-ID: <20020811191200.GA29795@perseval.info.uqam.ca>
References: <E17dwfF-0001oW-00@subversions.gnu.org> <20020811174557.GA28476@perseval.info.uqam.ca> <1029088923.13419.188.camel@elsschot>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1029088923.13419.188.camel@elsschot>
User-Agent: Mutt/1.4i
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.11
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, Aug 11, 2002 at 08:02:03PM +0200, Mark Wielaard wrote:
> Please add the full copyright notice to the files that are missing them
> at the moment (and everybody, you should always make sure that the
> copyright notices are correct for files you check in). But check the nio
> files since some are automatically generated by the lib/gen_nio.sh
> script so you should add the full copyright to the master files in that
> case.

Hmm... It isn't obvious thar any of the files I listed are generated.
So, I will add the full copyright statement to them.

It would be interesting to possibly add copyright notices to the
*.properties files. 

I do not know how to modify the master scripts for the generated files
I identified in the bug report,
e.g. src/gnu/java/locale/LocaleInformation_*.java and
src/gnu/java/rmi/dgc/*_Skel/Stub.java.  Does somebody else knows
about those scripts (and would volunteer to help)?  Thanks.

> The javadoc files should probably be moved to the gjdoc project since
> they are not really part of the standard library anyway which means that
> they are not "normal" GNU Classpath sources (which impacts the license
> status). Brian is it OK if I add them to the gjdoc CVS tree and remove
> them from Classpath (I have write access to both)?

It would effectively be a good idea that everything in the classpath
CVS be licensed under GPL+excp, as advertized on the web page.


Thanks,

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 Aug 11 15:48:33 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17dyhU-0003eg-00
	for classpath@gnu.org; Sun, 11 Aug 2002 15:48:32 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17dyhR-0003du-00
	for classpath@gnu.org; Sun, 11 Aug 2002 15:48:31 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17dyhR-0003dZ-00
	for classpath@gnu.org; Sun, 11 Aug 2002 15:48:29 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17dygZ-0002MI-00; Sun, 11 Aug 2002 21:47:35 +0200
Received: from mark by elsschot with local (Exim 3.35 #1 (Debian))
	id 17dyhJ-0000T8-00; Sun, 11 Aug 2002 21:48:21 +0200
Subject: Re: [Bug #976] Missing GPL exception and missing Copyright
	statements
From: Mark Wielaard <mark@klomp.org>
To: "Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
Cc: classpath@gnu.org
In-Reply-To: <20020811191200.GA29795@perseval.info.uqam.ca>
References: <E17dwfF-0001oW-00@subversions.gnu.org>
	<20020811174557.GA28476@perseval.info.uqam.ca>
	<1029088923.13419.188.camel@elsschot> 
	<20020811191200.GA29795@perseval.info.uqam.ca>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.7 
Date: 11 Aug 2002 21:48:20 +0200
Message-Id: <1029095300.13541.198.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.11
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-08-11 at 21:12, Etienne M. Gagnon wrote:
> On Sun, Aug 11, 2002 at 08:02:03PM +0200, Mark Wielaard wrote:
> > Please add the full copyright notice to the files that are missing them
> > at the moment (and everybody, you should always make sure that the
> > copyright notices are correct for files you check in). But check the nio
> > files since some are automatically generated by the lib/gen_nio.sh
> > script so you should add the full copyright to the master files in that
> > case.
> 
> Hmm... It isn't obvious thar any of the files I listed are generated.
> So, I will add the full copyright statement to them.

OK. Thanks for checking, I wasn't sure anymore.

> It would be interesting to possibly add copyright notices to the
> *.properties files. 
> 
> I do not know how to modify the master scripts for the generated files
> I identified in the bug report,
> e.g. src/gnu/java/locale/LocaleInformation_*.java and
> src/gnu/java/rmi/dgc/*_Skel/Stub.java.  Does somebody else knows
> about those scripts (and would volunteer to help)?  Thanks.

See the following two emails from the archive:
http://mail.gnu.org/pipermail/classpath/2002-May/002287.html
http://mail.gnu.org/pipermail/classpath/2002-May/002335.html

> > The javadoc files should probably be moved to the gjdoc project since
> > they are not really part of the standard library anyway which means that
> > they are not "normal" GNU Classpath sources (which impacts the license
> > status). Brian is it OK if I add them to the gjdoc CVS tree and remove
> > them from Classpath (I have write access to both)?
> 
> It would effectively be a good idea that everything in the classpath
> CVS be licensed under GPL+excp, as advertized on the web page.

Yes, I agree. Making sure that everything distributed is clearly marked
as such or otherwise removed is on my TODO list for the next release but
since it is a little bit boring work I haven't given it very high
priority.

Cheers,

Mark



From etienne.gagnon@uqam.ca Sun Aug 11 16:30:17 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17dzLt-00073d-00
	for classpath@gnu.org; Sun, 11 Aug 2002 16:30:17 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17dzLr-00073R-00
	for classpath@gnu.org; Sun, 11 Aug 2002 16:30:16 -0400
Received: from anis.telecom.uqam.ca ([132.208.250.6] helo=uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17dzLr-00073M-00
	for classpath@gnu.org; Sun, 11 Aug 2002 16:30:15 -0400
Received: from anis.telecom.uqam.ca (anis.telecom.uqam.ca [132.208.250.6])
	by sortant.uqam.ca (8.12.2/8.12.1) with SMTP id g7BKT1PP013137
	for <classpath@gnu.org>; Sun, 11 Aug 2002 16:29:01 -0400 (EDT)
Received: from antivirus.uqam.ca ([127.0.0.1])
 by anis.telecom.uqam.ca (NAVGW 2.5.1.12) with SMTP id M2002081116290118647
 for <classpath@gnu.org>; Sun, 11 Aug 2002 16:29:01 -0400
Received: from localhost (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.2/8.12.1) with ESMTP id g7BKSZwF013121;
	Sun, 11 Aug 2002 16:28:35 -0400 (EDT)
Received: from egagnon by localhost with local (Exim 3.35 #1 (Debian))
	id 17dzKF-0008BZ-00; Sun, 11 Aug 2002 16:28:35 -0400
Date: Sun, 11 Aug 2002 16:28:35 -0400
To: Mark Wielaard <mark@klomp.org>
Cc: classpath@gnu.org
Subject: Re: [Bug #976] Missing GPL exception and missing Copyright statements
Message-ID: <20020811202835.GA31307@perseval.info.uqam.ca>
References: <E17dwfF-0001oW-00@subversions.gnu.org> <20020811174557.GA28476@perseval.info.uqam.ca> <1029088923.13419.188.camel@elsschot> <20020811191200.GA29795@perseval.info.uqam.ca> <1029095300.13541.198.camel@elsschot>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1029095300.13541.198.camel@elsschot>
User-Agent: Mutt/1.4i
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.11
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, Aug 11, 2002 at 09:48:20PM +0200, Mark Wielaard wrote:
> See the following two emails from the archive:
> http://mail.gnu.org/pipermail/classpath/2002-May/002287.html
> http://mail.gnu.org/pipermail/classpath/2002-May/002335.html

So, if I understand correctly from the second message, the rmic
generated files can be GPL+exp.  So, I'll go ahead and fix them
as well as all the other generated files.

I'll also look if the properties files can handle comment, and if yes,
I'll also add the copyright statement.

As the generating scripts don't seem to be called that often, I'll
simply hack the copyright statement directly in the files, and let
maintainers fix the scripts, eventually.

I just want the copyright statements to be in place for a new SableVM
distribution.  A Debian developer noticed the incoherency in the
copyright statements of the current
sablevm-native/class-library-*.tar.gz files (which are directly
derived from GNU Classpath).

Thanks,

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



From mark@klomp.org Mon Aug 12 04:13:41 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17eAKb-0004qR-00
	for classpath@gnu.org; Mon, 12 Aug 2002 04:13:41 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17eAKS-0004qD-00
	for classpath@gnu.org; Mon, 12 Aug 2002 04:13:40 -0400
Received: from outcast.tryllian.com ([212.0.243.3] helo=mx0.tryllian.com)
	by monty-python.gnu.org with smtp (Exim 4.10)
	id 17eAKS-0004q8-00
	for classpath@gnu.org; Mon, 12 Aug 2002 04:13:32 -0400
Received: (qmail 9847 invoked from network); 12 Aug 2002 08:13:21 -0000
Received: from unknown (HELO dogx200-017.intra.tryllian.net) (212.0.243.10)
  by outcast.tryllian.com with SMTP; 12 Aug 2002 08:13:21 -0000
Subject: Re: [Bug #976] Missing GPL exception and missing Copyright
	statements
From: Mark Wielaard <mark@klomp.org>
To: "Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
Cc: classpath@gnu.org
In-Reply-To: <20020811202835.GA31307@perseval.info.uqam.ca>
References: <E17dwfF-0001oW-00@subversions.gnu.org>
	<20020811174557.GA28476@perseval.info.uqam.ca>
	<1029088923.13419.188.camel@elsschot>
	<20020811191200.GA29795@perseval.info.uqam.ca>
	<1029095300.13541.198.camel@elsschot> 
	<20020811202835.GA31307@perseval.info.uqam.ca>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 12 Aug 2002 10:13:21 +0200
Message-Id: <1029140001.4020.28.camel@dogx200-017>
Mime-Version: 1.0
X-Message: scanned for viruses by AMaViS
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
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-08-11 at 22:28, Etienne M. Gagnon wrote:
> On Sun, Aug 11, 2002 at 09:48:20PM +0200, Mark Wielaard wrote:
> > See the following two emails from the archive:
> > http://mail.gnu.org/pipermail/classpath/2002-May/002287.html
> > http://mail.gnu.org/pipermail/classpath/2002-May/002335.html
> 
> So, if I understand correctly from the second message, the rmic
> generated files can be GPL+exp.  So, I'll go ahead and fix them
> as well as all the other generated files.

For files that have both the master and generated file in the Classpath
CVS tree that is OK. But for files like the LocaleInformation files you
really should first track down licenses of the original master files.
The reason I never changed them was because Tom did not clearly indicate
what the original license was and I haven't made the time to check it.
In the end though Brain and Paul decide these copyright/licensing issues
since they are the official maintainers.

> As the generating scripts don't seem to be called that often, I'll
> simply hack the copyright statement directly in the files, and let
> maintainers fix the scripts, eventually.
Could you add a statement to the scripts stating this and/or add a bug
to Savannah? Otherwise we might accidentally override them again without
the license notice.

> I just want the copyright statements to be in place for a new SableVM
> distribution.  A Debian developer noticed the incoherency in the
> copyright statements of the current
> sablevm-native/class-library-*.tar.gz files (which are directly
> derived from GNU Classpath).

You can always trust the Debian maintainers to be strict in these kinds
of things. Which is a good thing IMHO. Since people seem to be really
using Classpath now we might want to think about making an official
(non-alpha) release somewhere later this year.

If SableVM makes it into Debian you might also want to promote it a bit
by responding to the following thread:
http://lists.debian.org/debian-legal/2002/debian-legal-200208/msg00055.html
Some of the Debian maintainers seem to really want to get some GPL
incompatible but free software (mostly licensed under the APL) into
Debian main. But since Kaffe is GPLed there is some discussion how to do
this properly. Why they don't just use gcj is beyond me, but they seem
to want to use a more traditional byte code interpreter.
(The best solution would of course be to get the original programs GPL
compatible but that might be to much work since getting the Apache
license GPL compatible seems to be something that everybody has wanted
for years but nobody ever really made it so.)

Cheers,

Mark




From etienne.gagnon@uqam.ca Sun Aug 11 13:46:11 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17dwn5-00028J-00
	for classpath@gnu.org; Sun, 11 Aug 2002 13:46:11 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17dwn3-000287-00
	for classpath@gnu.org; Sun, 11 Aug 2002 13:46:10 -0400
Received: from anis.telecom.uqam.ca ([132.208.250.6] helo=uqam.ca)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17dwn3-000282-00
	for classpath@gnu.org; Sun, 11 Aug 2002 13:46:09 -0400
Received: from anis.telecom.uqam.ca (anis.telecom.uqam.ca [132.208.250.6])
	by sortant.uqam.ca (8.12.2/8.12.1) with SMTP id g7BHh3PP007125
	for <classpath@gnu.org>; Sun, 11 Aug 2002 13:43:04 -0400 (EDT)
Received: from antivirus.uqam.ca ([127.0.0.1])
 by anis.telecom.uqam.ca (NAVGW 2.5.1.12) with SMTP id M2002081113430322088
 for <classpath@gnu.org>; Sun, 11 Aug 2002 13:43:03 -0400
Received: from localhost (perseval.info.uqam.ca [132.208.137.96])
	by intrant.uqam.ca (8.12.2/8.12.1) with ESMTP id g7BHgpwF007104
	for <classpath@gnu.org>; Sun, 11 Aug 2002 13:42:51 -0400 (EDT)
Received: from egagnon by localhost with local (Exim 3.35 #1 (Debian))
	id 17dwjr-0007PS-00
	for <classpath@gnu.org>; Sun, 11 Aug 2002 13:42:51 -0400
Received: from anis.telecom.uqam.ca ([132.208.250.6] helo=uqam.ca)
	by localhost with esmtp (Exim 3.35 #1 (Debian))
	id 17dwh7-0007ON-00
	for <egagnon@perseval.info.uqam.ca>; Sun, 11 Aug 2002 13:40:02 -0400
Received: from anis.telecom.uqam.ca (anis.telecom.uqam.ca [132.208.250.6])
	by sortant.uqam.ca (8.12.2/8.12.1) with SMTP id g7BHd0PN007015
	for <etienne.gagnon@verifier.uqam.ca>; Sun, 11 Aug 2002 13:39:00 -0400 (EDT)
Received: from antivirus.uqam.ca ([127.0.0.1])
 by anis.telecom.uqam.ca (NAVGW 2.5.1.12) with SMTP id M2002081113390015555
 for <etienne.gagnon@verifier.uqam.ca>; Sun, 11 Aug 2002 13:39:00 -0400
Received: from subversions.gnu.org (subversions.gnu.org [199.232.41.2])
	by intrant.uqam.ca (8.12.2/8.12.1) with ESMTP id g7BHc5wF006996
	for <etienne.gagnon@uqam.ca>; Sun, 11 Aug 2002 13:38:05 -0400 (EDT)
Received: from www-data by subversions.gnu.org with local (Exim 3.35 #1 (Debian))
	id 17dwfF-0001oW-00; Sun, 11 Aug 2002 13:38:05 -0400
To: etienne.gagnon@uqam.ca, classpath-commits@gnu.org
Subject: [Bug #976] Missing GPL exception and missing Copyright statements
From: nobody@savannah.gnu.org
Message-Id: <E17dwfF-0001oW-00@subversions.gnu.org>
Date: Sun, 11 Aug 2002 13:38:05 -0400
Resent-From: etienne.gagnon@uqam.ca
Resent-Date: Sun, 11 Aug 2002 13:42:51 -0400
Resent-To: classpath@gnu.org
Resent-Message-Id: <E17dwjr-0007PS-00@localhost>
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
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/>

=================== BUG #976: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=976&group_id=85

Submitted by: egagnon                   Project: classpath                      
Submitted on: 2002-Aug-11 13:38
Severity:  5 - Major                    Resolution:  None                       
Assigned to:  None                      Status:  Open                           
Platform Version:  None                 

Summary:  Missing GPL exception and missing Copyright statements

Original Submission:  Hi!

All of the following files are either:

1- missing the GPL exception text, or

2- missing the copyright statement entirely.

I did NOT include in this list:

1- *.properties files, 

2- src/gnu/java/locale/LocaleInformation_*.java automatically generated files, and

3- src/gnu/java/rmi/dgc/*_Skel/Stub.java automatically generated files.

Here is the list:

src/com/sun/javadoc/ClassDoc.java
src/com/sun/javadoc/ConstructorDoc.java
src/com/sun/javadoc/Doc.java
src/com/sun/javadoc/DocErrorReporter.java
src/com/sun/javadoc/Doclet.java
src/com/sun/javadoc/ExecutableMemberDoc.java
src/com/sun/javadoc/FieldDoc.java
src/com/sun/javadoc/MemberDoc.java
src/com/sun/javadoc/MethodDoc.java
src/com/sun/javadoc/PackageDoc.java
src/com/sun/javadoc/ParamTag.java
src/com/sun/javadoc/Parameter.java
src/com/sun/javadoc/ProgramElementDoc.java
src/com/sun/javadoc/RootDoc.java
src/com/sun/javadoc/SeeTag.java
src/com/sun/javadoc/SerialFieldTag.java
src/com/sun/javadoc/Tag.java
src/com/sun/javadoc/ThrowsTag.java
src/com/sun/javadoc/Type.java
src/java/nio/channels/spi/AbstractChannel.java
src/java/nio/channels/spi/AbstractInterruptibleChannel.java
src/java/nio/channels/spi/AbstractSelectableChannel.java
src/java/nio/channels/spi/AbstractSelectionKey.java
src/java/nio/channels/spi/AbstractSelector.java
src/java/nio/channels/spi/SelectorProvider.java
src/javax/swing/plaf/ColorUIResource.java
src/javax/swing/plaf/DimensionUIResource.java
src/javax/swing/plaf/ButtonUI.java
src/javax/swing/plaf/ComponentUI.java
src/javax/swing/plaf/basic/BasicButtonUI.java
src/javax/swing/plaf/basic/BasicCheckBoxUI.java
src/javax/swing/plaf/basic/BasicDefaults.java
src/javax/swing/plaf/basic/BasicGraphicsUtils.java
src/javax/swing/plaf/basic/BasicLabelUI.java
src/javax/swing/plaf/basic/BasicListUI.java
src/javax/swing/plaf/basic/BasicOptionPaneUI.java
src/javax/swing/plaf/basic/BasicPanelUI.java
src/javax/swing/plaf/basic/BasicRadioButtonUI.java
src/javax/swing/plaf/basic/BasicScrollPaneUI.java
src/javax/swing/plaf/basic/BasicTabbedPaneUI.java
src/javax/swing/plaf/basic/BasicTextUI.java
src/javax/swing/plaf/basic/BasicToggleButtonUI.java
src/javax/swing/plaf/basic/BasicTreeUI.java
src/javax/swing/plaf/basic/BasicViewportUI.java
src/javax/swing/plaf/basic/BasicBorders.java
src/javax/swing/plaf/basic/BasicIconFactory.java
src/javax/swing/plaf/FontUIResource.java
src/javax/swing/plaf/LabelUI.java
src/javax/swing/plaf/ListUI.java
src/javax/swing/plaf/OptionPaneUI.java
src/javax/swing/plaf/PanelUI.java
src/javax/swing/plaf/TabbedPaneUI.java
src/javax/swing/plaf/TextUI.java
src/javax/swing/plaf/TreeUI.java
src/javax/swing/plaf/ViewportUI.java
src/javax/swing/plaf/metal/MetalLookAndFeel.java
src/javax/swing/plaf/IconUIResource.java
src/javax/swing/plaf/InsetsUIResource.java
src/javax/swing/table/DefaultTableCellRenderer.java
src/javax/swing/BorderFactory.java

May I go ahead and add the GPL exception to src/com/sun/javadoc/* files, and add the full copyright notice to the other files?




No Followups Have Been Posted




No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=976&group_id=85



From crawley@dstc.edu.au Tue Aug 13 10:19:43 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17ecWN-0003JV-00
	for classpath@gnu.org; Tue, 13 Aug 2002 10:19:43 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17ecVr-0003DL-00
	for classpath@gnu.org; Tue, 13 Aug 2002 10:19:42 -0400
Received: from piglet.dstc.edu.au ([130.102.176.1])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17ecVq-0003Cv-00
	for classpath@gnu.org; Tue, 13 Aug 2002 10:19:10 -0400
Received: from dstc.edu.au (soluble.dstc.edu.au [130.102.176.43])
	by piglet.dstc.edu.au (8.12.3/8.12.3) with ESMTP id g7DEJ1h7010588;
	Wed, 14 Aug 2002 00:19:01 +1000 (EST)
Message-Id: <200208131419.g7DEJ1h7010588@piglet.dstc.edu.au>
X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4
To: Mark Wielaard <mark@klomp.org>
cc: Stephen Crawley <crawley@dstc.edu.au>,
   "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu>, abies@pg.gda.pl,
   classpath@gnu.org, kissme-general@lists.sourceforge.net,
   crawley@piglet.dstc.edu.au, crawley@piglet.dstc.edu.au
Subject: Re: [Classpath] Re: Bug(s) in java.lang.String 
In-Reply-To: Message from Mark Wielaard <mark@klomp.org> 
   of "11 Aug 2002 19:38:16 +0200." <1029087496.6555.166.camel@elsschot> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 14 Aug 2002 00:19:01 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Spam-Checked: SPAMASSASSIN: This message probably not SPAM
X-Spam-Score: -4.4, Required: 5
X-Virus-Scanned: Message: ok
X-Scanned-By: MIMEDefang 2.9 (www dot roaringpenguin dot com slash mimedefang)
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
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@klomp.org said:
> Yeah. It seems to be legal for a VM to do tricks like this. Eric Blake
> suggested to just use System.arraycopy to make sure that the array is
> always zero based. The attached patch does that when the char[] is not
> already zero based. I have not yet tested it. Could you test if this
> works with Kissme?

Mark,

The patch works for Kissme.  

Thanks.

-- Steve




From mark@wildebeest.org Tue Aug 13 17:16:07 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17ej1K-0005As-00
	for classpath@gnu.org; Tue, 13 Aug 2002 17:16:06 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17ej1F-00059f-00
	for classpath@gnu.org; Tue, 13 Aug 2002 17:16:06 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17ej1E-00059a-00
	for classpath@gnu.org; Tue, 13 Aug 2002 17:16:01 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17eizv-0006te-00; Tue, 13 Aug 2002 23:14:39 +0200
Received: from mark by elsschot with local (Exim 3.35 #1 (Debian))
	id 17ej0g-0002Ub-00; Tue, 13 Aug 2002 23:15:26 +0200
Subject: Re: [PATCH] doc cleanups to jni/java-io
From: Mark Wielaard <mark@klomp.org>
To: "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu>
Cc: classpath@gnu.org
In-Reply-To: <Pine.GSO.4.10.10208061538360.14642-100000@catfish.lcs.mit.edu>
References: <Pine.GSO.4.10.10208061538360.14642-100000@catfish.lcs.mit.edu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.7 
Date: 13 Aug 2002 23:15:26 +0200
Message-Id: <1029273326.24499.86.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.11
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-08-06 at 21:44, C. Scott Ananian wrote:
> The appended patch cleans up the comemnts in native/jni/java-io:
>  1) all sentences end in a period.
>  2) all methods have (correct) JNI class/method/signature information.
>  3) several typos/transpositions/extra spaces quashed.
> 
> No changes to code.

Thanks for these and the other two cleanup.
I just submitted them to CVS.

2002-08-13  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>

    * native/jni/java-util/java_util_TimeZone.c
    (Java_java_util_TimeZone_getDefaultTimeZoneId): Add standard jni doc
    and remove call to NewGlobalRef.
    * native/jni/java-lang/java_lang_Double.c: Clean up jni docs.
    * native/jni/java-io/java_io_File.c: Likewise.
    * native/jni/java-io/java_io_FileDescriptor.c: Likewise.
    * native/jni/java-io/java_io_FileInputStream.c: Likewise.
    * native/jni/java-io/java_io_FileOutputStream.c: Likewise.
    * native/jni/java-io/java_io_ObjectInputStream.c: Likewise.
    * native/jni/java-io/java_io_ObjectOutputStream.c: Likewise.
    * native/jni/java-io/java_io_RandomAccessFile.c: Likewise.

Normally we ask people to assign copyright for Classpath additions to
the FSF. Since these were "obvious/automatic" changes that is not needed
now. But if you want to submit other more substantial changes in the
future you might want to contact Brian Jones to ask about what would be
needed.

Thanks,

Mark



From mark@wildebeest.org Tue Aug 13 17:31:59 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17ejGh-0007Lv-00
	for classpath@gnu.org; Tue, 13 Aug 2002 17:31:59 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17ejGf-0007Lj-00
	for classpath@gnu.org; Tue, 13 Aug 2002 17:31:58 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17ejGf-0007Le-00
	for classpath@gnu.org; Tue, 13 Aug 2002 17:31:57 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17ejFh-0006u5-00; Tue, 13 Aug 2002 23:30:57 +0200
Received: from mark by elsschot with local (Exim 3.35 #1 (Debian))
	id 17ejGS-0002gD-00; Tue, 13 Aug 2002 23:31:44 +0200
Subject: Re: Bug in java.security.SecureClassLoader?
From: Mark Wielaard <mark@klomp.org>
To: Philip Fong <pwlfong@users.sourceforge.net>
Cc: classpath@gnu.org
In-Reply-To: <Pine.SOL.4.10.10208061259320.1269-200000@css.css.sfu.ca>
References: <Pine.SOL.4.10.10208061259320.1269-200000@css.css.sfu.ca>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.7 
Date: 13 Aug 2002 23:31:44 +0200
Message-Id: <1029274304.24499.112.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.11
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-08-06 at 22:09, Philip Fong wrote:
> The behavior of java.security.SecureClassLoader seems to differ from
> that specified in Java 1.3.1 API spec.  According to the API spec,
> method defineClass(String, byte[], int, int, CodeSource) may
> optionally ignore the CodeSource argument if it is null.  In the
> 0.04 release, a null CodeSource will cause a NullPointerException
> inside getPermissions.  I checked with the cvs just now, and
> it looks like the problem has not been solved.  Attached is
> a small patch that fix this.  Is this the right way of doing
> it?
> 
> Also, the fix also remove the catching of ClassFormatError.  That
> error is raised if the classfile is corrupted, and IMHO such a serious
> error should propagate upward to the caller.  Am I understanding
> correctly?

Yes. The old behavior was clearly broken.
I applied this patch to CVS.

2002-08-13  Philip Fong <pwlfong@users.sourceforge.net>

    * java/security/SecureClassLoader.java (SecureClassLoader): Only
    create ProtectionDomain when CodeSource is not null. Don't catch and
    ignore ClassFormatError.

Thanks,

Mark



From mark@wildebeest.org Tue Aug 13 17:36:38 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17ejLC-0007oi-00
	for classpath@gnu.org; Tue, 13 Aug 2002 17:36:38 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17ejKg-0007mH-00
	for classpath@gnu.org; Tue, 13 Aug 2002 17:36:37 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17ejKg-0007mC-00
	for classpath@gnu.org; Tue, 13 Aug 2002 17:36:06 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17ejIZ-0006uR-00; Tue, 13 Aug 2002 23:33:55 +0200
Received: from mark by elsschot with local (Exim 3.35 #1 (Debian))
	id 17ejJL-0002gc-00; Tue, 13 Aug 2002 23:34:43 +0200
Subject: Re: [Classpath] Re: Bug(s) in java.lang.String
From: Mark Wielaard <mark@klomp.org>
To: Stephen Crawley <crawley@dstc.edu.au>
Cc: "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu>, abies@pg.gda.pl, 
	classpath@gnu.org, kissme-general@lists.sourceforge.net, 
	crawley@piglet.dstc.edu.au
In-Reply-To: <200208131419.g7DEJ1h7010588@piglet.dstc.edu.au>
References: <200208131419.g7DEJ1h7010588@piglet.dstc.edu.au>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.7 
Date: 13 Aug 2002 23:34:42 +0200
Message-Id: <1029274482.24519.119.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.11
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-08-13 at 16:19, Stephen Crawley wrote:
> The patch works for Kissme.  

Thanks for testing. I have committed it to CVS now.

2002-08-13  Mark Wielaard <mark@klomp.org>

    * java/lang/Character.java (zeroBasedStringValue): New method.
    (blocks): Use zeroBasedStringValue().
    (data): Likewise.
    (numValue): Likewise.
    (upper): Likewise.
    (lower): Likewise.
    (direction): Likewise.
    (title): Likewise.
    * java/lang/String.java (upperExpand): Use zeroBasedStringValue()
    from Character.
    (upperSpecial): Likewise.


Cheers,

Mark



From tromey@redhat.com Tue Aug 13 19:54:00 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17elU8-0007OQ-00
	for classpath@gnu.org; Tue, 13 Aug 2002 19:54:00 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17elU7-0007O9-00
	for classpath@gnu.org; Tue, 13 Aug 2002 19:54:00 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17elU6-0007Nz-00
	for classpath@gnu.org; Tue, 13 Aug 2002 19:53:58 -0400
Received: from fleche.redhat.com (ta0202.peakpeak.com [204.144.244.202])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id RAA21052;
	Tue, 13 Aug 2002 17:53:56 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id CFB0A4F80A8; Tue, 13 Aug 2002 17:57:01 -0600 (MDT)
To: Classpath Project <classpath@gnu.org>
Subject: Runtime fixlet
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution: Tom
X-Zippy: Is a tattoo real, like a curb or a battleship?
 Or are we suffering in Safeway?
Date: 13 Aug 2002 17:57:01 -0600
Message-ID: <877kiuqpma.fsf@fleche.redhat.com>
Lines: 34
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
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 changes the reference VM's Runtime so that it doesn't create a
new environment when ENV==null.  Is this something that ought to go
in?  I'm putting it into libgcj (along with a patch to pass DIR to
execInternal), but I don't really know the rules for changing this
part of Classpath.

The rationale for this patch is that you want to preserve the case
where ENV==null so that the native code can decide whether to preserve
the current process' environment.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* vm/reference/java/lang/Runtime.java (exec): Don't create new
	environment if ENV==null.

Index: vm/reference/java/lang/Runtime.java
===================================================================
RCS file: /cvsroot/classpath/classpath/vm/reference/java/lang/Runtime.java,v
retrieving revision 1.18
diff -u -r1.18 Runtime.java
--- vm/reference/java/lang/Runtime.java 28 Apr 2002 17:36:45 -0000 1.18
+++ vm/reference/java/lang/Runtime.java 13 Aug 2002 23:50:49 -0000
@@ -538,8 +538,6 @@
     SecurityManager sm = securityManager; // Be thread-safe!
     if (sm != null)
       sm.checkExec(cmd[0]);
-    if (env == null)
-      env = new String[0];
     //XXX Should be:    return execInternal(cmd, env, dir);
     return execInternal(cmd, env);
   }



From jewel@pixie.co.za Wed Aug 14 05:47:27 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17eukR-0000pL-00
	for classpath@gnu.org; Wed, 14 Aug 2002 05:47:27 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17eukP-0000p9-00
	for classpath@gnu.org; Wed, 14 Aug 2002 05:47:26 -0400
Received: from spamisevil.test.ie.vianw.net ([212.17.60.214] helo=lenny.elandtech.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17eukK-0000ng-00; Wed, 14 Aug 2002 05:47:21 -0400
Received: from [192.168.100.211] (helo=localhost.localdomain ident=jleuner)
	by lenny.elandtech.com with esmtp (Exim 3.35 #1 (Debian))
	id 17euW0-0004ZX-00; Wed, 14 Aug 2002 09:32:32 +0000
Subject: Re: Latest submission package to run commercial applications and
	work loads
From: John Leuner <jewel@pixie.co.za>
To: Brian Jones <cbj@gnu.org>
Cc: "Wu, Gansha" <gansha.wu@intel.com>, "'classpath@gnu.org'"
	 <classpath@gnu.org>
In-Reply-To: <m3u1mgznnp.fsf@lyta.haphazard.org>
References: 
	<A577A8CE35DBD211AC3F00A0C9E011540509964F@bjsmsx90.bj.intel.com>
	<1028041429.14350.1.camel@bapli>  <m3u1mgznnp.fsf@lyta.haphazard.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.5 
Date: 14 Aug 2002 10:45:12 +0100
Message-Id: <1029318313.11195.88.camel@bapli>
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.11
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, 2002-07-31 at 02:33, Brian Jones wrote:
> John Leuner <jewel@pixie.co.za> writes:
> 
> > I'll take responsibility for applying the reflection changes (and maybe
> > other things later) if that's ok with everyone.
> 
> These changes cannot be accepted just yet, a small formality must
> happen first to satisfy our agreement with Intel.  I will notify the
> list when this has taken place.  

Any news on this? Or did I miss it?

John Leuner





From chrisx.j.benenati@intel.com Wed Aug 14 16:10:08 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17f4T2-0003nn-00
	for classpath@gnu.org; Wed, 14 Aug 2002 16:10:08 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17f4T0-0003md-00
	for classpath@gnu.org; Wed, 14 Aug 2002 16:10:07 -0400
Received: from hdfdns01.hd.intel.com ([192.52.58.10] helo=mail1.hd.intel.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17f4T0-0003mL-00
	for classpath@gnu.org; Wed, 14 Aug 2002 16:10:06 -0400
Received: from fmsmsxvs040.fm.intel.com (fmsmsxvs040.fm.intel.com [132.233.42.124])
	by mail1.hd.intel.com (8.11.6/8.11.6/d: solo.mc,v 1.42 2002/05/23 22:21:11 root Exp $) with SMTP id g7EKA4604575
	for <classpath@gnu.org>; Wed, 14 Aug 2002 20:10:04 GMT
Received: from fmsmsx28.fm.intel.com ([132.233.42.28])
 by fmsmsxvs040.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002081413090522073
 for <classpath@gnu.org>; Wed, 14 Aug 2002 13:09:05 -0700
Received: by fmsmsx28.fm.intel.com with Internet Mail Service (5.5.2653.19)
	id <PS8NNK1H>; Wed, 14 Aug 2002 13:10:04 -0700
Message-ID: <288F9BF66CD9D5118DF400508B68C446F13C43@orsmsx113.jf.intel.com>
From: "Benenati, ChrisX J" <chrisx.j.benenati@intel.com>
To: "'classpath@gnu.org'" <classpath@gnu.org>
Subject: Re: Bug(s) in java.lang.String 
Date: Wed, 14 Aug 2002 13:10:00 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="ISO-8859-1"
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
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/>

There seems to be a related problem with getBytes(String enc) and
getBytes().

Running under ORP, these methods are returning all of the trailing nul bytes
as well as the valid characters in the String.

Unfortunately, the code I'm running is part of a huge mass of code belonging
to someone else, and I have been unable so far to successfully extract a
simple example of the problem.



From mark@wildebeest.org Wed Aug 14 16:36:51 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17f4st-0006qM-00
	for classpath@gnu.org; Wed, 14 Aug 2002 16:36:51 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17f4sN-0006oT-00
	for classpath@gnu.org; Wed, 14 Aug 2002 16:36:50 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17f4sN-0006oN-00
	for classpath@gnu.org; Wed, 14 Aug 2002 16:36:19 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17f4rW-0000ib-00; Wed, 14 Aug 2002 22:35:26 +0200
Received: from mark by elsschot with local (Exim 3.35 #1 (Debian))
	id 17f4sI-0005H0-00; Wed, 14 Aug 2002 22:36:14 +0200
Date: Wed, 14 Aug 2002 22:36:14 +0200
From: Mark Wielaard <mark@klomp.org>
To: "Benenati, ChrisX J" <chrisx.j.benenati@intel.com>
Cc: "'classpath@gnu.org'" <classpath@gnu.org>
Subject: Re: Bug(s) in java.lang.String
Message-ID: <20020814203614.GA19657@elsschot>
References: <288F9BF66CD9D5118DF400508B68C446F13C43@orsmsx113.jf.intel.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <288F9BF66CD9D5118DF400508B68C446F13C43@orsmsx113.jf.intel.com>
User-Agent: Mutt/1.4i
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
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, Aug 14, 2002 at 01:10:00PM -0700, Benenati, ChrisX J wrote:
> There seems to be a related problem with getBytes(String enc) and
> getBytes().
> 
> Running under ORP, these methods are returning all of the trailing nul bytes
> as well as the valid characters in the String.

This seems like a bug in gnu.java.io.encode.Encoder.

Index: gnu/java/io/encode/Encoder.java
===================================================================
RCS file: /cvsroot/classpath/classpath/gnu/java/io/encode/Encoder.java,v
retrieving revision 1.3
diff -u -r1.3 Encoder.java
--- gnu/java/io/encode/Encoder.java	22 Jan 2002 22:26:57 -0000	1.3
+++ gnu/java/io/encode/Encoder.java	14 Aug 2002 20:27:41 -0000
@@ -227,9 +227,9 @@
 public byte[]
 convertToBytes(char[] buf, int offset, int len) throws CharConversionException
 {
-  byte[] bbuf = new byte[bytesInCharArray(buf)];
+  byte[] bbuf = new byte[bytesInCharArray(buf, offset, len)];
 
-  return(convertToBytes(buf, offset, len, bbuf, offset));
+  return(convertToBytes(buf, offset, len, bbuf, 0));
 }
 
 /*************************************************************************/

This was found by just reading the code since I am unable to compile and
test/run at the moment. So this might not be it. But if you could try it
out that would be highly appreciated.

Thanks,

Mark

-- 
GNU/Linux is becoming popular for practical reasons. It's a good system.
The danger is people will like it because it's practical and it will become
popular without anyone having the vaguest idea of the ideals behind it,
which would be an ironic way of failing. <http://www.gnu.org/philosophy/>



From chrisx.j.benenati@intel.com Thu Aug 15 12:03:03 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17fN5S-0001L7-00
	for classpath@gnu.org; Thu, 15 Aug 2002 12:03:02 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17fN5Q-0001Kh-00
	for classpath@gnu.org; Thu, 15 Aug 2002 12:03:02 -0400
Received: from fmr03.intel.com ([143.183.121.5] helo=hermes.sc.intel.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17fN5Q-0001Kb-00
	for classpath@gnu.org; Thu, 15 Aug 2002 12:03:00 -0400
Received: from petasus.sc.intel.com (petasus.sc.intel.com [10.3.253.4])
	by hermes.sc.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.48 2002/05/24 00:39:04 root Exp $) with ESMTP id g7FG2xd02194
	for <classpath@gnu.org>; Thu, 15 Aug 2002 16:02:59 GMT
Received: from fmsmsxvs042.fm.intel.com (fmsmsxvs042.fm.intel.com [132.233.42.128])
	by petasus.sc.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.22 2002/05/24 00:38:22 root Exp $) with SMTP id g7FG2Xg04294
	for <classpath@gnu.org>; Thu, 15 Aug 2002 16:02:33 GMT
Received: from fmsmsx26.fm.intel.com ([132.233.42.26])
 by fmsmsxvs042.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002081509041308469
 ; Thu, 15 Aug 2002 09:04:13 -0700
Received: by fmsmsx26.fm.intel.com with Internet Mail Service (5.5.2653.19)
	id <NWJ452V7>; Thu, 15 Aug 2002 09:02:58 -0700
Message-ID: <288F9BF66CD9D5118DF400508B68C446F13C49@orsmsx113.jf.intel.com>
From: "Benenati, ChrisX J" <chrisx.j.benenati@intel.com>
To: "'Mark Wielaard'" <mark@klomp.org>,
   "Benenati, ChrisX J"
	 <chrisx.j.benenati@intel.com>
Cc: "'classpath@gnu.org'" <classpath@gnu.org>
Subject: RE: Bug(s) in java.lang.String
Date: Thu, 15 Aug 2002 09:02:51 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
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/>

Seems to fix the problem

> -----Original Message-----
> From: Mark Wielaard [mailto:mark@klomp.org]
> Sent: Wednesday, August 14, 2002 1:36 PM
> To: Benenati, ChrisX J
> Cc: 'classpath@gnu.org'
> Subject: Re: Bug(s) in java.lang.String
> 
> 
> Hi,
> 
> On Wed, Aug 14, 2002 at 01:10:00PM -0700, Benenati, ChrisX J wrote:
> > There seems to be a related problem with getBytes(String enc) and
> > getBytes().
> > 
> > Running under ORP, these methods are returning all of the 
> trailing nul bytes
> > as well as the valid characters in the String.
> 
> This seems like a bug in gnu.java.io.encode.Encoder.
> 
> Index: gnu/java/io/encode/Encoder.java
> ===================================================================
> RCS file: 
> /cvsroot/classpath/classpath/gnu/java/io/encode/Encoder.java,v
> retrieving revision 1.3
> diff -u -r1.3 Encoder.java
> --- gnu/java/io/encode/Encoder.java	22 Jan 2002 22:26:57 
> -0000	1.3
> +++ gnu/java/io/encode/Encoder.java	14 Aug 2002 20:27:41 -0000
> @@ -227,9 +227,9 @@
>  public byte[]
>  convertToBytes(char[] buf, int offset, int len) throws 
> CharConversionException
>  {
> -  byte[] bbuf = new byte[bytesInCharArray(buf)];
> +  byte[] bbuf = new byte[bytesInCharArray(buf, offset, len)];
>  
> -  return(convertToBytes(buf, offset, len, bbuf, offset));
> +  return(convertToBytes(buf, offset, len, bbuf, 0));
>  }
>  
>  
> /*************************************************************
> ************/
> 
> This was found by just reading the code since I am unable to 
> compile and
> test/run at the moment. So this might not be it. But if you 
> could try it
> out that would be highly appreciated.
> 
> Thanks,
> 
> Mark
> 
> -- 
> GNU/Linux is becoming popular for practical reasons. It's a 
> good system.
> The danger is people will like it because it's practical and 
> it will become
> popular without anyone having the vaguest idea of the ideals 
> behind it,
> which would be an ironic way of failing. 
<http://www.gnu.org/philosophy/>



From mark@wildebeest.org Thu Aug 15 15:59:14 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17fQm2-00017h-00
	for classpath@gnu.org; Thu, 15 Aug 2002 15:59:14 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17fQlz-00016i-00
	for classpath@gnu.org; Thu, 15 Aug 2002 15:59:12 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17fQlz-00016J-00
	for classpath@gnu.org; Thu, 15 Aug 2002 15:59:11 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17fQl8-0002nJ-00; Thu, 15 Aug 2002 21:58:18 +0200
Received: from mark by elsschot with local (Exim 3.35 #1 (Debian))
	id 17fQlu-0004a8-00; Thu, 15 Aug 2002 21:59:06 +0200
Subject: RE: Bug(s) in java.lang.String
From: Mark Wielaard <mark@klomp.org>
To: "Benenati, ChrisX J" <chrisx.j.benenati@intel.com>
Cc: "'classpath@gnu.org'" <classpath@gnu.org>
In-Reply-To: <288F9BF66CD9D5118DF400508B68C446F13C49@orsmsx113.jf.intel.com>
References: <288F9BF66CD9D5118DF400508B68C446F13C49@orsmsx113.jf.intel.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.7 
Date: 15 Aug 2002 21:59:06 +0200
Message-Id: <1029441546.16224.21.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.11
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-08-15 at 18:02, Benenati, ChrisX J wrote:
> Seems to fix the problem

Thanks for testing. I have created a Mauve test so I could reproduce it
with Kissme and checked in this fix.

2002-08-15  Mark Wielaard <mark@klomp.org>

    * gnu/java/io/encode/Encoder.java (convertToBytes): Use offset and
    len arguments.

Cheers,

Mark



From mark@wildebeest.org Thu Aug 15 16:18:02 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17fR4E-0003yX-00
	for classpath@gnu.org; Thu, 15 Aug 2002 16:18:02 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17fR4C-0003yI-00
	for classpath@gnu.org; Thu, 15 Aug 2002 16:18:01 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17fR4B-0003yD-00
	for classpath@gnu.org; Thu, 15 Aug 2002 16:17:59 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17fR3G-0002sZ-00; Thu, 15 Aug 2002 22:17:02 +0200
Received: from mark by elsschot with local (Exim 3.35 #1 (Debian))
	id 17fR43-0004bc-00; Thu, 15 Aug 2002 22:17:51 +0200
Subject: Re: Runtime fixlet
From: Mark Wielaard <mark@klomp.org>
To: tromey@redhat.com
Cc: Classpath Project <classpath@gnu.org>
In-Reply-To: <877kiuqpma.fsf@fleche.redhat.com>
References: <877kiuqpma.fsf@fleche.redhat.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.7 
Date: 15 Aug 2002 22:17:51 +0200
Message-Id: <1029442671.15747.29.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.11
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-08-14 at 01:57, Tom Tromey wrote:
> This changes the reference VM's Runtime so that it doesn't create a
> new environment when ENV==null.  Is this something that ought to go
> in?  I'm putting it into libgcj (along with a patch to pass DIR to
> execInternal), but I don't really know the rules for changing this
> part of Classpath.
> 
> The rationale for this patch is that you want to preserve the case
> where ENV==null so that the native code can decide whether to preserve
> the current process' environment.

I think this change should go in. But be sure to update the execInternal
documentation and add an item to the NEWS file to alert VM implementors
that the contract has changed. (Classpath currently does not contain any
native code for java.lang.Runtime.) As long as we are still in alpha we
don't have to be to strict about the VM interface as long as we document
it clearly.

In the future we can split this in a common Runtime.java and a
VMRuntime.java part that contains only the VM interface. That would make
it more clear what impacts VM writers and what is the responsibility of
the Classpath hackers. I have a couple of ideas about making the VM
interface more clear which I would like to test out when I try
interfacing with Kaffe later this year.

Cheers,

Mark



From a_rueckert@gmx.net Fri Aug 16 08:01:57 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17ffnh-00086Z-00
	for classpath@gnu.org; Fri, 16 Aug 2002 08:01:57 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17ffne-00086G-00
	for classpath@gnu.org; Fri, 16 Aug 2002 08:01:56 -0400
Received: from sproxy.gmx.de ([213.165.64.20] helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.10)
	id 17ffne-000866-00
	for classpath@gnu.org; Fri, 16 Aug 2002 08:01:54 -0400
Received: (qmail 9089 invoked by uid 0); 16 Aug 2002 12:01:52 -0000
Received: from krsn-d9b99977.pool.mediaways.net (HELO hun.bre.de) (217.185.153.119)
  by mail.gmx.net (mp006-rz3) with SMTP; 16 Aug 2002 12:01:52 -0000
From: Andreas Rueckert <a_rueckert@gmx.net>
Reply-To: Classpath Project <classpath@gnu.org>
To: Classpath Project <classpath@gnu.org>
Subject: OT: GPL and jar file
Date: Fri, 16 Aug 2002 14:01:41 +0200
X-Mailer: KMail [version 1.0.28]
Content-Type: text/plain
MIME-Version: 1.0
Message-Id: <0208161403520K.00767@hun.bre.de>
Content-Transfer-Encoding: 8bit
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
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 have a licensing question, that you might be able to answer: are 2 classes in
a jar file 'linked' in a GPL way? I mean, if class A is under GPL and I put it
in a jar file with class B, does it restrict the license of B to GPL? Or could
B still be closed source?

Ciao,
Andreas



From per@bothner.com Fri Aug 16 17:28:30 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17fody-0007Xw-00
	for classpath@gnu.org; Fri, 16 Aug 2002 17:28:30 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17fodw-0007Xc-00
	for classpath@gnu.org; Fri, 16 Aug 2002 17:28:29 -0400
Received: from mail-out1.apple.com ([17.254.0.52])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17fodv-0007XD-00
	for classpath@gnu.org; Fri, 16 Aug 2002 17:28:27 -0400
Received: from mailgate1.apple.com (A17-128-100-225.apple.com [17.128.100.225])
	by mail-out1.apple.com (8.11.3/8.11.3) with ESMTP id g7GLSQf10768
	for <classpath@gnu.org>; Fri, 16 Aug 2002 14:28:26 -0700 (PDT)
Received: from scv1.apple.com (scv1.apple.com) by mailgate1.apple.com
 (Content Technologies SMTPRS 4.2.1) with ESMTP id <T5cbfdf2aa9118064e1398@mailgate1.apple.com> for <classpath@gnu.org>;
 Fri, 16 Aug 2002 14:27:44 -0700
Received: from bothner.com (il0102b-dhcp197.apple.com [17.201.26.247])
	by scv1.apple.com (8.11.3/8.11.3) with ESMTP id g7GLSPb08537
	for <classpath@gnu.org>; Fri, 16 Aug 2002 14:28:25 -0700 (PDT)
Message-ID: <3D5D703E.7080308@bothner.com>
Date: Fri, 16 Aug 2002 14:35:58 -0700
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020722
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Classpath Project <classpath@gnu.org>
Subject: Re: OT: GPL and jar file
References: <0208161403520K.00767@hun.bre.de>
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.11
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/>

Andreas Rueckert wrote:
> I have a licensing question, that you might be able to answer: are 2 classes in
> a jar file 'linked' in a GPL way? I mean, if class A is under GPL and I put it
> in a jar file with class B, does it restrict the license of B to GPL? Or could
> B still be closed source?

This is a legal question, and I don't think anyone here can really
answer it.

My guess is that just placing the  classes in a jar doesn't "link" them,
but loading both classes into the same JVM does.  However, this is
like the old "user-does-the-link" ploy which (I believe) NeXT tried
(for the Objective-C compiler).  The FSF sicced their lawyers on them
and NeXT ended up Free'ing their Objective-C compiler.

A determining factor is likely to be to what extent B depends on A.
If they are completely independent, it is probably ok ("mere
aggregation"); but if B depends on A, I wouldn't try it.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/




From a_rueckert@gmx.net Sat Aug 17 04:36:40 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17fz4Z-0008Ia-00
	for classpath@gnu.org; Sat, 17 Aug 2002 04:36:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17fz4X-0008IO-00
	for classpath@gnu.org; Sat, 17 Aug 2002 04:36:39 -0400
Received: from pop.gmx.net ([213.165.64.20] helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.10)
	id 17fz4X-0008II-00
	for classpath@gnu.org; Sat, 17 Aug 2002 04:36:37 -0400
Received: (qmail 31640 invoked by uid 0); 17 Aug 2002 08:36:34 -0000
Received: from a214c.pppool.de (HELO hun.bre.de) (213.6.33.76)
  by mail.gmx.net (mp014-rz3) with SMTP; 17 Aug 2002 08:36:34 -0000
From: Andreas Rueckert <a_rueckert@gmx.net>
Reply-To: Classpath Project <classpath@gnu.org>
To: Classpath Project <classpath@gnu.org>
Subject: Re: OT: GPL and jar file
Date: Sat, 17 Aug 2002 10:33:19 +0200
X-Mailer: KMail [version 1.0.28]
Content-Type: text/plain
Cc: oophp@yahoogroups.com
MIME-Version: 1.0
Message-Id: <0208171038470A.00767@hun.bre.de>
Content-Transfer-Encoding: 8bit
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
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 Per and and all!

Thanks a lot for your answer.

On Fre, 16 Aug 2002 Per Bothner wrote:

--<snip>--

> This is a legal question, and I don't think anyone here can really
> answer it.
>
> My guess is that just placing the  classes in a jar doesn't "link" them,
> but loading both classes into the same JVM does.  However, this is
> like the old "user-does-the-link" ploy which (I believe) NeXT tried
> (for the Objective-C compiler).  The FSF sicced their lawyers on them
> and NeXT ended up Free'ing their Objective-C compiler.

That would mean it depends on the JVM? If you have a JVM, that loads all the
classes at once, B becomes GPLed, if the JVM loads the classes on demand, B
keeps it's license?

> A determining factor is likely to be to what extent B depends on A.
> If they are completely independent, it is probably ok ("mere
> aggregation"); but if B depends on A, I wouldn't try it.

Let be elaborate a bit further on my question. My problem is a Installer called
izPack ( http://www.izforge.com/izpack/ ), that is under GPL. It creates a
single Jar with the installer classes (under GPL) and the app to be installed.
Julien Ponge (izPack author) says, you can install even closed source apps with
the tool, while I'm uncertain. If I start the installation with
'java -jar installer.jar' and the JVM loads all the classes in the jar, closed
source classes in the jar would become GPLed?
Sorry for the OT discussion, but the same problem would occur, if anyone would
include classpath code in a non-GPLed project, so I thought you might have an
answer.

Ciao,
Andreas



From per@bothner.com Sat Aug 17 11:32:00 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17g5YW-0000YG-00
	for classpath@gnu.org; Sat, 17 Aug 2002 11:32:00 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17g5YU-0000Y1-00
	for classpath@gnu.org; Sat, 17 Aug 2002 11:31:59 -0400
Received: from adsl-216-102-199-253.dsl.snfc21.pacbell.net ([216.102.199.253] helo=bothner.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17g5YT-0000Xt-00
	for classpath@gnu.org; Sat, 17 Aug 2002 11:31:57 -0400
Received: from bothner.com (eureka.bothner.com [192.168.1.9])
	by bothner.com (8.11.6/8.11.6) with ESMTP id g7HFbqu23882;
	Sat, 17 Aug 2002 08:37:52 -0700
Message-ID: <3D5E6E36.1050705@bothner.com>
Date: Sat, 17 Aug 2002 08:39:34 -0700
From: Per Bothner <per@bothner.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020814
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Classpath Project <classpath@gnu.org>
CC: oophp@yahoogroups.com
Subject: Re: OT: GPL and jar file
References: <0208171038470A.00767@hun.bre.de>
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.11
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/>

Andreas Rueckert wrote:
> That would mean it depends on the JVM? If you have a JVM, that loads all the
> classes at once, B becomes GPLed, if the JVM loads the classes on demand, B
> keeps it's license?

I don't see how that makes a difference.

> Let be elaborate a bit further on my question. My problem is a Installer called
> izPack ( http://www.izforge.com/izpack/ ), that is under GPL. It creates a
> single Jar with the installer classes (under GPL) and the app to be installed.
> Julien Ponge (izPack author) says, you can install even closed source apps with
> the tool, while I'm uncertain.

Well, if he owns the copyright, he gets to decide, a he is the one
who has standing to sue.  And maybe his interpretation is right,
fo his code.  But he should make it clear, in the license, if he
hasn't already.

> Sorry for the OT discussion, but the same problem would occur, if anyone would
> include classpath code in a non-GPLed project, so I thought you might have an
> answer.

But Classpath is not GPL - it is GPL with an extra exception allowing
you to link it with proprietary code.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/




From mark@wildebeest.org Sun Aug 18 12:18:02 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17gSkb-0003S0-00
	for classpath@gnu.org; Sun, 18 Aug 2002 12:18:01 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17gSkW-0003Rl-00
	for classpath@gnu.org; Sun, 18 Aug 2002 12:18:01 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17gSkV-0003Rg-00
	for classpath@gnu.org; Sun, 18 Aug 2002 12:17:56 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17gSjf-0000eo-00
	for <classpath@gnu.org>; Sun, 18 Aug 2002 18:17:03 +0200
Received: from mark by elsschot with local (Exim 3.35 #1 (Debian))
	id 17gSkU-0004h7-00
	for <classpath@gnu.org>; Sun, 18 Aug 2002 18:17:54 +0200
Subject: Security provider updates and gnu.classpath.home
From: Mark Wielaard <mark@klomp.org>
To: classpath@gnu.org
Content-Type: multipart/mixed; boundary="=-IaT2n1d8rrxZK1FiX2Lc"
X-Mailer: Ximian Evolution 1.0.7 
Date: 18 Aug 2002 18:17:53 +0200
Message-Id: <1029687473.5581.53.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.11
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/>

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

Hi,

Raif Naffah, the gnu.crypto maintainer, send me some updates for our
MessageDigest implementation. While testing it against Kissme I found a
couple of deficiencies in our java.security.Security class. Which are
fixed by the following patch:

2002-08-18  Mark Wielaard <mark@klomp.org>

    * gnu/classpath/Configuration.java.in: Add CLASSPATH_HOME field.
    * java/lang/System.java: Set gnu.classpath.home property.
    * java/security/Security.java: Use java.home are gnu.classpath.home
    to load providers.
    (loadProviders): Extra dir argument.
    (getProvider): Return null when not found.

The only interesting thing added is the gnu.classpath.home system
property which can be used to find installed files like the
classpath.security file. Maybe it can also be used in other situations
to get at classpath data regardless of the actual VM used.

Cheers,

Mark

--=-IaT2n1d8rrxZK1FiX2Lc
Content-Disposition: attachment; filename=security.patch
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-patch; name=security.patch; charset=ISO-8859-15

Index: gnu/classpath/Configuration.java.in
=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/gnu/classpath/Configuration.java.in,=
v
retrieving revision 1.6
diff -u -r1.6 Configuration.java.in
--- gnu/classpath/Configuration.java.in	22 Jan 2002 22:26:56 -0000	1.6
+++ gnu/classpath/Configuration.java.in	18 Aug 2002 16:16:44 -0000
@@ -44,6 +44,14 @@
 public interface Configuration
 {
   /**
+   * The value of CLASSPATH_HOME is the location that the classpath
+   * libraries and support files where installed in. It is set according t=
o
+   * the argument for --prefix given to configure and used to set the
+   * System property gnu.classpath.home.
+   */
+  String CLASSPATH_HOME =3D "@prefix@";
+
+  /**
    * The value of DEBUG is substituted according to whether the
    * "--enable-debug" argument was passed to configure. Code
    * which is made conditional based on the value of this flag - typically=
=20
Index: java/lang/System.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: /cvsroot/classpath/classpath/java/lang/System.java,v
retrieving revision 1.22
diff -u -r1.22 System.java
--- java/lang/System.java	30 Apr 2002 17:44:08 -0000	1.22
+++ java/lang/System.java	18 Aug 2002 16:16:44 -0000
@@ -73,6 +73,7 @@
       loadLibrary("javalang");
=20
     Properties defaultProperties =3D Runtime.defaultProperties;
+    defaultProperties.put("gnu.classpath.home", Configuration.CLASSPATH_HO=
ME);
     defaultProperties.put("gnu.cpu.endian",
                           isWordsBigEndian() ? "big" : "little");
=20
Index: java/security/Security.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: /cvsroot/classpath/classpath/java/security/Security.java,v
retrieving revision 1.9
diff -u -r1.9 Security.java
--- java/security/Security.java	22 Jan 2002 22:27:00 -0000	1.9
+++ java/security/Security.java	18 Aug 2002 16:16:44 -0000
@@ -59,8 +59,9 @@
=20
   static
   {
-    loadProviders(System.getProperty("java.vm.name"));
-    loadProviders("classpath");
+    loadProviders(System.getProperty("java.home"),
+		  System.getProperty("java.vm.name"));
+    loadProviders(System.getProperty("gnu.classpath.home"), "classpath");
   }
=20
   // This class can't be instantiated.
@@ -68,13 +69,13 @@
   {
   }
=20
-  private static void loadProviders(String vendor)
+  private static void loadProviders(String dir, String vendor)
   {
-    if (vendor =3D=3D null)
+    if (dir =3D=3D null || vendor =3D=3D null)
       return;
=20
     String separator =3D System.getProperty("file.separator");
-    String secfilestr =3D (System.getProperty("java.home") +
+    String secfilestr =3D (dir +
 			 separator + "lib" +
 			 separator + "security" +
 			 separator + vendor + ".security");
@@ -263,15 +264,15 @@
    */
   public static Provider getProvider(String name)
   {
-    Provider p =3D null;
+    Provider p;
     int max =3D providers.size ();
     for (int i =3D 0; i < max; i++)
       {
 	p =3D (Provider) providers.elementAt(i);
 	if (p.getName() =3D=3D name)
-	  break;
+	  return p;
       }
-    return p;
+    return null;
   }
=20
   /**

--=-IaT2n1d8rrxZK1FiX2Lc--



From tromey@redhat.com Mon Aug 19 15:46:20 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17gsTk-0002mc-00
	for classpath@gnu.org; Mon, 19 Aug 2002 15:46:20 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17gsTf-0002mP-00
	for classpath@gnu.org; Mon, 19 Aug 2002 15:46:20 -0400
Received: from mail.peakpeak.com ([207.174.178.17] helo=gash2.peakpeak.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17gsTf-0002mK-00
	for classpath@gnu.org; Mon, 19 Aug 2002 15:46:15 -0400
Received: from fleche.redhat.com (tz0181.peakpeak.com [207.174.69.181])
	by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id NAA31253;
	Mon, 19 Aug 2002 13:46:13 -0600
Received: by fleche.redhat.com (Postfix, from userid 1000)
	id F24F34F8099; Mon, 19 Aug 2002 13:46:23 -0600 (MDT)
To: Mark Wielaard <mark@klomp.org>
Cc: Classpath Project <classpath@gnu.org>
Subject: Re: Runtime fixlet
References: <877kiuqpma.fsf@fleche.redhat.com>
	<1029442671.15747.29.camel@elsschot>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution: Tom
X-Zippy: RELAX!! ... This is gonna be a HEALING EXPERIENCE!!  Besides,
 I work for DING DONGS!
Date: 19 Aug 2002 13:46:23 -0600
In-Reply-To: <1029442671.15747.29.camel@elsschot>
Message-ID: <87elcuvdgw.fsf@fleche.redhat.com>
Lines: 11
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
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> I think this change should go in. But be sure to update the
Mark> execInternal documentation and add an item to the NEWS file to
Mark> alert VM implementors that the contract has changed.

Thanks Mark, I did this.
Do you think I should just go ahead and add the `dir' argument to
execInternal?

Tom



From mark@wildebeest.org Mon Aug 19 17:53:57 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17guTE-0000wy-00
	for classpath@gnu.org; Mon, 19 Aug 2002 17:53:56 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17guTC-0000ub-00
	for classpath@gnu.org; Mon, 19 Aug 2002 17:53:55 -0400
Received: from node1c5f.a2000.nl ([62.108.28.95] helo=nescio.wildebeest.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17guTB-0000uW-00
	for classpath@gnu.org; Mon, 19 Aug 2002 17:53:54 -0400
Received: from elsschot.wildebeest.org
	([192.168.1.26] helo=elsschot ident=mail)
	by nescio.wildebeest.org with esmtp (Exim 3.35 #1 (Debian))
	id 17guSE-0003Ev-00; Mon, 19 Aug 2002 23:52:54 +0200
Received: from mark by elsschot with local (Exim 3.35 #1 (Debian))
	id 17guT4-0000Vm-00; Mon, 19 Aug 2002 23:53:46 +0200
Subject: Re: Runtime fixlet
From: Mark Wielaard <mark@klomp.org>
To: tromey@redhat.com
Cc: Classpath Project <classpath@gnu.org>
In-Reply-To: <87elcuvdgw.fsf@fleche.redhat.com>
References: <877kiuqpma.fsf@fleche.redhat.com>
	<1029442671.15747.29.camel@elsschot>  <87elcuvdgw.fsf@fleche.redhat.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 19 Aug 2002 23:53:45 +0200
Message-Id: <1029794025.21688.353.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.11
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-08-19 at 21:46, Tom Tromey wrote:
> >>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:
> 
> Mark> I think this change should go in. But be sure to update the
> Mark> execInternal documentation and add an item to the NEWS file to
> Mark> alert VM implementors that the contract has changed.
> 
> Thanks Mark, I did this.
> Do you think I should just go ahead and add the `dir' argument to
> execInternal?

Yeah sure, so long as you document it in the same way. We already
changed the interface on them so while they check that they can also add
that extra parameter.

Hopefully we can persuade one of the VM implementors to donate their
Runtime native code to Classpath or just rewrite the gcj CNI version to
JNI so we can maintain that part of the code (at least for GNU or POSIX
based systems).

Cheers,

Mark



From emile@alumni.reed.edu Tue Aug 27 03:58:28 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17jbF6-0005N4-00
	for classpath@gnu.org; Tue, 27 Aug 2002 03:58:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17jbF4-0005Mr-00
	for classpath@gnu.org; Tue, 27 Aug 2002 03:58:27 -0400
Received: from mail6.gorge.net ([209.216.160.30] helo=gnappserv1.private.gnet)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17jbF4-0005MR-00
	for classpath@gnu.org; Tue, 27 Aug 2002 03:58:26 -0400
Received: from basalt (unverified [209.216.173.166]) by gorge.net
 (Rockliffe SMTPRA 5.2.4) with ESMTP id <B0010337194@gnappserv1.private.gnet> for <classpath@gnu.org>;
 Tue, 27 Aug 2002 01:04:18 -0700
Subject: acceptable reference material for developers
From: Emile Snyder <emile@alumni.reed.edu>
To: classpath@gnu.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) 
Date: 27 Aug 2002 01:01:25 -0700
Message-Id: <1030435287.3143.8.camel@basalt>
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.11
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've read the HACKING document on the classpath web site, and understand
that I must not look at the Sun implementations of the Java libraries if
I want to contribute code to the classpath project.  I wanted to be
clear on whether studying the Sun API documentation is allowed.

Also, the doc mentions that FSF requires paperwork from programmers
employers explicitly disclaiming any ownership in the employee's work on
classpath.  Is there a sample letter around to be used?  Who has the
authority in a company to sign such a letter; immediate supervisor?

thanks,
-emile








From cbj@gnu.org Tue Aug 27 11:01:24 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17jhqO-0000Iy-00
	for classpath@gnu.org; Tue, 27 Aug 2002 11:01:24 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17jhqJ-0000G8-00
	for classpath@gnu.org; Tue, 27 Aug 2002 11:01:23 -0400
Received: from smtp2.southeast.rr.com ([24.93.67.83])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17jhqI-0000FK-00
	for classpath@gnu.org; Tue, 27 Aug 2002 11:01:18 -0400
Received: from mail7.nc.rr.com (fe7 [24.93.67.54])
	by smtp2.southeast.rr.com (8.12.5/8.12.2) with ESMTP id g7RF1rts029815;
	Tue, 27 Aug 2002 11:01:54 -0400 (EDT)
Received: from lyta.haphazard.org ([66.57.15.253]) by mail7.nc.rr.com  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Tue, 27 Aug 2002 11:01:10 -0400
Received: (from cbj@localhost)
	by lyta.haphazard.org (8.11.6/8.11.6) id g7RExrA25782;
	Tue, 27 Aug 2002 10:59:53 -0400
X-Authentication-Warning: lyta.haphazard.org: cbj set sender to cbj@gnu.org using -f
To: Emile Snyder <emile@alumni.reed.edu>
Cc: classpath@gnu.org
Subject: Re: acceptable reference material for developers
References: <1030435287.3143.8.camel@basalt>
From: Brian Jones <cbj@gnu.org>
Date: 27 Aug 2002 10:59:53 -0400
In-Reply-To: <1030435287.3143.8.camel@basalt>
Message-ID: <m3ptw4fity.fsf@lyta.haphazard.org>
Lines: 23
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
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/>

Emile Snyder <emile@alumni.reed.edu> writes:

> I've read the HACKING document on the classpath web site, and understand
> that I must not look at the Sun implementations of the Java libraries if
> I want to contribute code to the classpath project.  I wanted to be
> clear on whether studying the Sun API documentation is allowed.

Yes you may look at the API (Javadoc), unless otherwise stated by Sun.

> Also, the doc mentions that FSF requires paperwork from programmers
> employers explicitly disclaiming any ownership in the employee's work on
> classpath.  Is there a sample letter around to be used?  Who has the
> authority in a company to sign such a letter; immediate supervisor?

It's a copyright disclaimment paper and at most companies anyone at
the VP level or higher can sign such a document.  You may not even
need it if upon the advise of an attorney you can know with a fair
degree of certainty that the company makes no claims to works you
produce on non-company time using non-company equipment.

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



From jeroen@sumatra.nl Thu Aug 29 08:56:33 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17kOqf-0002Di-00
	for classpath@gnu.org; Thu, 29 Aug 2002 08:56:33 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17kOqd-0002DU-00
	for classpath@gnu.org; Thu, 29 Aug 2002 08:56:32 -0400
Received: from 62-177-154-235.bbeyond.nl ([62.177.154.235] helo=smtp.sumatrasoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17kOqd-0002DO-00
	for classpath@gnu.org; Thu, 29 Aug 2002 08:56:31 -0400
Received: from tpjeroen ([194.158.173.185]) by smtp.sumatrasoftware.com with Microsoft SMTPSVC(5.0.2195.5329);
	 Thu, 29 Aug 2002 14:49:38 +0200
From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: <classpath@gnu.org>
Subject: BUG: java.net.SocketInputStream.read() is broken
Date: Thu, 29 Aug 2002 14:56:24 +0200
Message-ID: <00df01c24f5b$7c867500$d601a8c0@tpjeroen>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4024
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1105
Importance: Normal
X-OriginalArrivalTime: 29 Aug 2002 12:49:41.0020 (UTC) FILETIME=[8A90EDC0:01C24F5A]
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
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 everyone,

SocketInputStream.read() contains the following code:

  if (bytes_read != -1)
    return((int)buf[0]);

This is incorrect, as it promotes the signed byte to an int. The correct
code is:

  if (bytes_read != -1)
    return(buf[0] & 0xff);

Regards,
Jeroen




From bryce@waitaki.otago.ac.nz Thu Aug 29 23:55:10 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17kcsH-0000Gl-00
	for classpath@gnu.org; Thu, 29 Aug 2002 23:55:09 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17kcsF-0000GZ-00
	for classpath@gnu.org; Thu, 29 Aug 2002 23:55:09 -0400
Received: from mailhub1.otago.ac.nz ([139.80.64.218])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17kcsE-0000GA-00
	for classpath@gnu.org; Thu, 29 Aug 2002 23:55:07 -0400
Received: (from root@localhost)
	by mailhub1.otago.ac.nz (8.10.1/8.10.1) id g7U3t4I06798;
	Fri, 30 Aug 2002 15:55:04 +1200
Received: from waitaki.otago.ac.nz (waitaki.otago.ac.nz [139.80.75.140])
	by mailhub1.otago.ac.nz (8.10.1/8.10.1) with ESMTP id g7U3t3a06679;
	Fri, 30 Aug 2002 15:55:03 +1200
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.6) with ESMTP id g7U3t3725031;
	Fri, 30 Aug 2002 15:55:03 +1200
Message-ID: <3D6EEBAE.1030206@waitaki.otago.ac.nz>
Date: Fri, 30 Aug 2002 15:51:10 +1200
From: Bryce McKinlay <bryce@waitaki.otago.ac.nz>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1a) Gecko/20020610
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jeroen Frijters <jeroen@sumatra.nl>
CC: classpath@gnu.org
Subject: Re: BUG: java.net.SocketInputStream.read() is broken
References: <00df01c24f5b$7c867500$d601a8c0@tpjeroen>
X-scanner: scanned by Inflex 1.0.9 - (http://pldaniels.com/inflex/)
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.11
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/>

Jeroen Frijters wrote:

>Hi everyone,
>
>SocketInputStream.read() contains the following code:
>
>  if (bytes_read != -1)
>    return((int)buf[0]);
>
>This is incorrect, as it promotes the signed byte to an int. The correct
>code is:
>
>  if (bytes_read != -1)
>    return(buf[0] & 0xff);
>  
>

Thanks. I have checked in the fix.

regards

Bryce.





From jgeorgal@uoc.gr Fri Aug 30 09:23:13 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17klk0-0001lh-00
	for classpath@gnu.org; Fri, 30 Aug 2002 09:23:12 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17kljw-0001kM-00
	for classpath@gnu.org; Fri, 30 Aug 2002 09:23:11 -0400
Received: from ns.uoc.gr ([147.52.80.1] helo=mail.uoc.gr)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17kljv-0001gM-00
	for classpath@gnu.org; Fri, 30 Aug 2002 09:23:08 -0400
Received: (qmail 5478 invoked from network); 30 Aug 2002 13:23:05 -0000
Received: from orion.ucnet.uoc.gr ([147.52.2.15])
          (envelope-sender <jgeorgal@uoc.gr>)
          by ns.uoc.gr (qmail-ldap-1.03) with SMTP
          for <classpath@gnu.org>; 30 Aug 2002 13:23:05 -0000
Date: 30 Aug 2002 16:23:14 +0300
Message-Id: <80n0r4iipp.fsf@orion.ucnet.uoc.gr>
From: Giannis Georgalis <jgeorgal@uoc.gr>
To: classpath@gnu.org
Subject: trouble getting kissme to work with gcp
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
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,

	I have successfully downloaded and built cvs GNU classpath 
and cvs kissme. I used these command for configuring:

classpath: 
./configure --prefix=/home/jgeorgal/JDE --with-java=kissme \
[--with-classpath=/home/jgeorgal/JDE/src/kissme/classes.zip \]
--with-zip --with-jikes --enable-gtk-peer --enable-jni --enable-cni \
--build=i686-pc-linux-gnu --enable-shared

kissme:
./configure --prefix=/home/jgeorgal/JDE --with-classpath-install-dir=\
/home/jgeorgal/JDE --with-gnu-classpath

The problem is that I cannot run even the helloworld program with kissme;
I'll be more specific. When my
CLASSPATH=/home/jgeorgal/JDE/share/classpath/glibj.zip:.
if I try to run a helloworld.java (byte-compiled with jikes Version 1.16 - 10 July 2002)
I get the message "Kissme Panic: Didn't find instance field offset for _classStruct (java/lang/Class)"
and when I include in my CLASSPATH the classes.zip file from kissme distribution I get:

Error: unknown native method called: java/lang/Double.initIDs()V java/lang/Double
There were 6 methods for this class
Error: unknown native method called: java/lang/System.isWordsBigEndian()Z java/lang/System
There were 5 methods for this class
FAILED TO INITIALIZE java/lang/System
---------------Top level exception handler-------------------
Kissme Panic: NoClassDefFoundError

I cannot figure out what's wrong :(
I have loaded the libs in lib/classpath ...

any hint is highly appreciated.

Thanks in advance,

Giannis

PS.I have also tried "merge-kcp" and manually merging the
classes in kissme/classes with GNU classpath...




From crawley@dstc.edu.au Fri Aug 30 11:29:56 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17knie-0008Aq-00
	for classpath@gnu.org; Fri, 30 Aug 2002 11:29:56 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17knib-0008Ad-00
	for classpath@gnu.org; Fri, 30 Aug 2002 11:29:55 -0400
Received: from piglet.dstc.edu.au ([130.102.176.1])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17knib-0008AY-00
	for classpath@gnu.org; Fri, 30 Aug 2002 11:29:53 -0400
Received: from dstc.edu.au (soluble.dstc.edu.au [130.102.176.43])
	by piglet.dstc.edu.au (8.12.3/8.12.3) with ESMTP id g7UFTlMB023381;
	Sat, 31 Aug 2002 01:29:47 +1000 (EST)
Message-Id: <200208301529.g7UFTlMB023381@piglet.dstc.edu.au>
X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4
To: Giannis Georgalis <jgeorgal@uoc.gr>
cc: classpath@gnu.org, crawley@piglet.dstc.edu.au,
   kissme-general@lists.sourceforge.net
Subject: Re: trouble getting kissme to work with gcp 
In-Reply-To: Message from Giannis Georgalis <jgeorgal@uoc.gr> 
   of "30 Aug 2002 16:23:14 +0300." <80n0r4iipp.fsf@orion.ucnet.uoc.gr> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sat, 31 Aug 2002 01:29:47 +1000
From: Stephen Crawley <crawley@dstc.edu.au>
X-Spam-Checked: SPAMASSASSIN: This message probably not SPAM
X-Spam-Score: -4.4, Required: 5
X-Virus-Scanned: Message: ok
X-Scanned-By: MIMEDefang 2.9 (www dot roaringpenguin dot com slash mimedefang)
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
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/>

Giannis,

First, this email would be better directed to the kissme mailing list:

        kissme-general@lists.sourceforge.net

I've cc'ed that list.  If you reply to this email, please remove 
classpath@gnu.org from the cc: list.

Your best bet for getting Kissme to work is to read the kissme/docs/
BUILDING file carefully, and follow the instructions therein.  I've
also included some hints below.
   
> 	I have successfully downloaded and built cvs GNU classpath 
> and cvs kissme. I used these command for configuring:
> 
> classpath: 
> ./configure --prefix=/home/jgeorgal/JDE --with-java=kissme \
> [--with-classpath=/home/jgeorgal/JDE/src/kissme/classes.zip \]
> --with-zip --with-jikes --enable-gtk-peer --enable-jni --enable-cni \
> --build=i686-pc-linux-gnu --enable-shared

It is not necessary to give "--with-java=kissme" or "--with-classpath"
when configuring Classpath.  I'd remove them because they >>might<<
cause problems.

We (the kissme developers) haven't put any of the kissme-specific java
code into the Classpath tree.  The Classpath build and install process
doesn't need to know anything about Kissme.

> kissme:
> ./configure --prefix=/home/jgeorgal/JDE --with-classpath-install-dir=\
> /home/jgeorgal/JDE --with-gnu-classpath

That should be OK.  The kissme configure script should give you an error
if it can't find the installed Classpath jar file and shared libraries.

> The problem is that I cannot run even the helloworld program with kissme;
> I'll be more specific. When my
> CLASSPATH=/home/jgeorgal/JDE/share/classpath/glibj.zip:.
> if I try to run a helloworld.java (byte-compiled with jikes Version 
> 1.16 - 10 July 2002)
> I get the message "Kissme Panic: Didn't find instance field offset for 
> _classStruct (java/lang/Class)"

That makes sense.  Your effective classpath should look like this: 

  .../kissme/classes.zip:.../glibj.jar:..../kissme

i.e. classes.zip file MUST be before glibj.jar in the effective classpath.

> and when I include in my CLASSPATH the classes.zip file from kissme 
> distribution I get:
> 
> Error: unknown native method called: java/lang/Double.initIDs()V
>   java/lang/Double
> There were 6 methods for this class
> Error: unknown native method called: java/lang/System.isWordsBigEndian()Z 
>   java/lang/System
> There were 5 methods for this class
> FAILED TO INITIALIZE java/lang/System
> ---------------Top level exception handler-------------------
> Kissme Panic: NoClassDefFoundError

It looks like the kissme jvm is not picking up the Classpath shared libraries.  
You probably need to add the directory wher the libs are installed to
the LD_LIBRARY_PATH environment variable.

> I cannot figure out what's wrong :(
>
> I have loaded the libs in lib/classpath ...
> 
> any hint is highly appreciated.

See the hints above, and read the Kissme BUILDING document. 

Also try using the 'kissme' wrapper script in 'useful_scripts' to run
the 'helloworld' program.  The wrapper prepends the correct stuff to the
effective classpath, and sets LD_LIBRARY_PATH as required.  

-- Steve




From jewel@pixie.co.za Fri Aug 30 11:55:27 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17ko7L-0004uU-00
	for classpath@gnu.org; Fri, 30 Aug 2002 11:55:27 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17ko7J-0004uH-00
	for classpath@gnu.org; Fri, 30 Aug 2002 11:55:26 -0400
Received: from spamisevil.test.ie.vianw.net ([212.17.60.214] helo=lenny.elandtech.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17ko7I-0004uA-00
	for classpath@gnu.org; Fri, 30 Aug 2002 11:55:24 -0400
Received: from [192.168.100.211] (helo=localhost.localdomain ident=jleuner)
	by lenny.elandtech.com with esmtp (Exim 3.35 #1 (Debian))
	id 17knqq-0002Q2-00; Fri, 30 Aug 2002 15:38:24 +0000
Subject: Re: trouble getting kissme to work with gcp
From: John Leuner <jewel@pixie.co.za>
To: Giannis Georgalis <jgeorgal@uoc.gr>
Cc: classpath@gnu.org, kissme-general@lists.sf.net
In-Reply-To: <80n0r4iipp.fsf@orion.ucnet.uoc.gr>
References: <80n0r4iipp.fsf@orion.ucnet.uoc.gr>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.5 
Date: 30 Aug 2002 16:50:47 +0100
Message-Id: <1030722647.7457.8283.camel@bapli>
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.11
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 Fri, 2002-08-30 at 14:23, Giannis Georgalis wrote:
> Hello,

Hi Giannis

> 	I have successfully downloaded and built cvs GNU classpath 
> and cvs kissme. I used these command for configuring:
> 
> classpath: 
> ./configure --prefix=/home/jgeorgal/JDE --with-java=kissme \
> [--with-classpath=/home/jgeorgal/JDE/src/kissme/classes.zip \]
> --with-zip --with-jikes --enable-gtk-peer --enable-jni --enable-cni \
> --build=i686-pc-linux-gnu --enable-shared

I have never used the --with-java=kissme option for compiling classpath.
I don't think it's necessary?

Also, the only options I use when configuring classpath are:

--with-jikes --enable-jni
 
> kissme:
> ./configure --prefix=/home/jgeorgal/JDE --with-classpath-install-dir=\
> /home/jgeorgal/JDE --with-gnu-classpath
> 
> The problem is that I cannot run even the helloworld program with kissme;
> I'll be more specific. When my
> CLASSPATH=/home/jgeorgal/JDE/share/classpath/glibj.zip:.
> if I try to run a helloworld.java (byte-compiled with jikes Version 1.16 - 10 July 2002)
> I get the message "Kissme Panic: Didn't find instance field offset for _classStruct (java/lang/Class)"
> and when I include in my CLASSPATH the classes.zip file from kissme distribution I get:
> 
> Error: unknown native method called: java/lang/Double.initIDs()V java/lang/Double
> There were 6 methods for this class
> Error: unknown native method called: java/lang/System.isWordsBigEndian()Z java/lang/System
> There were 5 methods for this class
> FAILED TO INITIALIZE java/lang/System
> ---------------Top level exception handler-------------------
> Kissme Panic: NoClassDefFoundError
> 
> I cannot figure out what's wrong :(
> I have loaded the libs in lib/classpath ...

The problem is that kissme can't find the native .so libraries provided
by classpath.

Did you 'make install' for classpath?

Point LD_LIBRARY_PATH to the relevant directory.

On my debian system:

export LD_LIBRARY_PATH=/usr/lib/classpath

John Leuner






From jgeorgal@uoc.gr Fri Aug 30 17:07:04 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17ksyu-0005eU-00
	for classpath@gnu.org; Fri, 30 Aug 2002 17:07:04 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17ksyr-0005db-00
	for classpath@gnu.org; Fri, 30 Aug 2002 17:07:03 -0400
Received: from ns.uoc.gr ([147.52.80.1] helo=mail.uoc.gr)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17ksyq-0005cf-00
	for classpath@gnu.org; Fri, 30 Aug 2002 17:07:01 -0400
Received: (qmail 5676 invoked from network); 30 Aug 2002 21:06:57 -0000
Received: from orion.ucnet.uoc.gr ([147.52.2.15])
          (envelope-sender <jgeorgal@uoc.gr>)
          by ns.uoc.gr (qmail-ldap-1.03) with SMTP
          for <classpath@gnu.org>; 30 Aug 2002 21:06:57 -0000
To: Stephen Crawley <crawley@dstc.edu.au>
Cc: crawley@piglet.dstc.edu.au,kissme-general@lists.sourceforge.net,classpath@gnu.org
Subject: Re: trouble getting kissme to work with gcp
References: <200208301529.g7UFTlMB023381@piglet.dstc.edu.au>
From: Giannis Georgalis <jgeorgal@uoc.gr>
Organization: University of Crete
Date: 31 Aug 2002 00:07:06 +0300
In-Reply-To: <200208301529.g7UFTlMB023381@piglet.dstc.edu.au>
Message-ID: <80d6s0hx8l.fsf@orion.ucnet.uoc.gr>
Lines: 77
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
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.11
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/>

Stephen Crawley <crawley@dstc.edu.au> writes:

Hello Stephen,

> Giannis,
> 
> First, this email would be better directed to the kissme mailing list:
> 
>         kissme-general@lists.sourceforge.net
> 
> I've cc'ed that list.  If you reply to this email, please remove 
> classpath@gnu.org from the cc: list.

I sent it to the classpath group, because I want to contribute to GNU
classpath. I was advised by cbj to setup a development environment by
making GNU classpath work with kissme. Anyway, I found what was wrong and
I'm cc'ing to gnu-classpath mailing list also just to close this thread.
(sorry Stephen).

> Your best bet for getting Kissme to work is to read the kissme/docs/
> BUILDING file carefully, and follow the instructions therein.  I've
> also included some hints below.

I've done this (of-course, I'm an RTFM believer :)). The solution seems 
to me very strange though.

> It is not necessary to give "--with-java=kissme" or "--with-classpath"
> when configuring Classpath.  I'd remove them because they >>might<<
> cause problems.
> 
> We (the kissme developers) haven't put any of the kissme-specific java
> code into the Classpath tree.  The Classpath build and install process
> doesn't need to know anything about Kissme.
 
Well I've tried ALL possible configure combinations ... that was the latest
version :). I could understand they were uneeded, but I was desperate.
 
> That makes sense.  Your effective classpath should look like this: 
> 
>   .../kissme/classes.zip:.../glibj.jar:..../kissme
> 
> i.e. classes.zip file MUST be before glibj.jar in the effective classpath.

Yes, that's what I meant; my CLASSPATH was right from the beggining.
 
> It looks like the kissme jvm is not picking up the Classpath shared libraries.  
> You probably need to add the directory wher the libs are installed to
> the LD_LIBRARY_PATH environment variable.

Ok, now this is *very* strange. I thought that was the last thing I had to look,
as I had put right from the beggining in "/etc/ld.so.conf" the path of the
GNU classpath libraries. Everything seemed right as "ldconfig -v" would say:
<snip>
/home/jgeorgal/JDE/lib/classpath:
        libgtkpeer.so.0 -> libgtkpeer.so.0.0.0
        libjavautil.so.0 -> libjavautil.so.0.0.0
        libjavanet.so.0 -> libjavanet.so.0.0.0
        libjavalangreflect.so.0 -> libjavalangreflect.so.0.0.0
        libjavalang.so.0 -> libjavalang.so.0.0.0
        libjavaio.so.0 -> libjavaio.so.0.0.0
<snip>

...so no need for LD_LIBRARY_PATH (I thought). In fact setting LD_LIBRARY_PATH
to /path/to/lib/classpath, made ALL my problems disappear...

Well, it can't be ldconfig's fault as I had not any problems before.
Can it be kissme's problem?

anyway,

 Thank you very much Stephen and John for your help,

Giannis

-- 
Let him choose out of my files, his projects to accomplish.
                -- Shakespeare, "Coriolanus"




From jewel@pixie.co.za Sat Aug 31 09:31:22 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17l8LS-0006t7-00
	for classpath@gnu.org; Sat, 31 Aug 2002 09:31:22 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17l8LQ-0006sv-00
	for classpath@gnu.org; Sat, 31 Aug 2002 09:31:21 -0400
Received: from spamisevil.test.ie.vianw.net ([212.17.60.214] helo=lenny.elandtech.com)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17l8LP-0006sC-00
	for classpath@gnu.org; Sat, 31 Aug 2002 09:31:19 -0400
Received: from [192.168.100.211] (helo=localhost.localdomain ident=jleuner)
	by lenny.elandtech.com with esmtp (Exim 3.35 #1 (Debian))
	id 17l84R-0006pX-00; Sat, 31 Aug 2002 13:13:47 +0000
Subject: Re: trouble getting kissme to work with gcp
From: John Leuner <jewel@pixie.co.za>
To: Giannis Georgalis <jgeorgal@uoc.gr>
Cc: kissme-general@lists.sourceforge.net, classpath@gnu.org
In-Reply-To: <80d6s0hx8l.fsf@orion.ucnet.uoc.gr>
References: <200208301529.g7UFTlMB023381@piglet.dstc.edu.au> 
	<80d6s0hx8l.fsf@orion.ucnet.uoc.gr>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.5 
Date: 31 Aug 2002 14:26:09 +0100
Message-Id: <1030800370.4096.3.camel@bapli>
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.11
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/>

My understanding is this:

LD_LIBRARY_PATH tells the dlopen call where to look for a library.

ldconfig tells the dynamic linker where to look for shared libraries.
These are libraries that the executable has been linked against.

kissme uses the dlopen and dlsym calls to load the classpath libraries
(and any other shared libraries that might be needed at runtime).

kissme is not linked against the classpath native libraries.

John Leuner

On Fri, 2002-08-30 at 22:07, Giannis Georgalis wrote:
> Stephen Crawley <crawley@dstc.edu.au> writes:
> 
> Hello Stephen,
> 
> > Giannis,
> > 
> > First, this email would be better directed to the kissme mailing list:
> > 
> >         kissme-general@lists.sourceforge.net
> > 
> > I've cc'ed that list.  If you reply to this email, please remove 
> > classpath@gnu.org from the cc: list.
> 
> I sent it to the classpath group, because I want to contribute to GNU
> classpath. I was advised by cbj to setup a development environment by
> making GNU classpath work with kissme. Anyway, I found what was wrong and
> I'm cc'ing to gnu-classpath mailing list also just to close this thread.
> (sorry Stephen).
> 
> > Your best bet for getting Kissme to work is to read the kissme/docs/
> > BUILDING file carefully, and follow the instructions therein.  I've
> > also included some hints below.
> 
> I've done this (of-course, I'm an RTFM believer :)). The solution seems 
> to me very strange though.
> 
> > It is not necessary to give "--with-java=kissme" or "--with-classpath"
> > when configuring Classpath.  I'd remove them because they >>might<<
> > cause problems.
> > 
> > We (the kissme developers) haven't put any of the kissme-specific java
> > code into the Classpath tree.  The Classpath build and install process
> > doesn't need to know anything about Kissme.
>  
> Well I've tried ALL possible configure combinations ... that was the latest
> version :). I could understand they were uneeded, but I was desperate.
>  
> > That makes sense.  Your effective classpath should look like this: 
> > 
> >   .../kissme/classes.zip:.../glibj.jar:..../kissme
> > 
> > i.e. classes.zip file MUST be before glibj.jar in the effective classpath.
> 
> Yes, that's what I meant; my CLASSPATH was right from the beggining.
>  
> > It looks like the kissme jvm is not picking up the Classpath shared libraries.  
> > You probably need to add the directory wher the libs are installed to
> > the LD_LIBRARY_PATH environment variable.
> 
> Ok, now this is *very* strange. I thought that was the last thing I had to look,
> as I had put right from the beggining in "/etc/ld.so.conf" the path of the
> GNU classpath libraries. Everything seemed right as "ldconfig -v" would say:
> <snip>
> /home/jgeorgal/JDE/lib/classpath:
>         libgtkpeer.so.0 -> libgtkpeer.so.0.0.0
>         libjavautil.so.0 -> libjavautil.so.0.0.0
>         libjavanet.so.0 -> libjavanet.so.0.0.0
>         libjavalangreflect.so.0 -> libjavalangreflect.so.0.0.0
>         libjavalang.so.0 -> libjavalang.so.0.0.0
>         libjavaio.so.0 -> libjavaio.so.0.0.0
> <snip>
> 
> ...so no need for LD_LIBRARY_PATH (I thought). In fact setting LD_LIBRARY_PATH
> to /path/to/lib/classpath, made ALL my problems disappear...
> 
> Well, it can't be ldconfig's fault as I had not any problems before.
> Can it be kissme's problem?
> 
> anyway,
> 
>  Thank you very much Stephen and John for your help,
> 
> Giannis
> 
> -- 
> Let him choose out of my files, his projects to accomplish.
>                 -- Shakespeare, "Coriolanus"
> 
> 
> 
> _______________________________________________
> Classpath mailing list
> Classpath@gnu.org
> http://mail.gnu.org/mailman/listinfo/classpath





From abies00@wp.pl Fri Aug 16 10:11:03 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
	id 17fhod-00031U-00
	for classpath@gnu.org; Fri, 16 Aug 2002 10:11:03 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 17fhmJ-0002vY-00
	for classpath@gnu.org; Fri, 16 Aug 2002 10:11:02 -0400
Received: from smtp.wp.pl ([212.77.101.161])
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17fhmJ-0002uw-00
	for classpath@gnu.org; Fri, 16 Aug 2002 10:08:39 -0400
Received: (WP-SMTPD 4153 invoked from network); 16 Aug 2002 14:08:27 -0000
Received: from unknown (HELO wp.pl) ([213.77.83.2])
          (envelope-sender <abies00@wp.pl>)
          by smtp1.free.wp-sa.pl (WP-SMTPD) with SMTP
          for <classpath@gnu.org>; 16 Aug 2002 14:08:27 -0000
Message-ID: <3D5D075C.7020803@wp.pl>
Date: Fri, 16 Aug 2002 16:08:28 +0200
From: Artur Biesiadowski <abies00@wp.pl>
Reply-To: abies@pg.gda.pl
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1a+) Gecko/20020714
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Classpath Project <classpath@gnu.org>
Subject: Re: OT: GPL and jar file
References: <0208161403520K.00767@hun.bre.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-AntiVirus: skaner antywirusowy poczty Wirtualnej Polski S. A.
Sender: classpath-admin@gnu.org
Errors-To: classpath-admin@gnu.org
X-BeenThere: classpath@gnu.org
X-Mailman-Version: 2.0.11
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/>

Andreas Rueckert wrote:
> Hi!
> 
> I have a licensing question, that you might be able to answer: are 2 classes in
> a jar file 'linked' in a GPL way? I mean, if class A is under GPL and I put it
> in a jar file with class B, does it restrict the license of B to GPL? Or could
> B still be closed source?

Not only that. They do not have even to be in same jar. If you use GPL 
code, even through dynamic linking, all your app has to be GPL.

With LPGL, situation looks a bit different. In such case, you can for 
sure use it with commercial application, if it is in different jar. As 
for putting it in same jar - I don't know how it look like exactly - I 
do not think that LGPL _clearly_ states it and all what is left is 
interpretation and good/bad will.

For example, my interpretation is that it is not a problem to embed 
LGPLed classes in same jar, but you have to LPGL all changes you have 
made to them plus all new classes which are tightly integrated within - 
for me it means classes which logically fit in same package. But this is 
just my interpretation. What is sure, that you CANNOT use GPLed 
libraries in non-'free' software.


Artur




