[kaffe] CVS kaffe (robilad): Fixed mips(el) FTBFS

2005-03-22 Thread Kaffe CVS
PatchSet 5592 
Date: 2005/03/23 02:57:50
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fixed mips(el) FTBFS

2005-03-22  Dalibor Topic  <[EMAIL PROTECTED]>

* config/mips/common.h: Really include generic atomic primitives.

Members: 
ChangeLog:1.3765->1.3766 
config/mips/common.h:1.13->1.14 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3765 kaffe/ChangeLog:1.3766
--- kaffe/ChangeLog:1.3765  Tue Mar 22 16:10:22 2005
+++ kaffe/ChangeLog Wed Mar 23 02:57:50 2005
@@ -1,3 +1,7 @@
+2005-03-22  Dalibor Topic  <[EMAIL PROTECTED]>
+
+   * config/mips/common.h: Really include generic atomic primitives.
+
 2005-03-22  Guilhem Lavaux  <[EMAIL PROTECTED]>,
Dalibor Topic  <[EMAIL PROTECTED]>
 
Index: kaffe/config/mips/common.h
diff -u kaffe/config/mips/common.h:1.13 kaffe/config/mips/common.h:1.14
--- kaffe/config/mips/common.h:1.13 Tue Mar 22 14:03:10 2005
+++ kaffe/config/mips/common.h  Wed Mar 23 02:57:53 2005
@@ -37,7 +37,7 @@
 #include "atomicity.h"
 #else
 
-#define "generic/genatomic.h"
+#include "generic/genatomic.h"
 
 #endif /* defined(HAVE_MIPSII_INSTRUCTIONS) */
 

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] cvs 'make check' output on alpha mostly fails?

2005-03-22 Thread Bryan Oestergaard
Hi everybody.

The alpha problems have been known to the Kaffe devs for some time now. I used 
to have an alpha based tinderbox running which was taking down for various 
reasons.

The good news is that my alphalinux tinderbox is back as of yesterday so
at least now the Kaffe devs have alpha logs once again. I hope that I'll
be able to contribute some patches in the future but can't promise
anything as I'm quite busy as it is.

I can however provide Kaffe devs access to an alpha linux box if/when
needed - just yell at me.

Regards,
Bryan Ãstergaard
[EMAIL PROTECTED]
kloeri at irc.freenode.net

On Tue, Mar 22, 2005 at 02:21:48PM -0500, mel kravitz wrote:
> cvs kaffe compiled with --with-engine=intrp, compiles on alpha DS20 2.6.10
> debian unstable system. tomcat4  stops at:
> 


___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (guilhem): Rotated ChangeLog

2005-03-22 Thread Kaffe CVS
PatchSet 5575 
Date: 2005/03/20 20:35:49
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Rotated ChangeLog

Members: 
ChangeLog:1.3749->1.3750 
ChangeLog.16:INITIAL->1.1 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3749 kaffe/ChangeLog:1.3750
--- kaffe/ChangeLog:1.3749  Sun Mar 20 20:30:32 2005
+++ kaffe/ChangeLog Sun Mar 20 20:35:49 2005
@@ -1,9612 +1 @@
-2005-03-20  Guilhem Lavaux  <[EMAIL PROTECTED]>
-
-   * config/Makefile.am: Updated EXTRA_DIST and noinst_HEADERS.
-
-   * config/Makefile.in, config/config.h.in: Regenerated.
-
-   * config/katomic.h,
-   config/alpha/atomic.h,
-   config/generic/comparexch.h,
-   config/generic/genatomic.h,
-   config/i386/atomic.h,
-   config/ia64/atomic.h,
-   config/m68k/atomic.h,
-   config/powerpc/atomic.h,
-   config/s390/atomic.h,
-   config/sparc/atomic-sparc32.h,
-   config/sparc/atomic-sparc32v9.h,
-   config/sparc/atomic-sparc64.h,
-   config/x86_64/atomic.h: New files.
-
-   * config/alpha/atomicity.h,
-   config/ia64/atomicity.h,
-   config/m68k/atomicity.h,
-   config/s390/atomicity32.h,
-   config/s390/atomicity64.h,
-   config/sparc/atomicity-sparc32.h,
-   config/sparc/atomicity-sparc32v9.h,
-   config/sparc/atomicity-sparc64.h: Removed files.
-
-   * config/arm/atomicity.h
-   (compare_and_swap): Modified to return the old value as needed by
-   katomic.h.
-   
-   * config/alpha/common.h,
-   config/arm/common.h,
-   config/i386/common.h,
-   config/ia64/common.h,
-   config/m68k/common.h,
-   config/mips/common.h,
-   config/parisc/common.h,
-   config/powerpc/common.h,
-   config/s390/common.h,
-   config/sh/common.h,
-   config/sparc/common.h,
-   config/x86_64/common.h: Use the common code in generic/*.
-   
-   * kaffe/kaffe/main.c: Removed some parenthesis.
-
-   * kaffe/kaffevm/locks.c: Fixed warnings which has appeared after
-   atomic* merge. Fixed the use of the volatile modifier.
-   (getHeavyLock): Use atomic_decrement and atomic_increment.
-
-   * kaffe/kaffevm/ksem.c, kaffe/kaffevm/ksem.h:
-   Fixed the use of the volatile modifier.
-   
-   * kaffe/kaffevm/locks.h
-   (iLock): Use uintp for num_wait because COMPARE_AND_EXCHANGE likes
-   big registers and uint16 could have cause overlap with the next field.
-
-   * kaffe-gc/gc-incremental.c:
-   (gcMan): Use KTHREAD(lockGC) to prevent deadlocks.
-   (startGC, stopGC): Moved lock to these functions.
-   
-   * kaffe/kaffevm/systems/unix-jthreads/jthread.c,
-   kaffe/kaffevm/systems/unix-jthreads/jthread.h
-   (jthread_lockGC, jthread_unlockGC): New functions.
-   (jthread_init): Initialize GClock.
-   (jthread_createfirst): Remember the first thread.
-   (jthread_exit): Follows JNI specification when exiting the VM.
-
-   * kaffe/kaffevm/systems/unix-pthreads/thread-impl.c,
-   kaffe/kaffevm/systems/unix-pthreads/thread-impl.h
-   (jthread_lockGC, jthread_unlockGC): New functions.
-   
-2005-03-20  Jeff Bailey  <[EMAIL PROTECTED]>
-
-   * kaffe/kaffevm/jit/Makefile.am,
-   kaffe/kaffevm/jit3/Makefile.am:
-   (AM_CCASFLAGS): Add the defs, and the includes.
-
-2005-03-16  Dalibor Topic  <[EMAIL PROTECTED]>
-
-   * configure.ac: Check for tramploines.S instead of trampolines.c.
-
-   Reported and suggested by: Christian Thalinger <[EMAIL PROTECTED]>
-
-2005-03-15  Dalibor Topic  <[EMAIL PROTECTED]>
-
-   * config/powerpc/trampolines.c: Use common powerpc assembler
-   syntax, and include asm/ppc_asm.h to fix build problems with JIT on 
darwin.
-
-   Reported and suggested by: Christian Thalinger <[EMAIL PROTECTED]>
-
-   * configure.ac: Check for assembler. Check for assembler trampoline file
-   instead of C one. Check for asm/ppc_asm.h and asm/cachectl.h.
-
-   * config/Makefile.am: Replaced trampline.c trampoline.S for the new, 
-   real assembler files.
-
-   * config/alpha/trampolines.S,
-   config/arm/trampolines.S,
-   config/i386/trampolines.S,
-   config/m68k/trampolines.S,
-   config/mips/trampolines.S,
-   config/powerpc/trampolines.S,
-   config/sh/trampolines.S,
-   config/sparc/trampolines.S:
-   New files.
-
-   * config/alpha/trampolines.c,
-   config/arm/trampolines.c,
-   config/i386/trampolines.c,
-   config/m68k/trampolines.c,
-   config/mips/trampolines.c,
-   config/powerpc/trampolines.c,
-   config/sh/trampolines.c,
-   config/sparc/trampolines.c:
-   Removed.
-   
-   * config/i386/jit.h (arch_is_trampoline_frame) 
-   Removed prototype.
-
-   * config/mips/jit.h: 
-   Include  if available.
-
-   * kaffe/kaffevm/gcj/gcj-except.c:
-   (arch_is_trampoline_frame) Moved over here.
-
-   * kaffe/kaffevm/jit/Makefile.am,
-   kaffe/kaffevm

Re: [kaffe] Small XScale patch

2005-03-22 Thread Jari Korva
On Sun, 13 Mar 2005, Dalibor Topic wrote:
> Thanks a lot for the patch, Jari! I've now found a way to make the
> configure test unnecessary using standard ISO C feature offsetof, so
> I've just checked in a patch that shoudl always get ALIGNMENTOF_VOIDP
> right. Could you give it a try?

Thanks! Due to locking changes I'm not able to compile Kaffe right now,
but I'll retry later.

 armv5b-softfloat-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../config
-I../../include/kaffe -I../../kaffe/kaffevm/systems/unix-pthreads
-I../../kaffe/kaffevm/jni -Iintrp -I./intrp -I../../libltdl -DINTERPRETER
-I../../kaffe/jvmpi -I../../kaffe/xprof -I../../include
-I../../kaffe/kaffevm/verifier -I../../kaffe/kaffevm/jni
-I/wrk/ipaq/u/jko/kaffe-cvs-head/./kaffe/kaffevm
-I/wrk/ipaq/u/jko/kaffe-cvs-head/./kaffe/kaffevm/intrp
-I/wrk/ipaq/u/jko/kaffe-cvs-head/./kaffe/kaffevm/systems/unix-pthreads
-I../../replace -I../../binreloc -I../../config -I../../include
-DKAFFE_VMDEBUG -D_REENTRANT -pthread -g -O2 -Wchar-subscripts -Wcomment
-Wformat=2 -Wimplicit-function-declaration -Wimplicit-int -Wmain
-Wmissing-braces -Wparentheses -Wsequence-point -Wreturn-type -Wswitch
-Wswitch-default -Wswitch-enum -Wtrigraphs -Wunused-function
-Wunused-label -Wunused-parameter -Wunused-variable -Wunused-value
-Wunknown-pragmas -Wstrict-aliasing -W -Wfloat-equal
-Wdeclaration-after-statement -Wundef -Wendif-labels -Wshadow
-Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align
-Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return
-Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes
-Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute
-Wpacked -Wredundant-decls -Wnested-externs -Winvalid-pch -Winline
-Wlong-long -Wdisabled-optimization -fsigned-char -fno-omit-frame-pointer
-pthread -DENABLE_BINRELOC -MT libkaffevm_la-locks.lo -MD -MP -MF
.deps/libkaffevm_la-locks.Tpo -c locks.c  -fPIC -DPIC -o
.libs/libkaffevm_la-locks.o
locks.c: In function `getHeavyLock':
locks.c:99: warning: cast discards qualifiers from pointer target type
locks.c:109: warning: cast discards qualifiers from pointer target type
locks.c:109: warning: comparison between pointer and integer
locks.c:113: warning: assignment discards qualifiers from pointer target
type
locks.c:130: warning: assignment discards qualifiers from pointer target
type
locks.c:134: warning: cast discards qualifiers from pointer target type
locks.c:134: warning: comparison between pointer and integer
locks.c:157: warning: cast discards qualifiers from pointer target type
locks.c:157: warning: passing arg 3 of `compare_and_swap' as signed due to
prototype
locks.c:157: warning: comparison between signed and unsigned
locks.c:158: warning: cast discards qualifiers from pointer target type
locks.c:161: warning: negative integer implicitly converted to unsigned
type
locks.c:161: warning: cast discards qualifiers from pointer target type
locks.c:161: warning: passing arg 3 of `compare_and_swap' as signed due to
prototype
locks.c:161: warning: comparison between signed and unsigned
locks.c:165: warning: negative integer implicitly converted to unsigned
type
locks.c:165: warning: cast discards qualifiers from pointer target type
locks.c:165: warning: passing arg 3 of `compare_and_swap' as signed due to
prototype
locks.c:165: warning: comparison between signed and unsigned
locks.c: In function `locks_internal_slowUnlockMutexIfHeld':
locks.c:348: warning: comparison between pointer and integer
locks.c: In function `locks_internal_lockMutex':
locks.c:495: warning: comparison between pointer and integer
locks.c: In function `locks_internal_unlockMutex':
locks.c:507: warning: comparison between pointer and integer
/tmp/cczQ3dVN.s: Assembler messages:
/tmp/cczQ3dVN.s:106: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:146: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:173: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:205: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:233: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:263: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:308: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:905: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:1360: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:1414: Error: bad instruction `jmp 2f'
make[2]: *** [libkaffevm_la-locks.lo] Error 1
make[2]: Leaving directory `/wrk/kaffe-cvs-head/kaffe/kaffevm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/wrk/kaffe-cvs-head/kaffe/kaffevm'
make: *** [all-recursive] Error 1

Cheers,
  Jari


___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: archie's JNI fixes

2005-03-22 Thread Kaffe CVS
PatchSet 5578 
Date: 2005/03/21 14:01:04
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: archie's JNI fixes

2005-03-21  Dalibor Topic  <[EMAIL PROTECTED]>

Resynced with GNU Classpath.

2005-03-16  Archie Cobbs  <[EMAIL PROTECTED]>

* native/jni/java-nio/java_nio_VMDirectByteBuffer.c: use
global native reference to wrap persistent jclass variable.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
use DeleteLocalRef() to avoid exhausting local native references.

Members: 
ChangeLog:1.3752->1.3753 

libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:1.7->1.8
 
libraries/clib/nio/java_nio_VMDirectByteBuffer.c:1.4->1.5 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3752 kaffe/ChangeLog:1.3753
--- kaffe/ChangeLog:1.3752  Mon Mar 21 01:21:31 2005
+++ kaffe/ChangeLog Mon Mar 21 14:01:04 2005
@@ -1,3 +1,14 @@
+2005-03-21  Dalibor Topic  <[EMAIL PROTECTED]>
+
+   Resynced with GNU Classpath.
+
+   2005-03-16  Archie Cobbs  <[EMAIL PROTECTED]>
+
+* native/jni/java-nio/java_nio_VMDirectByteBuffer.c: use
+global native reference to wrap persistent jclass variable.
+* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
+use DeleteLocalRef() to avoid exhausting local native references.
+
 2003-03-20  Dalibor Topic  <[EMAIL PROTECTED]>
 
* configure.ac: Check for -mregnames. It lets us use common register 
Index: 
kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
diff -u 
kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:1.7
 
kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:1.8
--- 
kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:1.7
Thu Jan 13 08:56:31 2005
+++ 
kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
Mon Mar 21 14:01:06 2005
@@ -206,6 +206,7 @@
   jclass formatClass;
   jmethodID addExtensionID;
   jmethodID addMimeTypeID;
+  jobject string;
 
   formatClass = (*env)->FindClass
 (env, "gnu/java/awt/peer/gtk/GdkPixbufDecoder$ImageFormatSpec");
@@ -227,26 +228,33 @@
   format = (GdkPixbufFormat *) f->data;
   name = gdk_pixbuf_format_get_name(format);
 
+  string = (*env)->NewStringUTF(env, name);
+  g_assert(string != NULL);
+
   jformat = (*env)->CallStaticObjectMethod 
-   (env, clazz, registerFormatID,  
-(*env)->NewStringUTF(env, name),
+   (env, clazz, registerFormatID, string,
 (jboolean) gdk_pixbuf_format_is_writable(format));
+  (*env)->DeleteLocalRef(env, string);
 
   g_assert(jformat != NULL);
   
   ch = gdk_pixbuf_format_get_extensions(format);
   while (*ch)
{
- (*env)->CallVoidMethod (env, jformat, addExtensionID, 
- (*env)->NewStringUTF(env, *ch)); 
+ string = (*env)->NewStringUTF(env, *ch);
+ g_assert(string != NULL);
+ (*env)->CallVoidMethod (env, jformat, addExtensionID, string);
+ (*env)->DeleteLocalRef(env, string);
  ++ch;
}
   
   ch = gdk_pixbuf_format_get_mime_types(format);
   while (*ch)
{
- (*env)->CallVoidMethod (env, jformat, addMimeTypeID, 
- (*env)->NewStringUTF(env, *ch)); 
+ string = (*env)->NewStringUTF(env, *ch);
+ g_assert(string != NULL);
+ (*env)->CallVoidMethod (env, jformat, addMimeTypeID, string);
+ (*env)->DeleteLocalRef(env, string);
  ++ch;
}
 }
Index: kaffe/libraries/clib/nio/java_nio_VMDirectByteBuffer.c
diff -u kaffe/libraries/clib/nio/java_nio_VMDirectByteBuffer.c:1.4 
kaffe/libraries/clib/nio/java_nio_VMDirectByteBuffer.c:1.5
--- kaffe/libraries/clib/nio/java_nio_VMDirectByteBuffer.c:1.4  Thu Feb 10 
23:23:32 2005
+++ kaffe/libraries/clib/nio/java_nio_VMDirectByteBuffer.c  Mon Mar 21 
14:01:06 2005
@@ -135,6 +135,14 @@
 #else
 #error unsupported pointer size
 #endif
+
+  /* We need to wrap the jclass in global reference to make it persistent */
+  if ((classRawData = (*env)->NewGlobalRef(env, classRawData)) == NULL)
+{
+  JCL_ThrowException(env, "java/lang/InternalError",
+ "failed to create global reference");
+  return;
+}
 }
 
 JNIEXPORT jobject JNICALL

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Re: Assertion failture SORRY !

