Re: [kaffe] Advogato

2003-07-08 Thread Dalibor Topic
Hi Rob,

--- Rob Gonzalez [EMAIL PROTECTED] wrote:
 Hey all,
 
 I recently joined Advogato (as gonzo) and was wondering how I would go
 about getting listed as a Contributor or Developer or something for the
 Kaffe Open VM project on that site :)  I figured someone here (Jim?) would
 be the person to know.

I think you can certify yourself on the project page.

On a side note, who else here has an advogato account (or some other blog)? It
would be nice to link to advogato blogs of people who contribute to kaffe.

cheers,
dalibor topic

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Kaffe CVS: kaffe hkraemer

2003-07-08 Thread Kaffe CVS

CVSROOT:/cvs/kaffe
Module name:kaffe
Changes by: hkraemer03/07/08 00:33:50

Modified files:
.  : ChangeLog 
config/alpha/osf: md.c 
kaffe/kaffevm  : classPool.c exception.c findInJar.c jar.c 
 locks.c locks.h string.c thread.c utf8const.c 
kaffe/kaffevm/jit: machine.c machine.h 
kaffe/kaffevm/jit3: machine.c machine.h 
kaffe/kaffevm/mem: gc-incremental.c gc-mem.c 
kaffe/kaffevm/systems/unix-pthreads: thread-impl.c 
libraries/clib/net: InetAddressImpl.c 

Log message:
2003-07-08 Helmer Kraemer [EMAIL PROTECTED]

* kaffe/kaffevm/locks.h, kaffe/kaffevm/locks.c:
(iStaticLock) new struct for static locks
(_lockMutex, _unlockMutex, _waitCond, _signalCond,
_broadcastCond, _slowUnlockMutexIfHeld) prefixed with
locks_internal, added second parameter for preallocated
heavy lock
(getHeavyLock, putHeavyLock) support preallocated heavy locks
(locks_internal_slowUnlockMutexIfHeld) only allocate a heavy
lock if that's really necessary
(locks_internal_lockMutex) use jthread_on_current_stack to
detect recursive invocations
(locks_internal_slowUnlockMutex) add support for stacks that
grow upwards
(specialLocks, acquireLock, releaseLock, UNBLOCK_EXECUTE) removed

Changed type of all static locks from iLock** to iStaticLock.
Updated all calls to the locking functions.


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Eclipse and strange ClassCastException

2003-07-08 Thread Dalibor Topic
Hi Mark, hallo Helmer,

Jim, I think this is front page material ;)

Helmer, is there a simple way to send you a crate of Tannenzaepfle beer?

cheers,
dalibor topic

--- Mark Wielaard [EMAIL PROTECTED] wrote:
 Hi Helmer,
 
 On Mon, 2003-07-07 at 19:32, Helmer Krämer wrote:
   Next problem is a failure in System.arraycopy() 
  
  I've just commited a fix for this one.
  
  If I start eclipse with this command line:
  
  LD_LIBRARY_PATH=plugins/org.eclipse.swt.gtk_2.1.0/os/linux/x86 ./eclipse
 -debug -vm /usr/local/kaffe/bin/java
  
  it's running for some time, then complains
  that the workspace layout could not be restored
  and finally quits with an OutOfMemoryError
 
 But, but, but,... If you do have enough memory you get
 http://www.klomp.org/mark/kaffe-eclipse.html
 As you can see I wasn't actually able to create a real Hello World
 application but that it actually starts up and let me try these things
 out is really, really nice.
 
 Helmer, I think you actually did it!
 
 Cheers,
 
 Mark
 
 
 ___
 kaffe mailing list
 [EMAIL PROTECTED]
 http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Kaffe CVS: kaffe dalibor

2003-07-08 Thread Kaffe CVS

CVSROOT:/cvs/kaffe
Module name:kaffe
Changes by: dalibor 03/07/08 00:53:45

Modified files:
.  : ChangeLog 
libraries/clib/native: System.c 
libraries/javalib/java/net: URL.java 

Log message:
2003-07-08  Mark Wielaard [EMAIL PROTECTED]

* libraries/javalib/java/net/URL.java:
(getPath, getQuery) new methods.

* libraries/clib/native/System.c:
(java_lang_System_initProperties) set java.version to 1.3 to
allow Eclipse to run.


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] LinuxTag RMLL

2003-07-08 Thread Dalibor Topic
Hi,

I'll be going to LinuxTag in Karlsruhe on the weekend (Saturday  Sunday), and
to Libre Software Meeting in Metz on Friday. Mark Wielaard of GNU Classpath
fame will be there, too. 