2005-03-22 Thread Arnaud Vandyck
Mon, 21 Mar 2005 00:17:38 +0100, 
Dalibor Topic <[EMAIL PROTECTED]> wrote: 

> I've checked in a patch. Arnaud, if it works for you, could you report
> back & fire off a pre9 into unstable?

It works for me. I'll upload a PRECVS9 package tonight.

Many thanks for your fix!

-- 
Arnaud Vandyck
http://fosdem.org/ Free and Open Source Developers' European Meeting
jabber: [EMAIL PROTECTED]  February 26-27 2005, Bruxelles, Belgium
Thanks for your presence and  your help to make this year such a success
Java Trap: http://www.gnu.org/philosophy/java-trap.html

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: GZipInputStream fix

2005-03-22 Thread Kaffe CVS
PatchSet 5584 
Date: 2005/03/21 17:43:49
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: GZipInputStream fix

2005-03-21  Dalibor Topic  <[EMAIL PROTECTED]>

Resynced with GNU Classpath.

2005-03-18  Sven de Marothy  <[EMAIL PROTECTED]>

* java/util/zip/GZIPInputStream.java:
(GZIPInputStream): Read header in constructor.

Members: 
ChangeLog:1.3758->1.3759 
libraries/javalib/java/util/zip/GZIPInputStream.java:1.14->1.15 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3758 kaffe/ChangeLog:1.3759
--- kaffe/ChangeLog:1.3758  Mon Mar 21 17:25:27 2005
+++ kaffe/ChangeLog Mon Mar 21 17:43:49 2005
@@ -2,6 +2,15 @@
 
Resynced with GNU Classpath.
 
+   2005-03-18  Sven de Marothy  <[EMAIL PROTECTED]>
+
+* java/util/zip/GZIPInputStream.java:
+(GZIPInputStream): Read header in constructor.
+
+2005-03-21  Dalibor Topic  <[EMAIL PROTECTED]>
+
+   Resynced with GNU Classpath.
+
2005-03-18  Andrew John Hughes  <[EMAIL PROTECTED]>
 
 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
Index: kaffe/libraries/javalib/java/util/zip/GZIPInputStream.java
diff -u kaffe/libraries/javalib/java/util/zip/GZIPInputStream.java:1.14 
kaffe/libraries/javalib/java/util/zip/GZIPInputStream.java:1.15
--- kaffe/libraries/javalib/java/util/zip/GZIPInputStream.java:1.14 Sat Oct 
23 11:24:22 2004
+++ kaffe/libraries/javalib/java/util/zip/GZIPInputStream.java  Mon Mar 21 
17:43:53 2005
@@ -128,6 +128,7 @@
   {
 super(in, new Inflater(true), size);
 crc = new CRC32();
+readHeader();
   }
 
   /**

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): small Tomcat4 fixlet

2005-03-22 Thread Kaffe CVS
PatchSet 5586 
Date: 2005/03/22 00:20:02
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
small Tomcat4 fixlet

2005-03-22  Dalibor Topic  <[EMAIL PROTECTED]>

* libraries/javalib/gnu/classpath/VMSystemProperties.java (VMSystemProperties):
Set build.compiler to jikes to allow out of the box Tomcat4 JSP examples to run.

Members: 
ChangeLog:1.3759->1.3760 
libraries/javalib/gnu/classpath/VMSystemProperties.java:1.3->1.4 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3759 kaffe/ChangeLog:1.3760
--- kaffe/ChangeLog:1.3759  Mon Mar 21 17:43:49 2005
+++ kaffe/ChangeLog Tue Mar 22 00:20:02 2005
@@ -1,3 +1,8 @@
+2005-03-22  Dalibor Topic  <[EMAIL PROTECTED]>
+
+   * libraries/javalib/gnu/classpath/VMSystemProperties.java 
(VMSystemProperties): 
+   Set build.compiler to jikes to allow out of the box Tomcat4 JSP 
examples to run.
+
 2005-03-21  Dalibor Topic  <[EMAIL PROTECTED]>
 
Resynced with GNU Classpath.
Index: kaffe/libraries/javalib/gnu/classpath/VMSystemProperties.java
diff -u kaffe/libraries/javalib/gnu/classpath/VMSystemProperties.java:1.3 
kaffe/libraries/javalib/gnu/classpath/VMSystemProperties.java:1.4
--- kaffe/libraries/javalib/gnu/classpath/VMSystemProperties.java:1.3   Mon Feb 
21 04:52:34 2005
+++ kaffe/libraries/javalib/gnu/classpath/VMSystemProperties.java   Tue Mar 
22 00:20:09 2005
@@ -117,7 +117,8 @@
   /* Define the default java compiler - this should be configured
* somehow.
*/
-  properties.setProperty("kaffe.compiler", "kjc");
+  properties.setProperty("kaffe.compiler", "jikes");
+  properties.setProperty("build.compiler", "jikes");
 
   // Invoke native methods to get the values of the other properties
 

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Resynced with gjdoc

2005-03-22 Thread Kaffe CVS
PatchSet 5587 
Date: 2005/03/22 04:20:22
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with gjdoc

Members: 
ChangeLog:1.3760->1.3761 
Makefile.in:1.207->1.208 
configure:1.437->1.438 
configure.ac:1.127->1.128 
kaffe/scripts/javadoc.in:1.8->1.9 
kaffe/scripts/compat/javadoc.in:1.9->1.10 
m4/ac_prog_antlr.m4:1.3->1.4 
tools/gjdoc/javalib/Makefile.am:1.13->1.14 
tools/gjdoc/javalib/Makefile.in:1.48->1.49 
tools/gjdoc/javalib/version.properties.in:INITIAL->1.1 

tools/gjdoc/javalib/gnu/classpath/tools/MalformedInputEvent.java:1.1->1.2 

tools/gjdoc/javalib/gnu/classpath/tools/NotifyingInputStreamReader.java:1.2->1.3
 

tools/gjdoc/javalib/gnu/classpath/tools/doclets/AbstractDoclet.java:1.5->1.6 

tools/gjdoc/javalib/gnu/classpath/tools/doclets/htmldoclet/CssClass.java:1.5->1.6
 

tools/gjdoc/javalib/gnu/classpath/tools/doclets/htmldoclet/HtmlDoclet.java:1.5->1.6
 

tools/gjdoc/javalib/gnu/classpath/tools/gjdoc/ClassDocImpl.java:1.4->1.5 

tools/gjdoc/javalib/gnu/classpath/tools/gjdoc/ExecutableMemberDocImpl.java:1.4->1.5
 

tools/gjdoc/javalib/gnu/classpath/tools/gjdoc/InheritDocTagImpl.java:1.1->1.2 
tools/gjdoc/javalib/gnu/classpath/tools/gjdoc/Main.java:1.7->1.8 
tools/gjdoc/javalib/gnu/classpath/tools/gjdoc/Parser.java:1.6->1.7 
tools/gjdoc/javalib/gnu/classpath/tools/gjdoc/RootDocImpl.java:1.4->1.5 
tools/gjdoc/javalib/gnu/classpath/tools/gjdoc/SeeTagImpl.java:1.4->1.5 
tools/gjdoc/javalib/gnu/classpath/tools/gjdoc/TagImpl.java:1.3->1.4 

tools/gjdoc/javalib/gnu/classpath/tools/java2xhtml/Java2xhtml.java:1.4->1.5 
tools/gjdoc/javalib/htmldoclet/gjdochtml-clean-layout.css:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3760 kaffe/ChangeLog:1.3761
--- kaffe/ChangeLog:1.3760  Tue Mar 22 00:20:02 2005
+++ kaffe/ChangeLog Tue Mar 22 04:20:22 2005
@@ -1,5 +1,150 @@
 2005-03-22  Dalibor Topic  <[EMAIL PROTECTED]>
 
+   * kaffe/scripts/compat/javadoc.in,
+   kaffe/scripts/compat/javadoc.in:
+   Added -Xmx512M to parameters used to invoke Kaffe to be able to 
+   deal with running javadoc on Kaffe's source tree out of the box.
+
+   * m4/m4/ac_prog_antlr.m4: Fixed antlr.jar test to bail out if 
+   no antlr.jar can be found.
+   
+   Resynced with gjdoc.
+   
+   2005-03-14  Julian Scheid  <[EMAIL PROTECTED]>
+
+   * src/gnu/classpath/tools/java2xhtml/Java2xhtml.java: Added
+   license boilerplate; updated copyright and license in usage
+   output.
+
+   2005-03-13  Julian Scheid  <[EMAIL PROTECTED]>
+
+   * src/gnu/classpath/tools/gjdoc/Main.java: Added method
+   execute(String, String[]) and commented-out empty shells for
+   additional execute methods.  Thanks to Jerry Haltom.
+   
+   2005-03-08  Julian Scheid  <[EMAIL PROTECTED]>
+
+   * src/gnu/classpath/tools/gjdoc/Main.java: add support for option
+   -reflection; disable reflection by default.
+
+   * src/gnu/classpath/tools/gjdoc/RootDocImpl.java: only use
+   reflection if enabled on command line.
+
+   2005-03-08  Julian Scheid  <[EMAIL PROTECTED]>
+
+   * src/gnu/classpath/tools/gjdoc/ExecutableMemberDocImpl.java:
+   properly parse the thrown exception immediately preceding the
+   closing semicolon of an interface method declaration.
+
+   Reported by Robert Schuster
+
+   2005-03-04  Julian Scheid  <[EMAIL PROTECTED]>
+
+   * src/gnu/classpath/tools/gjdoc/SeeTagImpl.java: Removed bogus
+   Thread.dumpStack() invocation.
+
+   Reported by Arnaud Vandyck
+
+   * src/gnu/classpath/tools/gjdoc/Main.java: Pass DocErrorReporter
+   in reflected invocation of Doclet's validOptions() method.
+
+   Reported by Christopher Oezbek
+
+   2005-02-21  Julian Scheid  <[EMAIL PROTECTED]>
+
+   * src/gnu/classpath/tools/doclets/htmldoclet/HtmlDoclet.java: fix
+   support for option -title.
+
+   2005-02-14  Julian Scheid  <[EMAIL PROTECTED]>
+
+   * src/gnu/classpath/tools/NotifyingInputStreamReader.java: fixed
+   bug #11989: ParseException with -encoding UTF-8.
+   
+   Reported by Kalle Olavi Niemitalo.
+
+   2005-02-11  Julian Scheid  <[EMAIL PROTECTED]>
+
+   * src/gnu/classpath/tools/NotifyingInputStreamReader.java:
+   correctly handle remaining undecoded bytes in the input buffer.
+
+   * src/gnu/classpath/tools/MalformedInputEvent.java: added
+   toString() method.
+
+   2005-02-11  Julian Scheid  <[EMAIL PROTECTED]>
+
+   * src/gnu/classpath/tools/gjdoc/Main.java: do not catch Throwable,
+   catch Exception instead so that Errors can fall through.
+
+   2005-02-11  Julian Scheid  <[EMAIL PROTECTED]>
+
+   * src/gnu/classpath/tools/gjdoc/Main.java: Also exit with return
+   code 1 if the doclet raised any errors.
+

[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: CORBA fixes

2005-03-22 Thread Kaffe CVS
PatchSet 5585 
Date: 2005/03/21 19:16:19
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: CORBA fixes

2005-03-19  Audrius Meskauskas  <[EMAIL PROTECTED]>

* org/omg/CORBA/AnySeqHolder.java,
org/omg/CORBA/AnySeqHelper.java,
org/omg/CORBA/CompletionStatusHelper.java:
New files.

Members: 
libraries/javalib/Makefile.am:1.327->1.328 
libraries/javalib/Makefile.in:1.414->1.415 
libraries/javalib/all.files:1.107->1.108 
libraries/javalib/org/omg/CORBA/AnySeqHelper.java:INITIAL->1.1 
libraries/javalib/org/omg/CORBA/AnySeqHolder.java:INITIAL->1.1 

libraries/javalib/org/omg/CORBA/CompletionStatusHelper.java:INITIAL->1.1 

Index: kaffe/libraries/javalib/Makefile.am
diff -u kaffe/libraries/javalib/Makefile.am:1.327 
kaffe/libraries/javalib/Makefile.am:1.328
--- kaffe/libraries/javalib/Makefile.am:1.327   Tue Mar 15 01:57:21 2005
+++ kaffe/libraries/javalib/Makefile.am Mon Mar 21 19:16:19 2005
@@ -4419,6 +4419,8 @@
org/omg/CORBA/ARG_OUT.java \
org/omg/CORBA/Any.java \
org/omg/CORBA/AnyHolder.java \
+   org/omg/CORBA/AnySeqHelper.java \
+   org/omg/CORBA/AnySeqHolder.java \
org/omg/CORBA/BAD_CONTEXT.java \
org/omg/CORBA/BAD_INV_ORDER.java \
org/omg/CORBA/BAD_OPERATION.java \
@@ -4434,6 +4436,7 @@
org/omg/CORBA/CharSeqHelper.java \
org/omg/CORBA/CharSeqHolder.java \
org/omg/CORBA/CompletionStatus.java \
+   org/omg/CORBA/CompletionStatusHelper.java \
org/omg/CORBA/Context.java \
org/omg/CORBA/ContextList.java \
org/omg/CORBA/DATA_CONVERSION.java \
Index: kaffe/libraries/javalib/Makefile.in
diff -u kaffe/libraries/javalib/Makefile.in:1.414 
kaffe/libraries/javalib/Makefile.in:1.415
--- kaffe/libraries/javalib/Makefile.in:1.414   Wed Mar 16 10:31:36 2005
+++ kaffe/libraries/javalib/Makefile.in Mon Mar 21 19:16:19 2005
@@ -5028,6 +5028,8 @@
org/omg/CORBA/ARG_OUT.java \
org/omg/CORBA/Any.java \
org/omg/CORBA/AnyHolder.java \
+   org/omg/CORBA/AnySeqHelper.java \
+   org/omg/CORBA/AnySeqHolder.java \
org/omg/CORBA/BAD_CONTEXT.java \
org/omg/CORBA/BAD_INV_ORDER.java \
org/omg/CORBA/BAD_OPERATION.java \
@@ -5043,6 +5045,7 @@
org/omg/CORBA/CharSeqHelper.java \
org/omg/CORBA/CharSeqHolder.java \
org/omg/CORBA/CompletionStatus.java \
+   org/omg/CORBA/CompletionStatusHelper.java \
org/omg/CORBA/Context.java \
org/omg/CORBA/ContextList.java \
org/omg/CORBA/DATA_CONVERSION.java \
Index: kaffe/libraries/javalib/all.files
diff -u kaffe/libraries/javalib/all.files:1.107 
kaffe/libraries/javalib/all.files:1.108
--- kaffe/libraries/javalib/all.files:1.107 Tue Mar 15 01:57:23 2005
+++ kaffe/libraries/javalib/all.files   Mon Mar 21 19:16:20 2005
@@ -3823,6 +3823,8 @@
 org/omg/CORBA/ARG_OUT.java
 org/omg/CORBA/Any.java
 org/omg/CORBA/AnyHolder.java
+org/omg/CORBA/AnySeqHelper.java
+org/omg/CORBA/AnySeqHolder.java
 org/omg/CORBA/BAD_CONTEXT.java
 org/omg/CORBA/BAD_INV_ORDER.java
 org/omg/CORBA/BAD_OPERATION.java
@@ -3838,6 +3840,7 @@
 org/omg/CORBA/CharSeqHelper.java
 org/omg/CORBA/CharSeqHolder.java
 org/omg/CORBA/CompletionStatus.java
+org/omg/CORBA/CompletionStatusHelper.java
 org/omg/CORBA/Context.java
 org/omg/CORBA/ContextList.java
 org/omg/CORBA/DATA_CONVERSION.java
===
Checking out kaffe/libraries/javalib/org/omg/CORBA/AnySeqHelper.java
RCS:  /home/cvs/kaffe/kaffe/libraries/javalib/org/omg/CORBA/AnySeqHelper.java,v
VERS: 1.1
***
--- /dev/null   Sun Aug  4 19:57:58 2002
+++ kaffe/libraries/javalib/org/omg/CORBA/AnySeqHelper.java Mon Mar 21 
19:20:57 2005
@@ -0,0 +1,147 @@
+/* AnySeqHelper.java --
+   Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+

[kaffe] CVS kaffe (guilhem): Disabled atomicity.h on mips

2005-03-22 Thread Kaffe CVS
PatchSet 5589 
Date: 2005/03/22 14:03:07
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Disabled atomicity.h on mips

Members: 
ChangeLog:1.3762->1.3763 
config/mips/common.h:1.12->1.13 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3762 kaffe/ChangeLog:1.3763
--- kaffe/ChangeLog:1.3762  Tue Mar 22 13:04:35 2005
+++ kaffe/ChangeLog Tue Mar 22 14:03:07 2005
@@ -1,5 +1,9 @@
 2005-03-22  Guilhem Lavaux  <[EMAIL PROTECTED]>
 
+   * config/mips/common.h: Disabled atomicity.h
+
+2005-03-22  Guilhem Lavaux  <[EMAIL PROTECTED]>
+
* config/ia64/common.h: Removed the inclusion of atomicity.h
 
 2005-03-22  Dalibor Topic  <[EMAIL PROTECTED]>
Index: kaffe/config/mips/common.h
diff -u kaffe/config/mips/common.h:1.12 kaffe/config/mips/common.h:1.13
--- kaffe/config/mips/common.h:1.12 Sun Mar 20 20:30:39 2005
+++ kaffe/config/mips/common.h  Tue Mar 22 14:03:10 2005
@@ -30,7 +30,10 @@
 #undef HAVE_MIPSII_INSTRUCTIONS
 #endif 
 
-#if defined(HAVE_MIPSII_INSTRUCTIONS)
+/* Atomicity is temporarily disabled because the compare_and_swap function 
+ * do not return the right value. Use the generic one instead.
+ */
+#if defined(HAVE_MIPSII_INSTRUCTIONS) && 0
 #include "atomicity.h"
 #else
 

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (guilhem): Fix ia64 common.h

2005-03-22 Thread Kaffe CVS
PatchSet 5588 
Date: 2005/03/22 13:04:35
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Fix ia64 common.h

Members: 
ChangeLog:1.3761->1.3762 
config/ia64/common.h:1.5->1.6 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3761 kaffe/ChangeLog:1.3762
--- kaffe/ChangeLog:1.3761  Tue Mar 22 04:20:22 2005
+++ kaffe/ChangeLog Tue Mar 22 13:04:35 2005
@@ -1,3 +1,7 @@
+2005-03-22  Guilhem Lavaux  <[EMAIL PROTECTED]>
+
+   * config/ia64/common.h: Removed the inclusion of atomicity.h
+
 2005-03-22  Dalibor Topic  <[EMAIL PROTECTED]>
 
* kaffe/scripts/compat/javadoc.in,
Index: kaffe/config/ia64/common.h
diff -u kaffe/config/ia64/common.h:1.5 kaffe/config/ia64/common.h:1.6
--- kaffe/config/ia64/common.h:1.5  Sun Mar 20 20:30:39 2005
+++ kaffe/config/ia64/common.h  Tue Mar 22 13:04:40 2005
@@ -12,8 +12,6 @@
 #ifndef __ia64_common_h
 #define __ia64_common_h
 
-#include "atomicity.h"
-
 #define NEED_STACK_ALIGN
 #define STACK_ALIGN(p)  unsigned long)(p)) & 15) ^ (unsigned long)(p))
 

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] kaffe-1.1.4 'make' fails on alpha arch..

2005-03-22 Thread mel kravitz
Hi,
having trouble completing 'make' on my debian kernel 2.6.10 unstable box 
the error i get:
make[1]: Entering directory `/home/mel/kaffe-1.1.4/test'
Making all in regression
make[2]: Entering directory `/home/mel/kaffe-1.1.4/test/regression'
Making all in compile_time
make[3]: Entering directory 
`/home/mel/kaffe-1.1.4/test/regression/compile_time'
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/ArrayIndexOutOfBoundsException
make[3]: *** [ClassToInterface.class] Aborted
make[3]: Leaving directory 
`/home/mel/kaffe-1.1.4/test/regression/compile_time'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mel/kaffe-1.1.4/test/regression'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mel/kaffe-1.1.4/test'
make: *** [all-recursive] Error 1
any help appreciated.
-Mel

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] cvs 'make check' output on alpha mostly fails?

2005-03-22 Thread mel kravitz
cvs kaffe compiled with --with-engine=intrp, compiles on alpha DS20 2.6.10
debian unstable system. tomcat4  stops at:
switch8:/home/mel# cd /usr/local/tomcat4/bin
switch8:/usr/local/tomcat4/bin# sh catalina.sh run
Using CATALINA_BASE:   /usr/local/tomcat4
Using CATALINA_HOME:   /usr/local/tomcat4
Using CATALINA_TMPDIR: /usr/local/tomcat4/temp
Using JAVA_HOME:   /usr/local/kaffe
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException
at java.lang.VMThrowable.fillInStackTrace(VMThrowable.java:76)
at java.lang.Throwable.fillInStackTrace(Throwable.java:498)
at java.lang.Throwable.(Throwable.java:159)
at java.lang.Error.(Error.java:81)
at java.lang.LinkageError.(LinkageError.java:72)
at 
java.lang.ExceptionInInitializerError.(ExceptionInInitializerError.java:97)
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:772)
Aborted
while 'make check' in kaffe dir:
Making check in .
make[1]: Entering directory `/home/mel/kaffe'
make  check-local
make[2]: Entering directory `/home/mel/kaffe'
cd test && make check
make[3]: Entering directory `/home/mel/kaffe/test'
Making check in internal
make[4]: Entering directory `/home/mel/kaffe/test/internal'
make  jitBasic
make[5]: Entering directory `/home/mel/kaffe/test/internal'
make[5]: `jitBasic' is up to date.
make[5]: Leaving directory `/home/mel/kaffe/test/internal'
make  check-TESTS
make[5]: Entering directory `/home/mel/kaffe/test/internal'
PASS: jitBasic
==
All 1 tests passed
==
make[5]: Leaving directory `/home/mel/kaffe/test/internal'
make[4]: Leaving directory `/home/mel/kaffe/test/internal'
Making check in regression
make[4]: Entering directory `/home/mel/kaffe/test/regression'
Making check in compile_time
make[5]: Entering directory `/home/mel/kaffe/test/regression/compile_time'
make[5]: Nothing to be done for `check'.
make[5]: Leaving directory `/home/mel/kaffe/test/regression/compile_time'
Making check in run_time
make[5]: Entering directory `/home/mel/kaffe/test/regression/run_time'
make[5]: Nothing to be done for `check'.
make[5]: Leaving directory `/home/mel/kaffe/test/regression/run_time'
Making check in compiler
make[5]: Entering directory `/home/mel/kaffe/test/regression/compiler'
make[5]: Nothing to be done for `check'.
make[5]: Leaving directory `/home/mel/kaffe/test/regression/compiler'
make[5]: Entering directory `/home/mel/kaffe/test/regression'
make  check-TESTS
make[6]: Entering directory `/home/mel/kaffe/test/regression'
PASS: HelloWorldApp.class.save
FAIL: HelloWorldApp.java
FAIL: MultiArray.java
FAIL: RefTest.java
FAIL: TestIntLong.java
PASS: TestFloatDouble.java
FAIL: DoubleCvt.java
FAIL: DoubleNeg.java
FAIL: DoubleConst.java
FAIL: DoublePrint.java
FAIL: DoubleComp.java
FAIL: ModuloTest.java
FAIL: LongNeg.java
FAIL: FPUStack.java
FAIL: NegativeDivideConst.java
FAIL: divtest.java
FAIL: Str.java
FAIL: Str2.java
FAIL: InternHog.java
FAIL: IndexTest.java
FAIL: StackDump.java
PASS: CatchLimits.class.save
FAIL: tname.java
FAIL: ttest.java
FAIL: ThreadInterrupt.java
FAIL: ThreadState.java
FAIL: UncaughtException.java
FAIL: IllegalWait.java
FAIL: WaitTest.java
FAIL: Preempt.java
FAIL: TestSerializable.java
FAIL: TestSerializable2.java
PASS: SerializationCompatibility.java
FAIL: SerialPersistentFields.java
FAIL: TestSerialVersions.java
FAIL: TestSerialPersistent.java
FAIL: TestSerialFields.java
FAIL: TestObjectStreamField.java
FAIL: ReflectInterfaces.java
FAIL: InnerTest.java
FAIL: SerialUID.java
FAIL: TestCasts.java
FAIL: Alias.java
FAIL: NullPointerTest.java
FAIL: NullInvoke.java
FAIL: TableSwitch.java
FAIL: LostFrame.java
FAIL: ConstructorTest.java
FAIL: burford.java
FAIL: IllegalInterface.java
FAIL: GetInterfaces.java
FAIL: IntfTest.java
FAIL: SignedShort.java
FAIL: CharCvt.java
FAIL: BadFloatTest.java
FAIL: ProcessTest.java
FAIL: UDPTest.java
FAIL: SoTimeout.java
FAIL: wc.java
FAIL: FileTest.java
FAIL: FileChecks.java
FAIL: finalexc.java
FAIL: finaltest.java
FAIL: finaltest2.java
FAIL: forNameTest.java
FAIL: LoaderTest.java
FAIL: ArrayForName.java
FAIL: KaffeVerifyBug.java
FAIL: Schtum.java
FAIL: Reflect.java
FAIL: MethodBug.java
FAIL: Bean.java
FAIL: SortTest.java
FAIL: ArraysTest.java
FAIL: SubListTest.java
FAIL: HashTest.java
FAIL: SecureRandomTest.java
FAIL: MapTest.java
FAIL: URLTest.java
FAIL: PropertiesTest.java
FAIL: ReaderTest.java
FAIL: CharArrayReaderTest.java
FAIL: LineNumberReaderTest.java
FAIL: BufferedReaderTest.java
FAIL: ReaderReadVoidTest.java
PASS: InputStreamTest.java
FAIL: PipeTest.java
FAIL: DateFormatTest.java
FAIL: GetField.java
FAIL: LostTrampolineFrame.java
FAIL: NetworkInterfaceTest.java
FAIL: InetAddressTest.java
FAIL: InetSocketAddressTest.java
FAIL: ShutdownHookTest.java
FAIL: TestMessageFormat.java
FAIL: ReflectInvoke.java
FAIL: InvTarExcTest.java
FAIL: DeleteFile.java
FAIL: PrimordialLoaderTest.java
FAIL: SystemLoaderTest.java
FAIL: NoClassDefTe

[kaffe] CVS kaffe (guilhem): Fix usage of sigaltstack on irix.

2005-03-22 Thread Kaffe CVS
PatchSet 5590 
Date: 2005/03/22 15:35:49
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Fix usage of sigaltstack on irix.

Members: 
ChangeLog:1.3763->1.3764 
configure:1.438->1.439 
configure.ac:1.128->1.129 
config/config.h.in:1.138->1.139 
config/mips/irix5/config.frag:INITIAL->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3763 kaffe/ChangeLog:1.3764
--- kaffe/ChangeLog:1.3763  Tue Mar 22 14:03:07 2005
+++ kaffe/ChangeLog Tue Mar 22 15:35:49 2005
@@ -1,5 +1,14 @@
 2005-03-22  Guilhem Lavaux  <[EMAIL PROTECTED]>
 