So if you are visiting as well, want to meet in the real world, and to have a
beer or two, drop me an e-mail, or propose a meeting point and time on the
list.

cheers,
dalibor topic

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Kaffe CVS: kaffe rob

2003-07-08 Thread Kaffe CVS

CVSROOT:/cvs/kaffe
Module name:kaffe
Changes by: rob 03/07/08 07:54:49

Modified files:
.  : ChangeLog 
kaffe/kaffevm  : external.c 

Log message:
Dalibor's patch to help get eclipse to run.

* kaffe/kaffevm/external.c
Small but necessary compilation fix.


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Shutdown patch

2003-07-08 Thread Guilhem Lavaux
Hi,

This patch adds the ShutdownHook (Java 1.3) feature to kaffe. Here is a 
Changelog:

* libraries/clib/native/Application.c, 
libraries/javalib/kaffe/lang/Application.java: removed
* libraries/clib/native/Runtime.c: renamed exitInternal() into exit0()
* libraries/javalib/java/lang/Runtime.java (exitInternal, addShutdownHook, 
removeShutdownHook, exitJavaCleanup, runShutdownHooks): implement the 
Shutdown hook Java 1.3 feature, removed kaffe/lang/Application.
* libraries/javalib/java/lang/System.java (exitJavaCleanup): Added a hook for 
java.lang.Runtime.exitJavaCleanup.
* kaffe/kaffevm/threads.c: Call System.exitJavaCleanup() before final exit.

If you check it in, you will first need to delete kaffe/lang/Application.java 
and native/Application.c as mentioned. Hope it's allright.

Cheers,

Guilhem.Index: include/Makefile.am
===
RCS file: /cvs/kaffe/kaffe/include/Makefile.am,v
retrieving revision 1.38
diff -u -3 -p -r1.38 Makefile.am
--- include/Makefile.am	13 Jun 2003 00:32:00 -	1.38
+++ include/Makefile.am	8 Jul 2003 17:10:20 -
@@ -104,7 +104,6 @@ NOINSTALL_JNI_DERIVED_HDRS = \
 	kaffe_io_ByteToCharIconv.h \
 	kaffe_io_CharToByteDefault.h \
 	kaffe_io_CharToByteIconv.h \
-	kaffe_lang_Application.h \
 	kaffe_lang_MemoryAdvice.h \
 	kaffe_lang_UNIXProcess.h \
 	kaffe_management_JIT.h \
Index: kaffe/kaffevm/thread.c
===
RCS file: /cvs/kaffe/kaffe/kaffe/kaffevm/thread.c,v
retrieving revision 1.48
diff -u -3 -p -r1.48 thread.c
--- kaffe/kaffevm/thread.c	11 Jun 2003 16:54:14 -	1.48
+++ kaffe/kaffevm/thread.c	8 Jul 2003 17:10:20 -
@@ -34,6 +34,7 @@
 #include gc.h
 #include jni.h
 #include md.h
+#include java_lang_Runtime.h
 
 /* If not otherwise specified, assume at least 1MB for main thread */
 #ifndef MAINSTACKSIZE