+   * config/config.h.in, configure: Regenerated.
+
+   * config/mips/irix5/config.frag: Added need_stack_end=yes
+
+   * configure.ac: Check for need_stack_end in config.frag and
+   define SIGALTSTACK_NEEDS_END.
+
+2005-03-22  Guilhem Lavaux  <[EMAIL PROTECTED]>
+
* config/mips/common.h: Disabled atomicity.h
 
 2005-03-22  Guilhem Lavaux  <[EMAIL PROTECTED]>
Index: kaffe/configure
diff -u kaffe/configure:1.438 kaffe/configure:1.439
--- kaffe/configure:1.438   Tue Mar 22 04:20:24 2005
+++ kaffe/configure Tue Mar 22 15:35:53 2005
@@ -9497,6 +9497,14 @@
{ (exit 1); exit 1; }; }
 fi
 
+if test x"$needs_altstack_end_pointer" = x"yes"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define SIGALTSTACK_NEEDS_END 1
+_ACEOF
+
+fi
+
 
 
 case "$dynamic_libraries,$vm_dynamic_library" in
@@ -10071,7 +10079,7 @@
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 10074 "configure"' > conftest.$ac_ext
+  echo '#line 10082 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -11428,7 +11436,7 @@
 
 
 # Provide some information about the compiler.
-echo "$as_me:11431:" \
+echo "$as_me:11439:" \
  "checking for Fortran 77 compiler version" >&5
 ac_compiler=`set X $ac_compile; echo $2`
 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5
@@ -12501,11 +12509,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12504: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:12512: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:12508: \$? = $ac_status" >&5
+   echo "$as_me:12516: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings
@@ -12756,11 +12764,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12759: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:12767: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:12763: \$? = $ac_status" >&5
+   echo "$as_me:12771: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings
@@ -12816,11 +12824,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12819: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:12827: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:12823: \$? = $ac_status" >&5
+   echo "$as_me:12831: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -15020,7 +15028,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+   (eval echo "\"\$as_me:17353: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-   echo "$as_me:17349: \$? = $ac_status" >&5
+   echo "$as_me:17357: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
  # The compiler can only warn and ignore the option if not recognized
  # So say no if there are warnings
@@ -17402,11 +17410,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:17405: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:17413: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-   echo "$as_me:17409: \$? = $ac_status" >&5
+   echo "$as_me:17417: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
  # The compiler can only warn and ignore the option if not recognized
@@ -18769,7 +18777,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; 

[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: VMSelector implementation merged in

2005-03-22 Thread Kaffe CVS
PatchSet 5580 
Date: 2005/03/21 17:14:58
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: VMSelector implementation merged in

2005-03-21  Dalibor Topic  <[EMAIL PROTECTED]>

Resynced with GNU Classpath.

2005-03-18  Robert Schuster  <[EMAIL PROTECTED]>

* native/jni/java-nio/gnu_java_nio_VMSelector.c: Implemented
Java_gnu_java_nio_VMSelector_select.
* configure.ac: Added check for sys/select.h and strerro_r().

* libraries/clib/nio/SelectorImpl.c: Removed. Replaced by
gnu_java_nio_VMSelector.c.

Members: 
ChangeLog:1.3754->1.3755 
configure:1.436->1.437 
configure.ac:1.126->1.127 
config/config.h.in:1.137->1.138 
libraries/clib/nio/Makefile.am:1.10->1.11 
libraries/clib/nio/Makefile.in:1.66->1.67 
libraries/clib/nio/SelectorImpl.c:1.3->1.4(DEAD) 
libraries/clib/nio/gnu_java_nio_VMSelector.c:INITIAL->1.1 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3754 kaffe/ChangeLog:1.3755
--- kaffe/ChangeLog:1.3754  Mon Mar 21 16:36:56 2005
+++ kaffe/ChangeLog Mon Mar 21 17:14:58 2005
@@ -2,6 +2,19 @@
 
Resynced with GNU Classpath.
 
+   2005-03-18  Robert Schuster  <[EMAIL PROTECTED]>
+
+* native/jni/java-nio/gnu_java_nio_VMSelector.c: Implemented
+   Java_gnu_java_nio_VMSelector_select.
+* configure.ac: Added check for sys/select.h and strerro_r().
+
+   * libraries/clib/nio/SelectorImpl.c: Removed. Replaced by 
+   gnu_java_nio_VMSelector.c.
+
+2005-03-21  Dalibor Topic  <[EMAIL PROTECTED]>
+
+   Resynced with GNU Classpath.
+
2005-03-17  Chris Burdess  <[EMAIL PROTECTED]>
 
 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
Index: kaffe/configure
diff -u kaffe/configure:1.436 kaffe/configure:1.437
--- kaffe/configure:1.436   Mon Mar 21 01:21:33 2005
+++ kaffe/configure Mon Mar 21 17:15:02 2005
@@ -44095,7 +44095,8 @@
 
 
 
-for ac_func in strerror hstrerror
+
+for ac_func in strerror hstrerror strerror_r
 do
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 echo "$as_me:$LINENO: checking for $ac_func" >&5
Index: kaffe/configure.ac
diff -u kaffe/configure.ac:1.126 kaffe/configure.ac:1.127
--- kaffe/configure.ac:1.126Mon Mar 21 01:21:36 2005
+++ kaffe/configure.ac  Mon Mar 21 17:15:09 2005
@@ -1488,7 +1488,7 @@
   AC_DEFINE(STRTOD_m0_BROKEN, 1, [Define if strtod(\"-0.0\") is broken])
 fi
 
-AC_CHECK_FUNCS([strerror hstrerror])
+AC_CHECK_FUNCS([strerror hstrerror strerror_r])
 AC_CHECK_FUNCS([fcntl ioctl])
 AC_CHECK_FUNCS([alarm setitimer])
 AC_CHECK_FUNCS([sigprocmask sigsetmask sigemptyset sigaddset signal sigaction])
Index: kaffe/config/config.h.in
diff -u kaffe/config/config.h.in:1.137 kaffe/config/config.h.in:1.138
--- kaffe/config/config.h.in:1.137  Wed Mar 16 10:30:55 2005
+++ kaffe/config/config.h.inMon Mar 21 17:15:09 2005
@@ -512,6 +512,9 @@
 /* Define to 1 if you have the `strerror' function. */
 #undef HAVE_STRERROR
 
+/* Define to 1 if you have the `strerror_r' function. */
+#undef HAVE_STRERROR_R
+
 /* Define to 1 if you have the `strftime' function. */
 #undef HAVE_STRFTIME
 
Index: kaffe/libraries/clib/nio/Makefile.am
diff -u kaffe/libraries/clib/nio/Makefile.am:1.10 
kaffe/libraries/clib/nio/Makefile.am:1.11
--- kaffe/libraries/clib/nio/Makefile.am:1.10   Thu Jan 13 11:16:34 2005
+++ kaffe/libraries/clib/nio/Makefile.amMon Mar 21 17:15:10 2005
@@ -23,7 +23,7 @@
 
 libnio_la_SOURCES = \
java_nio_VMDirectByteBuffer.c \
-   SelectorImpl.c \
+   gnu_java_nio_VMSelector.c \
FileChannelImpl.c
 
 libnio_la_DEPENDENCIES = \
Index: kaffe/libraries/clib/nio/Makefile.in
diff -u kaffe/libraries/clib/nio/Makefile.in:1.66 
kaffe/libraries/clib/nio/Makefile.in:1.67
--- kaffe/libraries/clib/nio/Makefile.in:1.66   Wed Mar 16 10:31:25 2005
+++ kaffe/libraries/clib/nio/Makefile.inMon Mar 21 17:15:10 2005
@@ -85,7 +85,8 @@
 am__DEPENDENCIES_1 =  \
$(top_builddir)/libraries/clib/classpath/libclasspath.la
 am_libnio_la_OBJECTS = libnio_la-java_nio_VMDirectByteBuffer.lo \
-   libnio_la-SelectorImpl.lo libnio_la-FileChannelImpl.lo
+   libnio_la-gnu_java_nio_VMSelector.lo \
+   libnio_la-FileChannelImpl.lo
 libnio_la_OBJECTS = $(am_libnio_la_OBJECTS)
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/config 
-I$(top_builddir)/include/kaffe
 depcomp = $(SHELL) $(top_srcdir)/scripts/depcomp
@@ -395,7 +396,7 @@
 
 libnio_la_SOURCES = \
java_nio_VMDirectByteBuffer.c \
-   SelectorImpl.c \
+   gnu_java_nio_VMSelector.c \
FileChannelImpl.c
 
 libnio_la_DEPENDENCIES = \
@@ -475,7 +476,7 @@
-rm -f *.tab.c
 
 @AMDEP_TRUE@@am__include@ @[EMAIL PROTECTED]/$(DEPDIR)/[EMAIL PROTECTED]@
[EMAIL PROTECTED]@@am__include@ @[EMAIL PROTECTED]/$(DEPDIR)/[EMAIL PROTECTED]@
[EMAIL PROTECTED]@@am__include@ @[EMAIL PROTECTED]/$(DEPDIR)/[EMAIL PROTECTED]@
 @AMDEP_TRUE@@am__include@ @[EMAIL PROTECTED]

[kaffe] CVS kaffe (robilad): resynced with GNU Classpath: HTML parser fixes

2005-03-22 Thread Kaffe CVS
PatchSet 5583 
Date: 2005/03/21 17:25:27
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
resynced with GNU Classpath: HTML parser fixes

2005-03-21  Dalibor Topic  <[EMAIL PROTECTED]>

Resynced with GNU Classpath.

2005-03-18  Andrew John Hughes  <[EMAIL PROTECTED]>

* gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
(getAttributeNames()): Replaced 'enum' with 'enumeration'.
* gnu/javax/swing/text/html/parser/htmlValidator.java:
(validateParameters(TagElement,htmlAttributeSet)):
Replaced 'enum' with 'enumeration'.
(validateAttribute(TagElement,htmlAttributeSet,
   Enumeration,Enumeration)):
Likewise.

Members: 
ChangeLog:1.3757->1.3758 

libraries/javalib/gnu/javax/swing/text/html/parser/htmlAttributeSet.java:1.1->1.2
 

libraries/javalib/gnu/javax/swing/text/html/parser/htmlValidator.java:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3757 kaffe/ChangeLog:1.3758
--- kaffe/ChangeLog:1.3757  Mon Mar 21 17:23:28 2005
+++ kaffe/ChangeLog Mon Mar 21 17:25:27 2005
@@ -2,6 +2,21 @@
 
Resynced with GNU Classpath.
 
+   2005-03-18  Andrew John Hughes  <[EMAIL PROTECTED]>
+
+* gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
+(getAttributeNames()): Replaced 'enum' with 'enumeration'.
+* gnu/javax/swing/text/html/parser/htmlValidator.java:
+(validateParameters(TagElement,htmlAttributeSet)):
+Replaced 'enum' with 'enumeration'.
+(validateAttribute(TagElement,htmlAttributeSet,
+   Enumeration,Enumeration)):
+Likewise.
+
+2005-03-21  Dalibor Topic  <[EMAIL PROTECTED]>
+
+   Resynced with GNU Classpath.
+
2005-03-18  Audrius Meskauskas  <[EMAIL PROTECTED]>
 
 * javax/swing/text/html/parser/Entity.java (getType): New method.
Index: 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlAttributeSet.java
diff -u 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlAttributeSet.java:1.1
 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlAttributeSet.java:1.2
--- 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlAttributeSet.java:1.1
  Fri Mar 11 20:04:51 2005
+++ 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlAttributeSet.java  
Mon Mar 21 17:25:33 2005
@@ -82,18 +82,18 @@
   public Enumeration getAttributeNames()
   {
 // Replace the string keys by HTML.attribute, where applicable
-final Enumeration enum = super.getAttributeNames();
+final Enumeration enumeration = super.getAttributeNames();
 
 return new Enumeration()
   {
 public boolean hasMoreElements()
 {
-  return enum.hasMoreElements();
+  return enumeration.hasMoreElements();
 }
 
 public Object nextElement()
 {
-  Object key = enum.nextElement();
+  Object key = enumeration.nextElement();
   HTML.Attribute hKey = HTML.getAttributeKey((String) key);
   if (hKey != null)
 return hKey;
Index: 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlValidator.java
diff -u 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlValidator.java:1.1 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlValidator.java:1.2
--- 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlValidator.java:1.1 
Fri Mar 11 20:04:51 2005
+++ kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlValidator.java 
Mon Mar 21 17:25:33 2005
@@ -431,11 +431,11 @@
)
   return;
 
-Enumeration enum = parameters.getAttributeNames();
+Enumeration enumeration = parameters.getAttributeNames();
 
-while (enum.hasMoreElements())
+while (enumeration.hasMoreElements())
   {
-validateAttribute(tag, parameters, enum);
+validateAttribute(tag, parameters, enumeration);
   }
 
 // Check for missing required values.
@@ -480,12 +480,12 @@
   }
 
   private void validateAttribute(TagElement tag, htmlAttributeSet parameters,
- Enumeration enum
+ Enumeration enumeration
 )
   {
 Object foundAttribute;
 AttributeList dtdAttribute;
-foundAttribute = enum.nextElement();
+foundAttribute = enumeration.nextElement();
 dtdAttribute = tag.getElement().getAttribute(foundAttribute.toString());
 if (dtdAttribute == null)
   {

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Added missing changelog entry

2005-03-22 Thread Kaffe CVS
PatchSet 5581 
Date: 2005/03/21 17:18:14
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Added missing changelog entry

Members: 
ChangeLog:1.3755->1.3756 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3755 kaffe/ChangeLog:1.3756
--- kaffe/ChangeLog:1.3755  Mon Mar 21 17:14:58 2005
+++ kaffe/ChangeLog Mon Mar 21 17:18:14 2005
@@ -4,6 +4,11 @@
 
2005-03-18  Robert Schuster  <[EMAIL PROTECTED]>
 
+* native/jni/java-nio/gnu_java_nio_VMSelector.c: Added important
+return statement after throwing exception.
+
+   2005-03-18  Robert Schuster  <[EMAIL PROTECTED]>
+
 * native/jni/java-nio/gnu_java_nio_VMSelector.c: Implemented
Java_gnu_java_nio_VMSelector_select.
 * configure.ac: Added check for sys/select.h and strerro_r().

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: DOM fix from Chris

2005-03-22 Thread Kaffe CVS
PatchSet 5579 
Date: 2005/03/21 16:36:56
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: DOM fix from Chris

2005-03-21  Dalibor Topic  <[EMAIL PROTECTED]>

Resynced with GNU Classpath.

2005-03-17  Chris Burdess  <[EMAIL PROTECTED]>

* gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
check for HTML/XHTML namespace.

Members: 
ChangeLog:1.3753->1.3754 
libraries/javalib/gnu/xml/dom/html2/DomHTMLDocument.java:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3753 kaffe/ChangeLog:1.3754
--- kaffe/ChangeLog:1.3753  Mon Mar 21 14:01:04 2005
+++ kaffe/ChangeLog Mon Mar 21 16:36:56 2005
@@ -2,6 +2,15 @@
 
Resynced with GNU Classpath.
 
+   2005-03-17  Chris Burdess  <[EMAIL PROTECTED]>
+
+* gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
+check for HTML/XHTML namespace.
+
+2005-03-21  Dalibor Topic  <[EMAIL PROTECTED]>
+
+   Resynced with GNU Classpath.
+
2005-03-16  Archie Cobbs  <[EMAIL PROTECTED]>
 
 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c: use
Index: kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLDocument.java
diff -u kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLDocument.java:1.2 
kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLDocument.java:1.3
--- kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLDocument.java:1.2  Tue Mar 
15 01:57:26 2005
+++ kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLDocument.java  Mon Mar 
21 16:36:59 2005
@@ -44,7 +44,9 @@
 import java.net.URL;
 import java.util.Collections;
 import java.util.HashMap;
+import java.util.HashSet;
 import java.util.Map;
+import java.util.Set;
 import org.w3c.dom.DOMException;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -139,11 +141,33 @@
 ELEMENT_CLASSES = Collections.unmodifiableMap(map);
   }
 
+  private static Set HTML_NS_URIS;
+  static
+  {
+Set set = new HashSet();
+set.add("http://www.w3.org/TR/html4/strict";);
+set.add("http://www.w3.org/TR/html4/loose";);
+set.add("http://www.w3.org/TR/html4/frameset";);
+set.add("http://www.w3.org/1999/xhtml";);
+set.add("http://www.w3.org/TR/xhtml1/strict";);
+set.add("http://www.w3.org/TR/xhtml1/loose";);
+set.add("http://www.w3.org/TR/xhtml1/frameset";);
+HTML_NS_URIS = Collections.unmodifiableSet(set);
+  }
+
+  /**
+   * Convenience constructor.
+   */
+  public DomHTMLDocument()
+  {
+this(new DomHTMLImpl());
+  }
+
   /**
* Constructor.
-   * This is called by the implementation.
+   * This is called by the DOMImplementation.
*/
-  protected DomHTMLDocument(DomHTMLImpl impl)
+  public DomHTMLDocument(DomHTMLImpl impl)
   {
 super(impl);
   }
@@ -366,6 +390,11 @@
 
   public Element createElementNS(String uri, String qName)
   {
+/* If a non-HTML element, use the default implementation. */
+if (uri != null && !HTML_NS_URIS.contains(uri))
+  {
+return super.createElementNS(uri, qName);
+  }
 String localName = qName.toLowerCase();
 int ci = qName.indexOf(':');
 if (ci != -1)
@@ -373,13 +402,14 @@
 localName = qName.substring(ci + 1);
   }
 Class t = (Class) ELEMENT_CLASSES.get(localName);
+/* If a non-HTML element, use the default implementation. */
 if (t == null)
   {
 return super.createElementNS(uri, qName);
   }
 try
   {
-Constructor c = t.getConstructor(ELEMENT_PT);
+Constructor c = t.getDeclaredConstructor(ELEMENT_PT);
 Object[] args = new Object[] { this, uri, qName };
 return (Element) c.newInstance(args);
   }

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Build failure fixed for arm

2005-03-22 Thread Kaffe CVS
PatchSet 5591 
Date: 2005/03/22 16:10:22
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Build failure fixed for arm

2005-03-22  Guilhem Lavaux  <[EMAIL PROTECTED]>,
Dalibor Topic  <[EMAIL PROTECTED]>

* config/arm/common.h: Disabled atomicity.h

Members: 
ChangeLog:1.3764->1.3765 
config/arm/common.h:1.11->1.12 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3764 kaffe/ChangeLog:1.3765
--- kaffe/ChangeLog:1.3764  Tue Mar 22 15:35:49 2005
+++ kaffe/ChangeLog Tue Mar 22 16:10:22 2005
@@ -1,3 +1,8 @@
+2005-03-22  Guilhem Lavaux  <[EMAIL PROTECTED]>,
+   Dalibor Topic  <[EMAIL PROTECTED]>
+
+   * config/arm/common.h: Disabled atomicity.h
+
 2005-03-22  Guilhem Lavaux  <[EMAIL PROTECTED]>
 
* config/config.h.in, configure: Regenerated.
Index: kaffe/config/arm/common.h
diff -u kaffe/config/arm/common.h:1.11 kaffe/config/arm/common.h:1.12
--- kaffe/config/arm/common.h:1.11  Sun Mar 20 20:30:37 2005
+++ kaffe/config/arm/common.h   Tue Mar 22 16:10:26 2005
@@ -17,14 +17,11 @@
 #ifndef __arm_common_h
 #define __arm_common_h
 
-#include "atomicity.h"
-
 /* The arm never aligns to more than a 4 byte boundary. */
 #defineALIGNMENT_OF_SIZE(S)((S) < 4 ? (S) : 4)
 
-#define atomic_compare_and_exchange_val_acq(A, N, O) (compare_and_swap((long 
int *) A, (long int) O, (long int) N))
-
 #include "katomic.h"
+#include "generic/genatomic.h"
 #include "generic/comparexch.h"
 
 #endif

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Mailing list problem and server update

2005-03-22 Thread Jim Pick
Hi,
Sorry for the mailing list problem - it wasn't working for the last two 
days - it looks like the mailmain qrunner process died for some reason. 
  I restarted it.  Thanks to Dalibor for noticing and telling me.  :-)

As for me - I'm still here.  I'm still planning to move everything to 
the new server soon -- there's a weird ssh problem I need to 
research/debug before I can really do that.  I've been a bit short on 
time lately, due to real life, Japanese lessons, etc...

As for the new server - does anybody want to volunteer to redo the 
website and be the webmaster?  I can set up a Xen session for that.  My 
only requirement is that the new website should run on Kaffe.  :-)

As for the next release - I'm delegating that to Dalibor.  (I'm just too 
short on time lately)

Cheers,
 - Jim
___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (guilhem): Updated atomic functions. Fixed a few deadlocks.

2005-03-22 Thread Kaffe CVS
PatchSet 5574 
Date: 2005/03/20 20:30:32
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Updated atomic functions. Fixed a few deadlocks.

* config/Makefile.am: Updated EXTRA_DIST and noinst_HEADERS.

* config/Makefile.in, config/config.h.in: Regenerated.

* config/katomic.h,
config/alpha/atomic.h,
config/generic/comparexch.h,
config/generic/genatomic.h,
config/i386/atomic.h,
config/ia64/atomic.h,
config/m68k/atomic.h,
config/powerpc/atomic.h,
config/s390/atomic.h,
config/sparc/atomic-sparc32.h,
config/sparc/atomic-sparc32v9.h,
config/sparc/atomic-sparc64.h,
config/x86_64/atomic.h: New files.

* config/alpha/atomicity.h,
config/ia64/atomicity.h,
config/m68k/atomicity.h,
config/s390/atomicity32.h,
config/s390/atomicity64.h,
config/sparc/atomicity-sparc32.h,
config/sparc/atomicity-sparc32v9.h,
config/sparc/atomicity-sparc64.h: Removed files.

* config/arm/atomicity.h
(compare_and_swap): Modified to return the old value as needed by
katomic.h.

* config/alpha/common.h,
config/arm/common.h,
config/i386/common.h,
config/ia64/common.h,
config/m68k/common.h,
config/mips/common.h,
config/parisc/common.h,
config/powerpc/common.h,
config/s390/common.h,
config/sh/common.h,
config/sparc/common.h,
config/x86_64/common.h: Use the common code in generic/*.

* kaffe/kaffe/main.c: Removed some parenthesis.

* kaffe/kaffevm/locks.c: Fixed warnings which has appeared after
atomic* merge. Fixed the use of the volatile modifier.
(getHeavyLock): Use atomic_decrement and atomic_increment.

* kaffe/kaffevm/ksem.c, kaffe/kaffevm/ksem.h:
Fixed the use of the volatile modifier.

* kaffe/kaffevm/locks.h
(iLock): Use uintp for num_wait because COMPARE_AND_EXCHANGE likes
big registers and uint16 could have cause overlap with the next field.

* kaffe-gc/gc-incremental.c:
(gcMan): Use KTHREAD(lockGC) to prevent deadlocks.
(startGC, stopGC): Moved lock to these functions.

* kaffe/kaffevm/systems/unix-jthreads/jthread.c,
kaffe/kaffevm/systems/unix-jthreads/jthread.h
(jthread_lockGC, jthread_unlockGC): New functions.
(jthread_init): Initialize GClock.
(jthread_createfirst): Remember the first thread.
(jthread_exit): Follows JNI specification when exiting the VM.

* kaffe/kaffevm/systems/unix-pthreads/thread-impl.c,
kaffe/kaffevm/systems/unix-pthreads/thread-impl.h
(jthread_lockGC, jthread_unlockGC): New functions.

Members: 
ChangeLog:1.3748->1.3749 
config/Makefile.am:1.53->1.54 
config/Makefile.in:1.175->1.176 
config/katomic.h:INITIAL->1.1 
config/alpha/atomic.h:INITIAL->1.1 
config/alpha/atomicity.h:1.1->1.2(DEAD) 
config/alpha/common.h:1.12->1.13 
config/arm/atomicity.h:1.1->1.2 
config/arm/common.h:1.10->1.11 
config/generic/comparexch.h:INITIAL->1.1 
config/generic/genatomic.h:INITIAL->1.1 
config/i386/atomic.h:INITIAL->1.1 
config/i386/common.h:1.18->1.19 
config/ia64/atomic.h:INITIAL->1.1 
config/ia64/atomicity.h:1.1->1.2(DEAD) 
config/ia64/common.h:1.4->1.5 
config/m68k/atomic.h:INITIAL->1.1 
config/m68k/atomicity.h:1.1->1.2(DEAD) 
config/m68k/common.h:1.15->1.16 
config/mips/common.h:1.11->1.12 
config/parisc/common.h:1.5->1.6 
config/powerpc/atomic.h:INITIAL->1.1 
config/powerpc/common.h:1.9->1.10 
config/s390/atomic.h:INITIAL->1.1 
config/s390/atomicity32.h:1.1->1.2(DEAD) 
config/s390/atomicity64.h:1.1->1.2(DEAD) 
config/s390/common.h:1.4->1.5 
config/sh/common.h:1.2->1.3 
config/sparc/atomic-sparc32.h:INITIAL->1.1 
config/sparc/atomic-sparc32v9.h:INITIAL->1.1 
config/sparc/atomic-sparc64.h:INITIAL->1.1 
config/sparc/atomicity-sparc32.h:1.1->1.2(DEAD) 
config/sparc/atomicity-sparc32v9.h:1.1->1.2(DEAD) 
config/sparc/atomicity-sparc64.h:1.1->1.2(DEAD) 
config/sparc/common.h:1.10->1.11 
config/x86_64/atomic.h:INITIAL->1.1 
config/x86_64/common.h:1.3->1.4 
kaffe/kaffe/main.c:1.80->1.81 
kaffe/kaffevm/ksem.c:1.13->1.14 
kaffe/kaffevm/ksem.h:1.11->1.12 
kaffe/kaffevm/locks.c:1.59->1.60 
kaffe/kaffevm/locks.h:1.28->1.29 
kaffe/kaffevm/kaffe-gc/gc-incremental.c:1.21->1.22 
kaffe/kaffevm/systems/unix-jthreads/jthread.c:1.129->1.130 
kaffe/kaffevm/systems/unix-jthreads/jthread.h:1.66->1.67 
kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.76->1.77 
kaffe/kaffevm/systems/unix-pthreads/thread-internal.h:1

[kaffe] CVS kaffe (robilad): Fixed relinking problems on 64 bit platforms in Debian

2005-03-22 Thread Kaffe CVS
PatchSet 5576 
Date: 2005/03/20 22:37:42
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fixed relinking problems on 64 bit platforms in Debian

2003-03-20  Dalibor Topic  <[EMAIL PROTECTED]>

* configure.ac: Don't check for no-cpp-precomp. It confuses
libtool on 64 bit platforms to think that -fPIC is not supported,
leading to fascinating relinking errors. A better way for older
darwin release must be found to deal with preprocessor breakage.
It also lead to tons of pointless warning messages on all systems
beside the -no-cpp-supporting ones, so it needs to go in this form.

* replace/Makefile.am (libreplace_la_LDFLAGS): Removed -export-dynamic.

Members: 
ChangeLog:1.3750->1.3751 
configure:1.434->1.435 
configure.ac:1.124->1.125 
replace/Makefile.am:1.8->1.9 
replace/Makefile.in:1.79->1.80 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3750 kaffe/ChangeLog:1.3751
--- kaffe/ChangeLog:1.3750  Sun Mar 20 20:35:49 2005
+++ kaffe/ChangeLog Sun Mar 20 22:37:42 2005
@@ -1 +1,12 @@
+2003-03-20  Dalibor Topic  <[EMAIL PROTECTED]>
+
+   * configure.ac: Don't check for no-cpp-precomp. It confuses
+   libtool on 64 bit platforms to think that -fPIC is not supported, 
+   leading to fascinating relinking errors. A better way for older
+   darwin release must be found to deal with preprocessor breakage.
+   It also lead to tons of pointless warning messages on all systems
+   beside the -no-cpp-supporting ones, so it needs to go in this form.
+
+   * replace/Makefile.am (libreplace_la_LDFLAGS): Removed -export-dynamic.
+
 See ChangeLog.16 for earlier changes.
Index: kaffe/configure
diff -u kaffe/configure:1.434 kaffe/configure:1.435
--- kaffe/configure:1.434   Wed Mar 16 12:49:42 2005
+++ kaffe/configure Sun Mar 20 22:37:44 2005
@@ -7875,99 +7875,7 @@
 ## required for old darwin versions because Apples'
 ## gcc falls appart all over assembler statements
 ## and produces a ton of false warnings otherwise.
-echo "$as_me:$LINENO: checking CFLAGS for gcc -no-cpp-precomp" >&5
-echo $ECHO_N "checking CFLAGS for gcc -no-cpp-precomp... $ECHO_C" >&6
-if test "${ac_cv_cflags_gcc_option__no_cpp_precomp+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_cflags_gcc_option__no_cpp_precomp="no, unknown"
-
-
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext 
$LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
- ac_save_CFLAGS="$CFLAGS"
-for ac_arg in "-pedantic  % -no-cpp-precomp" #
-do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
-   cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-
-int
-main ()
-{
-return 0;
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-  (eval $ac_compile) 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-{ ac_try='test -z "$ac_c_werror_flag"
-|| test ! -s conftest.err'
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-{ ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
-  ac_cv_cflags_gcc_option__no_cpp_precomp=`echo $ac_arg | sed -e 's,.*% *,,'` 
; break
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-fi
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-done
- CFLAGS="$ac_save_CFLAGS"
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext 
$LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-echo "$as_me:$LINENO: result: $ac_cv_cflags_gcc_option__no_cpp_precomp" >&5
-echo "${ECHO_T}$ac_cv_cflags_gcc_option__no_cpp_precomp" >&6
-case ".$ac_cv_cflags_gcc_option__no_cpp_precomp" in
- .ok|.ok,*)  ;;
-   .|.no|.no,*)  ;;
-   *)
-   if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__no_cpp_precomp " 
2>&1 >/dev/null
-   then { (echo "$as_me:$LINENO: : CFLAGS does contain 
\$ac_cv_cflags_gcc_option__no_cpp_precomp") >&5
-  (: CFLAGS does contain $ac_cv_cflags_gcc_option__no_cpp_precomp) 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }
-   else { (echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS 
\$ac_cv_cflags_gcc_option__no_cpp_precomp\"") >&5
-  (: CFLAGS="$CFLAGS $ac

[kaffe] CVS kaffe (robilad): resynced with GNU Classpath: HTML parser fixes

2005-03-22 Thread Kaffe CVS
PatchSet 5583 
Date: 2005/03/21 17:25:27
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
resynced with GNU Classpath: HTML parser fixes

2005-03-21  Dalibor Topic  <[EMAIL PROTECTED]>

Resynced with GNU Classpath.

2005-03-18  Andrew John Hughes  <[EMAIL PROTECTED]>

* gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
(getAttributeNames()): Replaced 'enum' with 'enumeration'.
* gnu/javax/swing/text/html/parser/htmlValidator.java:
(validateParameters(TagElement,htmlAttributeSet)):
Replaced 'enum' with 'enumeration'.
(validateAttribute(TagElement,htmlAttributeSet,
   Enumeration,Enumeration)):
Likewise.

Members: 
ChangeLog:1.3757->1.3758 

libraries/javalib/gnu/javax/swing/text/html/parser/htmlAttributeSet.java:1.1->1.2
 

libraries/javalib/gnu/javax/swing/text/html/parser/htmlValidator.java:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3757 kaffe/ChangeLog:1.3758
--- kaffe/ChangeLog:1.3757  Mon Mar 21 17:23:28 2005
+++ kaffe/ChangeLog Mon Mar 21 17:25:27 2005
@@ -2,6 +2,21 @@
 
Resynced with GNU Classpath.
 
+   2005-03-18  Andrew John Hughes  <[EMAIL PROTECTED]>
+
+* gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
+(getAttributeNames()): Replaced 'enum' with 'enumeration'.
+* gnu/javax/swing/text/html/parser/htmlValidator.java:
+(validateParameters(TagElement,htmlAttributeSet)):
+Replaced 'enum' with 'enumeration'.
+(validateAttribute(TagElement,htmlAttributeSet,
+   Enumeration,Enumeration)):
+Likewise.
+
+2005-03-21  Dalibor Topic  <[EMAIL PROTECTED]>
+
+   Resynced with GNU Classpath.
+
2005-03-18  Audrius Meskauskas  <[EMAIL PROTECTED]>
 
 * javax/swing/text/html/parser/Entity.java (getType): New method.
Index: 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlAttributeSet.java
diff -u 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlAttributeSet.java:1.1
 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlAttributeSet.java:1.2
--- 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlAttributeSet.java:1.1
  Fri Mar 11 20:04:51 2005
+++ 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlAttributeSet.java  
Mon Mar 21 17:25:33 2005
@@ -82,18 +82,18 @@
   public Enumeration getAttributeNames()
   {
 // Replace the string keys by HTML.attribute, where applicable
-final Enumeration enum = super.getAttributeNames();
+final Enumeration enumeration = super.getAttributeNames();
 
 return new Enumeration()
   {
 public boolean hasMoreElements()
 {
-  return enum.hasMoreElements();
+  return enumeration.hasMoreElements();
 }
 
 public Object nextElement()
 {
-  Object key = enum.nextElement();
+  Object key = enumeration.nextElement();
   HTML.Attribute hKey = HTML.getAttributeKey((String) key);
   if (hKey != null)
 return hKey;
Index: 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlValidator.java
diff -u 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlValidator.java:1.1 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlValidator.java:1.2
--- 
kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlValidator.java:1.1 
Fri Mar 11 20:04:51 2005
+++ kaffe/libraries/javalib/gnu/javax/swing/text/html/parser/htmlValidator.java 
Mon Mar 21 17:25:33 2005
@@ -431,11 +431,11 @@
)
   return;
 
-Enumeration enum = parameters.getAttributeNames();
+Enumeration enumeration = parameters.getAttributeNames();
 
-while (enum.hasMoreElements())
+while (enumeration.hasMoreElements())
   {
-validateAttribute(tag, parameters, enum);
+validateAttribute(tag, parameters, enumeration);
   }
 
 // Check for missing required values.
@@ -480,12 +480,12 @@
   }
 
   private void validateAttribute(TagElement tag, htmlAttributeSet parameters,
- Enumeration enum
+ Enumeration enumeration
 )
   {
 Object foundAttribute;
 AttributeList dtdAttribute;
-foundAttribute = enum.nextElement();
+foundAttribute = enumeration.nextElement();
 dtdAttribute = tag.getElement().getAttribute(foundAttribute.toString());
 if (dtdAttribute == null)
   {

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Fix for trampoline.S compilation on ppc

2005-03-22 Thread Kaffe CVS
PatchSet 5573 
Date: 2005/03/20 18:34:46
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fix for trampoline.S compilation on ppc

2005-03-20  Jeff Bailey  <[EMAIL PROTECTED]>

* kaffe/kaffevm/jit/Makefile.am,
kaffe/kaffevm/jit3/Makefile.am:
(AM_CCASFLAGS): Add the defs, and the includes.

Members: 
ChangeLog:1.3747->1.3748 
kaffe/kaffevm/jit/Makefile.am:1.18->1.19 
kaffe/kaffevm/jit/Makefile.in:1.140->1.141 
kaffe/kaffevm/jit3/Makefile.am:1.13->1.14 
kaffe/kaffevm/jit3/Makefile.in:1.111->1.112 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3747 kaffe/ChangeLog:1.3748
--- kaffe/ChangeLog:1.3747  Wed Mar 16 12:49:40 2005
+++ kaffe/ChangeLog Sun Mar 20 18:34:46 2005
@@ -1,3 +1,9 @@
+2005-03-20  Jeff Bailey  <[EMAIL PROTECTED]>
+
+   * kaffe/kaffevm/jit/Makefile.am,
+   kaffe/kaffevm/jit3/Makefile.am:
+   (AM_CCASFLAGS): Add the defs, and the includes.
+
 2005-03-16  Dalibor Topic  <[EMAIL PROTECTED]>
 
* configure.ac: Check for tramploines.S instead of trampolines.c.
Index: kaffe/kaffe/kaffevm/jit/Makefile.am
diff -u kaffe/kaffe/kaffevm/jit/Makefile.am:1.18 
kaffe/kaffe/kaffevm/jit/Makefile.am:1.19
--- kaffe/kaffe/kaffevm/jit/Makefile.am:1.18Wed Mar 16 10:31:04 2005
+++ kaffe/kaffe/kaffevm/jit/Makefile.am Sun Mar 20 18:34:50 2005
@@ -17,7 +17,9 @@
  -I$(top_builddir)/include
 
 AM_CCASFLAGS = \
-   -I$(top_builddir)/config
+   $(DEFS) \
+   $(DEFAULT_INCLUDES) \
+   $(INCLUDES)
 
 noinst_LTLIBRARIES = libengine.la
 
Index: kaffe/kaffe/kaffevm/jit/Makefile.in
diff -u kaffe/kaffe/kaffevm/jit/Makefile.in:1.140 
kaffe/kaffe/kaffevm/jit/Makefile.in:1.141
--- kaffe/kaffe/kaffevm/jit/Makefile.in:1.140   Wed Mar 16 10:31:05 2005
+++ kaffe/kaffe/kaffevm/jit/Makefile.in Sun Mar 20 18:34:50 2005
@@ -385,7 +385,9 @@
  -I$(top_builddir)/include
 
 AM_CCASFLAGS = \
-   -I$(top_builddir)/config
+   $(DEFS) \
+   $(DEFAULT_INCLUDES) \
+   $(INCLUDES)
 
 noinst_LTLIBRARIES = libengine.la
 libengine_la_LDFLAGS = \
Index: kaffe/kaffe/kaffevm/jit3/Makefile.am
diff -u kaffe/kaffe/kaffevm/jit3/Makefile.am:1.13 
kaffe/kaffe/kaffevm/jit3/Makefile.am:1.14
--- kaffe/kaffe/kaffevm/jit3/Makefile.am:1.13   Wed Mar 16 10:31:05 2005
+++ kaffe/kaffe/kaffevm/jit3/Makefile.amSun Mar 20 18:34:50 2005
@@ -19,7 +19,9 @@
-I$(top_builddir)/include
 
 AM_CCASFLAGS = \
-   -I$(top_builddir)/config
+   $(DEFS) \
+   $(DEFAULT_INCLUDES) \
+   $(INCLUDES)
 
 noinst_LTLIBRARIES = libengine.la
 
Index: kaffe/kaffe/kaffevm/jit3/Makefile.in
diff -u kaffe/kaffe/kaffevm/jit3/Makefile.in:1.111 
kaffe/kaffe/kaffevm/jit3/Makefile.in:1.112
--- kaffe/kaffe/kaffevm/jit3/Makefile.in:1.111  Wed Mar 16 10:31:05 2005
+++ kaffe/kaffe/kaffevm/jit3/Makefile.inSun Mar 20 18:34:50 2005
@@ -387,7 +387,9 @@
-I$(top_builddir)/include
 
 AM_CCASFLAGS = \
-   -I$(top_builddir)/config
+   $(DEFS) \
+   $(DEFAULT_INCLUDES) \
+   $(INCLUDES)
 
 noinst_LTLIBRARIES = libengine.la
 libengine_la_LDFLAGS = \

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Re: Assertion failture SORRY !

2005-03-22 Thread Dalibor Topic
Am Freitag, den 18.03.2005, 15:07 -0500 schrieb Barry Hawkins:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Barry Hawkins wrote:
> | Arnaud Vandyck wrote:
> | [...]
> | | Helas, it did not work for me :'(
> | |
> | | Can you try to build the latest kaffe with the debian package?
> | [...]
> | Arnaud,
> | ~Yes, I will try this right away.  Sorry, I did not see this message
> | earlier.
> [...]
> Arnaud,
> ~OK, I built the package from the latest kaffe CVS as requested.  The
> package built fine, but both pthreads and jthreads failed 8 of 147 tests
> on make check.  I have attached output for each make check.  Hope that
> helps.  Also, this was done on a Debian sid PowerPC installation.

I've tracked down the cause on amd64 (which had similar linkage problems
to those arnaud reported) to -no-cpp-precomp confusing libtool into
thinking that -fPIC was not supported. I guess the same problem (as it
also occred in libreplace) is what Arnaud sees.

I've checked in a patch. Arnaud, if it works for you, could you report
back & fire off a pre9 into unstable?

cheers,
dalibor topic


___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Floating point register naming changes for powerpc

2005-03-22 Thread Kaffe CVS
PatchSet 5577 
Date: 2005/03/21 01:21:31
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Floating point register naming changes for powerpc

Members: 
ChangeLog:1.3751->1.3752 
configure:1.435->1.436 
configure.ac:1.125->1.126 
config/powerpc/trampolines.S:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3751 kaffe/ChangeLog:1.3752
--- kaffe/ChangeLog:1.3751  Sun Mar 20 22:37:42 2005
+++ kaffe/ChangeLog Mon Mar 21 01:21:31 2005
@@ -1,5 +1,14 @@
 2003-03-20  Dalibor Topic  <[EMAIL PROTECTED]>
 
+   * configure.ac: Check for -mregnames. It lets us use common register 
+   names on powerpc, and will hopefully make it simple to have a single 
+   assembler trampoline fiole for both darwin and linux.
+
+   * config/powerpc/trampolines.S: Changed powerpc floating point 
+   registers names from 'frX' to 'fX' and built fine on ppc-linux.
+
+2003-03-20  Dalibor Topic  <[EMAIL PROTECTED]>
+
* configure.ac: Don't check for no-cpp-precomp. It confuses
libtool on 64 bit platforms to think that -fPIC is not supported, 
leading to fascinating relinking errors. A better way for older
Index: kaffe/configure
diff -u kaffe/configure:1.435 kaffe/configure:1.436
--- kaffe/configure:1.435   Sun Mar 20 22:37:44 2005
+++ kaffe/configure Mon Mar 21 01:21:33 2005
@@ -7877,6 +7877,100 @@
 ## and produces a ton of false warnings otherwise.
 ## AX_CFLAGS_GCC_OPTION([-no-cpp-precomp])
 
+echo "$as_me:$LINENO: checking CFLAGS for gcc -mregnames" >&5
+echo $ECHO_N "checking CFLAGS for gcc -mregnames... $ECHO_C" >&6
+if test "${ac_cv_cflags_gcc_option__mregnames+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_cv_cflags_gcc_option__mregnames="no, unknown"
+
+
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext 
$LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ ac_save_CFLAGS="$CFLAGS"
+for ac_arg in "-pedantic  % -mregnames" #
+do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
+   cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+int
+main ()
+{
+return 0;
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+{ ac_try='test -z "$ac_c_werror_flag"
+|| test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+{ ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_cflags_gcc_option__mregnames=`echo $ac_arg | sed -e 's,.*% *,,'` ; 
break
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+ CFLAGS="$ac_save_CFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext 
$LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+echo "$as_me:$LINENO: result: $ac_cv_cflags_gcc_option__mregnames" >&5
+echo "${ECHO_T}$ac_cv_cflags_gcc_option__mregnames" >&6
+case ".$ac_cv_cflags_gcc_option__mregnames" in
+ .ok|.ok,*)  ;;
+   .|.no|.no,*)  ;;
+   *)
+   if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__mregnames " 2>&1 
>/dev/null
+   then { (echo "$as_me:$LINENO: : CFLAGS does contain 
\$ac_cv_cflags_gcc_option__mregnames") >&5
+  (: CFLAGS does contain $ac_cv_cflags_gcc_option__mregnames) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }
+   else { (echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS 
\$ac_cv_cflags_gcc_option__mregnames\"") >&5
+  (: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__mregnames") 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }
+  CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__mregnames"
+   fi
+ ;;
+esac
+
+
 
 
 
@@ -9975,7 +10069,7 @@
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 9978 "configure"' > conftest.$ac_ext
+  echo '#line 10072 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -11332,7 +11426,7 @@
 
 
 # Provide some information about the compiler.
-echo "$as_me:11335:" \
+echo "$as_me:11429:" \
  "chec