@@ -570,6 +571,10 @@ static
 void
 runfinalizer(void)
 {
+	Hjava_lang_Runtime *runtime;
+
+	do_execute_java_method(SystemClass, exitJavaCleanup,
+			   (Ljava/lang/Runtime;)V, NULL, true);
 	if (runFinalizerOnExit) {
 		invokeFinalizer();
 	}
Index: libraries/clib/native/Makefile.am
===
RCS file: /cvs/kaffe/kaffe/libraries/clib/native/Makefile.am,v
retrieving revision 1.20
diff -u -3 -p -r1.20 Makefile.am
--- libraries/clib/native/Makefile.am	26 Jun 2003 11:05:37 -	1.20
+++ libraries/clib/native/Makefile.am	8 Jul 2003 17:10:20 -
@@ -16,7 +16,6 @@ IO_SRCS = \
 		ObjectStreamClassImpl.c
 
 LANG_SRCS = \
-		Application.c \
 		Class.c \
 		ClassLoader.c \
 		Compiler.c \
Index: libraries/clib/native/Runtime.c
===
RCS file: /cvs/kaffe/kaffe/libraries/clib/native/Runtime.c,v
retrieving revision 1.19
diff -u -3 -p -r1.19 Runtime.c
--- libraries/clib/native/Runtime.c	29 May 2002 22:58:44 -	1.19
+++ libraries/clib/native/Runtime.c	8 Jul 2003 17:10:20 -
@@ -31,7 +31,7 @@ extern jboolean runFinalizerOnExit;
  * Exit this VM
  */
 void
-java_lang_Runtime_exitInternal(struct Hjava_lang_Runtime* r, jint v)
+java_lang_Runtime_exit0(struct Hjava_lang_Runtime* r, jint v)
 {
 	EXIT (v);
 }
Index: libraries/javalib/Klasses.jar.bootstrap
===
RCS file: /cvs/kaffe/kaffe/libraries/javalib/Klasses.jar.bootstrap,v
retrieving revision 1.20
diff -u -3 -p -r1.20 Klasses.jar.bootstrap
Binary files /tmp/cvsJ3t3rt and Klasses.jar.bootstrap differ
Index: libraries/javalib/essential.files
===
RCS file: /cvs/kaffe/kaffe/libraries/javalib/essential.files,v
retrieving revision 1.10
diff -u -3 -p -r1.10 essential.files
--- libraries/javalib/essential.files	28 Jun 2003 18:06:42 -	1.10
+++ libraries/javalib/essential.files	8 Jul 2003 17:10:23 -
@@ -283,7 +283,6 @@ kaffe/io/StdErrorStream.java
 kaffe/io/StdInputStream.java
 kaffe/io/StdOutputStream.java
 kaffe/lang/AppClassLoader.java
-kaffe/lang/Application.java
 kaffe/lang/ApplicationException.java
 kaffe/lang/ApplicationResource.java
 kaffe/lang/ClassPathReader.java
Index: libraries/javalib/java/lang/Runtime.java
===
RCS file: /cvs/kaffe/kaffe/libraries/javalib/java/lang/Runtime.java,v
retrieving revision 1.23
diff -u -3 -p -r1.23 Runtime.java
--- libraries/javalib/java/lang/Runtime.java	28 Jun 2003 18:06:41 -	1.23
+++ libraries/javalib/java/lang/Runtime.java	8 Jul 2003 17:10:23 -
@@ -17,6 +17,8 @@ import java.io.OutputStream;
 import java.io.FileNotFoundException;
 
 import java.util.StringTokenizer;
+import java.util.Vector;
+import java.util.Enumeration;
 
 import kaffe.lang.ThreadStack;
 
@@ -37,6 +39,8 @@ public interface MemoryAdvice {
 private static Runtime currentRuntime = new Runtime();
 private static kaffe.lang.MemoryAdvice advice
 	= kaffe.lang.MemoryAdvice.getInstance();

Re: [kaffe] Shutdown patch

2003-07-08 Thread Timothy Stack
 Hi,

hi,

 This patch adds the ShutdownHook (Java 1.3) feature to kaffe. Here is a=20
 Changelog:

Neat, can you make a test case for it please?

 Cheers,
 
 Guilhem.

thanks,

tim

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Shutdown patch

2003-07-08 Thread Guilhem Lavaux
On Tuesday 08 July 2003 18:24, Timothy Stack wrote:
  Hi,

 hi,

  This patch adds the ShutdownHook (Java 1.3) feature to kaffe. Here is
  a=20 Changelog:

 Neat, can you make a test case for it please?

  Cheers,
 
  Guilhem.


Ok, here it is. By the way, I have found that the previous patch breaks the 
normal exit. This one should be right: I had to move a intsDisable() just at 
the right place in jthread.c.

To add to the Changelog:

* test/regression/HookTest.java: new test case for 
java.lang.Runtime.(add|remove)ShutdownHook
* libraries/java/lang/Thread.java (Thread, finish): removed calls to 
kaffe/lang/Application
* kaffe/kaffevm/systems/unix-jthreads/jthread.c: moved intsDisable to permit 
the call to runOnExit in full threaded mode.

 thanks,

No problem,

Guilhem.

 tim

 ___
 kaffe mailing list
 [EMAIL PROTECTED]
 http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Index: include/Makefile.am
===
RCS file: /cvs/kaffe/kaffe/include/Makefile.am,v
retrieving revision 1.38
diff -u -3 -p -r1.38 Makefile.am
--- include/Makefile.am	13 Jun 2003 00:32:00 -	1.38
+++ include/Makefile.am	8 Jul 2003 18:21:39 -
@@ -104,7 +104,6 @@ NOINSTALL_JNI_DERIVED_HDRS = \
 	kaffe_io_ByteToCharIconv.h \
 	kaffe_io_CharToByteDefault.h \
 	kaffe_io_CharToByteIconv.h \
-	kaffe_lang_Application.h \
 	kaffe_lang_MemoryAdvice.h \
 	kaffe_lang_UNIXProcess.h \
 	kaffe_management_JIT.h \
Index: kaffe/kaffevm/thread.c
===
RCS file: /cvs/kaffe/kaffe/kaffe/kaffevm/thread.c,v
retrieving revision 1.49
diff -u -3 -p -r1.49 thread.c
--- kaffe/kaffevm/thread.c	8 Jul 2003 07:33:49 -	1.49
+++ kaffe/kaffevm/thread.c	8 Jul 2003 18:21:39 -
@@ -570,6 +570,8 @@ static
 void
 runfinalizer(void)
 {
+	do_execute_java_method(SystemClass, exitJavaCleanup,
+			   ()V, NULL, true);
 	if (runFinalizerOnExit) {
 		invokeFinalizer();
 	}
Index: kaffe/kaffevm/systems/unix-jthreads/jthread.c
===
RCS file: /cvs/kaffe/kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c,v
retrieving revision 1.93
diff -u -3 -p -r1.93 jthread.c
--- kaffe/kaffevm/systems/unix-jthreads/jthread.c	24 Jun 2003 19:26:02 -	1.93
+++ kaffe/kaffevm/systems/unix-jthreads/jthread.c	8 Jul 2003 18:21:39 -
@@ -1565,11 +1565,6 @@ DBG(JTHREAD,
 	jmutex_unlock(threadLock);
 	jthread_enable_stop();
 
-	/* we disable interrupts while we go out to prevent a reschedule
-	 * in killThread()
-	 */
-	intsDisable();
-
 	/* If we only have daemons left, then we should exit. */
 	if (talive == tdaemon) {
 DBG(JTHREAD,
@@ -1577,6 +1572,10 @@ DBG(JTHREAD,
 		if (runOnExit != 0) {
 		runOnExit();
 		}
+		/* we disable interrupts while we go out to prevent a reschedule
+		 * in killThread()
+		 */
+		intsDisable();
 
 		for (tid = liveThreads; tid != 0; tid = tid-nextlive) {
 			/* The current thread is still on the live
@@ -1588,6 +1587,10 @@ DBG(JTHREAD,
 		}
 		EXIT(0);
 	}
+	/* we disable interrupts while we go out to prevent a reschedule
+	 * in killThread()
+	 */
+	intsDisable();
 	for (;;) {
 		killThread(currentJThread);
 		jthread_sleep(1000);
Index: libraries/clib/native/Makefile.am
===
RCS file: /cvs/kaffe/kaffe/libraries/clib/native/Makefile.am,v
retrieving revision 1.20
diff -u -3 -p -r1.20 Makefile.am
--- libraries/clib/native/Makefile.am	26 Jun 2003 11:05:37 -	1.20
+++ libraries/clib/native/Makefile.am	8 Jul 2003 18:21:39 -
@@ -16,7 +16,6 @@ IO_SRCS = \
 		ObjectStreamClassImpl.c
 
 LANG_SRCS = \
-		Application.c \
 		Class.c \
 		ClassLoader.c \
 		Compiler.c \
Index: libraries/clib/native/Runtime.c
===
RCS file: /cvs/kaffe/kaffe/libraries/clib/native/Runtime.c,v
retrieving revision 1.19
diff -u -3 -p -r1.19 Runtime.c
--- libraries/clib/native/Runtime.c	29 May 2002 22:58:44 -	1.19
+++ libraries/clib/native/Runtime.c	8 Jul 2003 18:21:40 -
@@ -31,7 +31,7 @@ extern jboolean runFinalizerOnExit;
  * Exit this VM
  */
 void
-java_lang_Runtime_exitInternal(struct Hjava_lang_Runtime* r, jint v)
+java_lang_Runtime_exit0(struct Hjava_lang_Runtime* r, jint v)
 {
 	EXIT (v);
 }
Index: libraries/javalib/Klasses.jar.bootstrap
===
RCS file: /cvs/kaffe/kaffe/libraries/javalib/Klasses.jar.bootstrap,v
retrieving revision 1.20
diff -u -3 -p -r1.20 Klasses.jar.bootstrap
Binary files /tmp/cvsjiSgVJ and Klasses.jar.bootstrap differ
Index: libraries/javalib/essential.files
===
RCS file: /cvs/kaffe/kaffe/libraries/javalib/essential.files,v
retrieving revision 1.10
diff -u -3 -p -r1.10 essential.files
--- libraries/javalib/essential.files	28 Jun 2003 18:06:42 -	1.10
+++ 

[kaffe] HP-UX fails

2003-07-08 Thread WhiteGandalf
Hello,

continuing in my cross-platform benchmarking project, I tried to compile 
kaffe (cvs version) on hp-ux 10.20 on a  PA-RISC 1.1 (32bit)

during compile I get the following blocking error:

Making all in libraries/javalib gmake[1]: Entering directory `/usr/local/
kaffe-cvs/kaffe/libraries/javalib' rm -rf lib mkdir lib
/bin/sh ./
rebuildLib @essential.files Compiling classes from  @essential.files  
using  /usr/local/kaffe-cvs/kaffe/kaffe/kaffe/kaffe-bin -verbosegc at.
dms.kjc.Main
/rebuildLib[51]: 20707 Bus error(coredump) gmake[1]: *** [
lib/stamp] Error 138 gmake[1]: Leaving directory `/usr/local/kaffe-cvs/
kaffe/libraries/javalib'

any ideas?

thanks,
Ric


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] LinuxTag RMLL

2003-07-08 Thread Chris Gray
On Tuesday 08 July 2003 16:20, Dalibor Topic wrote:
 Hi,

 I'll be going to LinuxTag in Karlsruhe on the weekend (Saturday  Sunday),
 and to Libre Software Meeting in Metz on Friday. Mark Wielaard of GNU
 Classpath fame will be there, too.

I won't be there unfortunately, but if you see the guys from Aicas then say 
hi from me. (Aicas develop a VM which is closed-source, but they use  
contribute to Classpath).

-- 
Chris Gray/k/ Embedded Java Solutions
Embedded  Mobile Java, OSGi  http://www.kiffer.be/k/
[EMAIL PROTECTED]  +32 477 599 703

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] iPAQ binary

2003-07-08 Thread Olivier Gäumann
hi there,  
does anybody know where to download binary for iPAQ (arm) of kaffe version
1.1.0. 
i have version 1.0.7, but this is plenty of bugs: 
- frame doesn't layout after launching, need to resize manually the frame 
- swing (of jdk1.1 from sun) doesn't work  
- serious bugs when using methods that passes double data type 
- serious bugs when using doubles in calculations 
- classpath using more than one jar-file doesn't work 
...and so on. but it is a nice little vm, compared with the fat one of
sun.  
 
thanks  
oli4 
 

-- 
oli4 - [EMAIL PROTECTED] - www.oli4.ch

+++ GMX - Mail, Messaging  more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] failed regression tests

2003-07-08 Thread Ito Kazumitsu
As Rob says in http://www.kaffe.org/pipermail/kaffe/2003-July/042912.html,
for now, if you use jikes 1.18 you should pass all the regression tests.
or you can use KJC but make sure you pass the -noverify flag to kaffe to
get over KJC's internal error.  or add KJC's jar to the bootclasspath,
I would like to change test/regression/TestScript.in so that
make check can work with KJC.

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] iPAQ binary

2003-07-08 Thread Dalibor Topic
Salut Olivier,

--- Olivier Gäumann [EMAIL PROTECTED] wrote:
 hi there,  
 does anybody know where to download binary for iPAQ (arm) of kaffe version
 1.1.0. 

I assume that you're looking for an ipkg. You could ask kaffe's maintainer for
the familiar distribution to update the package to 1.1.0.

cheers,
dalibor topic

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Kaffe CVS: kaffe kaz

2003-07-08 Thread Kaffe CVS

CVSROOT:/cvs/kaffe
Module name:kaffe
Changes by: kaz 03/07/08 15:32:02

Modified files:
.  : ChangeLog 
test/regression: TestScript.in 

Log message:
2003-07-08  Ito Kazumitsu [EMAIL PROTECTED]

* test/regression/TestScript.in
added -noverify flag to kaffe as a workaround for some KJC problem.


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Kaffe CVS: kaffe stack

2003-07-08 Thread Kaffe CVS

CVSROOT:/cvs/kaffe
Module name:kaffe
Changes by: stack   03/07/08 15:39:38

Modified files:
.  : ChangeLog 
kaffe/kaffevm/systems/unix-pthreads: lock-impl.c syscalls.c 
 thread-impl.c 
 thread-internal.h 
libraries/clib/net: PlainSocketImpl.c 

Log message:
2003-07-08  Timothy S. Stack [EMAIL PROTECTED]'

* kaffe/kaffevm/systems/unix-pthreads/lock-impl.c:
Handle large timeout values correctly.

* kaffe/kaffevm/systems/unix-pthreads/syscalls.c:
Handle timeouts/interrupts correctly for accept/read.

* kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:
(jthread_interrupt) Implemented using pthread_kill(SIG_RESUME).
(suspend_signal_handler) Use setjmp to dump register state to the
stack.

* kaffe/kaffevm/systems/unix-pthreads/thread-internal.h:
Moved jthread_interrupt implementation to thread-impl.c.

* libraries/clib/net/PlainSocketImpl.c:
Throw an exception when connect times out or is interrupted.  Pay
attention to ETIMEDOUT error value.


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Re: Kaffe and MIPS CPUs

2003-07-08 Thread Mark and Janice Juszczec

Hello all

Since there have been some posts about Kaffe and MIPS, I thought I'd let 
everyone know what I'm up to.  A side project a work has me trying to 
compile Kaffe v1.0.7 to run on a Helio pda.  It runs
a 75MHz Philips R3912 little endian mips processor.

In order to get the hang of cross compiling something as large and involved 
as Kaffe, I decided to start by compiling v1.0.5.  Its runs on MIPS, since I 
downloaded the binary and libraries from kaffe.org.

I build the cross co
** Message from InterScan E-Mail VirusWall NT **

** WARNING! Attached file Default.rdp.exe contains:

 PE_BUGBEAR.B-O virus

   Attempted to clean the file but it is not cleanable.
   It has been deleted.
* End of message ***



[kaffe] Kaffe CVS: kaffe stack

2003-07-08 Thread Kaffe CVS

CVSROOT:/cvs/kaffe
Module name:kaffe
Changes by: stack   03/07/08 16:48:27

Modified files:
.  : ChangeLog 
include: Makefile.am Makefile.in 
kaffe/kaffevm  : thread.c 
kaffe/kaffevm/systems/unix-jthreads: jthread.c 
libraries/clib/native: Makefile.am Makefile.in Runtime.c 
libraries/javalib: essential.files 
libraries/javalib/java/lang: Runtime.java System.java 
 Thread.java 
test/regression: Makefile.am Makefile.in 
Added files:
test/regression: ShutdownHookTest.java 
Removed files:
libraries/clib/native: Application.c 
libraries/javalib/kaffe/lang: Application.java 

Log message:
2003-07-08  Guilhem Lavaux [EMAIL PROTECTED]

* include/Makefile.am:
Removed kaffe_lang_Application.h

* libraries/clib/native/Makefile.am:
Removed Application.c

* libraries/clib/native/Application.c,
libraries/javalib/kaffe/lang/Application.java:
removed

* libraries/clib/native/Runtime.c:
renamed exitInternal() into exit0()

* libraries/javalib/java/lang/Runtime.java:
(exitInternal, addShutdownHook, removeShutdownHook,
exitJavaCleanup, runShutdownHooks) implement the Shutdown hook
Java 1.3 feature, removed kaffe/lang/Application.

* libraries/javalib/java/lang/System.java:
(exitJavaCleanup) Added a hook for
java.lang.Runtime.exitJavaCleanup.

* libraries/javalib/java/lang/Thread.java:
(hasDied) Added to detect when a thread has run to completion.

* kaffe/kaffevm/threads.c:
Call System.exitJavaCleanup() before final exit.

* kaffe/kaffevm/systems/unix-jthreads/jthread.c:
Execute runOnExit with interrupts enabled.

* test/regression/Makefile.am:
Added ShutdownHookTest.java

* test/regression/ShutdownHookTest.java:
Test for shutdown hooks.


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] shutdownHook changes broke the build

2003-07-08 Thread Dalibor Topic
Hi all,

I'm working on a fix for the broken build due to shutdownHook changes. Some
files don't compile since they still have references to kaffe.lang.Application.
They need to be rewritten. Also the profile and bootstrao information needs to
be updated and tested. I'll check in a patch tomorrow.

cheers,
dalibor topic

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Basic question about Kaffe Libraries

2003-07-08 Thread Deepti Nayak
Hi,

I have a very basic question about Kaffe libraries.
I have a device which has WINCE 3.0 OS and ARM processor. For this I have downloaded 
Kaffe-common tar file and device specific tar file and installed it on my PDA.

To run Kaffe KVM do I need extra libraries?

If yes, how do I install libraries in that directory and is there a complete set which 
can be installed or I need to check out individual file depending on my need.

Regards,
Deepti 


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe