Re: J2SE compliant RE for Arm Linux

2007-06-27 Thread Christian Thalinger
On Wed, 2007-06-27 at 12:47 +0200, Christian Thalinger wrote: java.lang.UnsatisfiedLinkError: putObject I'll implement the missing sun.misc.Unsafe functions and get back to you. Hi! I've implemented putObject and park (only an empty stub, like jamvm). If more is missing, let me know

Re: J2SE compliant RE for Arm Linux

2007-06-27 Thread Christian Thalinger
On Wed, 2007-06-27 at 14:39 +0100, Robert Lougher wrote: Hi, Park and unpark are empty stubs, but everything else should be implemented... If anybody can tell me what park/unpark should do, I'll implement them too! I saw gcj has an implementation, but I didn't have time to do it. But you

NPE in gnu.xml.transform.WithParam.getValue

2007-06-24 Thread Christian Thalinger
Hi! When building HotSpot in OpenJDK with CACAO I get this NPE: /home/twisti/tmp/cacao/bin/java -classpath /home/twisti/cacao/sun/openjdk/jdk/control/build/linux-amd64-debug/hotspot/outputdir/linux_amd64_compiler2/jvmg/../generated/jvmtifiles jvmtiGen -IN

Re: NPE in gnu.xml.transform.WithParam.getValue

2007-06-24 Thread Christian Thalinger
On Sun, 2007-06-24 at 23:57 +0200, Mark Wielaard wrote: On Sun, 2007-06-24 at 14:12 +0200, Christian Thalinger wrote: When building HotSpot in OpenJDK with CACAO I get this NPE: /home/twisti/tmp/cacao/bin/java -classpath /home/twisti/cacao/sun/openjdk/jdk/control/build/linux-amd64-debug

Re: [cp-patches] RFC: jni.h changes to be openjdk compatible

2007-06-22 Thread Christian Thalinger
-06-22 Christian Thalinger [EMAIL PROTECTED] * include/jni.h (JNINativeInterface): Renamed to JNINativeInterface_, added const to arguments where necessary. (JNIInvokeInterface): Renamed to JNIInvokeInterface_. - twisti

[commit-cp] classpath ChangeLog include/jni.h

2007-06-22 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti07/06/22 10:07:34 Modified files: . : ChangeLog include: jni.h Log message: 2007-06-22 Christian Thalinger [EMAIL PROTECTED

[cp-patches] RFC: jni.h changes to be openjdk compatible

2007-06-21 Thread Christian Thalinger
Hi! While doing the cacao port to use openjdk's libraries, I noticed the function prototypes in sun's jni.h are a bit different than ours. And also the JNINativeInterface and JNIInvokeInterface struct names. As cacao does not have it's own jni.h, we'd need these changes. Any objections? -

CACAO 0.98 Free all JITs! released.

2007-06-06 Thread Christian Thalinger
CACAO 0.98 Free all JITs! released. This is a major feature enhancement and bug-fix release. Here is a short list of the most important changes: * ARM and MIPS32 code generators are now open-source. * PowerPC64 code generator was added. * Sun's phoneme CLDC-1.1 classes can now be used as

Re: [cacao] RFC: class-loading is very slow

2007-05-21 Thread Christian Thalinger
On Wed, 2007-05-16 at 19:44 +0200, Mark Wielaard wrote: Hi Christian, On Thu, 2007-05-03 at 16:32 +0200, Christian Thalinger wrote: I'm writing this to the list to get some feedback and to not forget this issue. I've written a testcase which loads all classes of the bootstrap

arm get's into releasable shape

2007-05-21 Thread Christian Thalinger
http://www.complang.tuwien.ac.at/cacaojvm/screenshots/eclipse-3.2.1-arm-linux.png Next I want to see it running on N800 :-) - twisti

Re: [cp-patches] RFC: Options to javac

2007-05-10 Thread Christian Thalinger
On Thu, 2007-05-10 at 17:00 +0200, Mario Torre wrote: Il giorno gio, 10/05/2007 alle 13.39 +0100, Chris Burdess ha scritto: Will the switches just be ignored by 1.4 and earlier versions of javac, or will they cause an error? I don't think they are ignored. Is there configury in any

Re: [cp-patches] Little XML patch

2007-04-16 Thread Christian Thalinger
On Mon, 2007-04-09 at 21:11 +0200, Christian Thalinger wrote: On Mon, 2007-04-09 at 19:17 +0200, Christian Thalinger wrote: Ok, here we go: input.systemId=file:/home/twisti/cacao/spec/jbb2005/xml/template-document.xml ids.systemId=jbb-document.dtd url=jbb-document.dtd

Re: [cp-patches] Little XML patch

2007-04-16 Thread Christian Thalinger
On Mon, 2007-04-16 at 14:16 +0200, Mark Wielaard wrote: Christian, can you retest against cvs HEAD and let us know whether or not this solves your regressions? Yes, works. - twisti

Bug#419508: /usr/bin/ld: errno: TLS definition in /lib32/libc.so.6 section .tbss mismatches non-TLS definition in /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib32/libc.a(errno.o) section .bss

2007-04-16 Thread Christian Thalinger
Package: g++ Version: 4.1.1-15 When compiling a simple C++ file on x86_64 for the i386 architecture using -export-dynamic, I got this error: $ g++ -m32 -export-dynamic -o test test.cpp /usr/bin/ld: errno: TLS definition in /lib32/libc.so.6 section .tbss mismatches non-TLS definition in

Bug#418326: ifup -a returns before alias interfaces are brought up

2007-04-16 Thread Christian Thalinger
Hi! We have the same problem on one of our machines after upgrading to Etch. But we don't have any aliased network interfaces, only real ones: auto eth0 iface eth0 inet static address 128.x.x.x netmask 255.255.255.128 network 128.x.x.x broadcast 128.x.x.x

Bug#419508: /usr/bin/ld: errno: TLS definition in /lib32/libc.so.6 section .tbss mismatches non-TLS definition in /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib32/libc.a(errno.o) section .bss

2007-04-16 Thread Christian Thalinger
Package: g++ Version: 4.1.1-15 When compiling a simple C++ file on x86_64 for the i386 architecture using -export-dynamic, I got this error: $ g++ -m32 -export-dynamic -o test test.cpp /usr/bin/ld: errno: TLS definition in /lib32/libc.so.6 section .tbss mismatches non-TLS definition in

Re: [cp-patches] RFC: old DeleteLocalRef patch

2007-04-12 Thread Christian Thalinger
:-) Could you please write a changelog entry and fix this little nitpick? Commited as follows. - twisti --- 2007-04-12 Christian Thalinger [EMAIL PROTECTED] * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (clipboard_get_func): Call DeleteLocalRef. * native/jni/gtk

[commit-cp] classpath ChangeLog LICENSE configure.ac native...

2007-04-12 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti07/04/12 14:58:38 Modified files: . : ChangeLog LICENSE configure.ac native/jni/native-lib: cpnet.c Added files: m4

[commit-cp] classpath ChangeLog native/jni/gtk-peer/gnu_jav...

2007-04-12 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti07/04/12 15:09:31 Modified files: . : ChangeLog native/jni/gtk-peer: gnu_java_awt_peer_gtk_GtkClipboard.c

[cp-patches] RFC: old DeleteLocalRef patch

2007-04-11 Thread Christian Thalinger
Hi! I just found this one in my local working copy. Should I commit it? - twisti --- Index: native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c === RCS file:

[cp-patches] FYI: added AC_C_INLINE check

2007-04-11 Thread Christian Thalinger
Hi! I added the AC_C_INLINE check in configure.ac, since some compilers don't understand the inline keyword. This one is commited and should go on the release branch. - twisti --- 2007-04-11 Christian Thalinger [EMAIL PROTECTED] * configure.ac: Added AC_C_INLINE. Index

[cp-patches] FYI: fixed compiler warning in native/jni/native-lib/cpproc.c

2007-04-11 Thread Christian Thalinger
Hi! MIPSpro warned about that. Commited. - twisti --- 2007-04-11 Christian Thalinger [EMAIL PROTECTED] * native/jni/native-lib/cpproc.c (cpproc_forkAndExec): Fixed warning on some compilers, e.g. MIPSpro. Index: native/jni/native-lib/cpproc.c

[cp-patches] FYI: fixed fcntl.h include in native/jni/java-nio/javanio.c

2007-04-11 Thread Christian Thalinger
Hi! IRIX had a problem with including sys/fcntl.h directly. Commited. - twisti --- 2007-04-11 Christian Thalinger [EMAIL PROTECTED] * native/jni/java-nio/javanio.c: Include fcntl.h instead of sys/fcntl.h. Index: native/jni/java-nio/javanio.c

[cp-patches] RFC: check for gethostbyname_r argument number

2007-04-11 Thread Christian Thalinger
Hi! This patch checks for the number of arguments of the gethostbyname_r library call. The six- and five-argument case is implemented, the three-argument case is missing, but I added an #error. Ok to commit? - twisti --- 2007-04-11 Christian Thalinger [EMAIL PROTECTED] * LICENSE

[commit-cp] classpath ChangeLog configure.ac

2007-04-11 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti07/04/11 20:37:56 Modified files: . : ChangeLog configure.ac Log message: 2007-04-11 Christian Thalinger [EMAIL PROTECTED

[commit-cp] classpath ChangeLog native/jni/native-lib/cpproc.c

2007-04-11 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti07/04/11 21:32:57 Modified files: . : ChangeLog native/jni/native-lib: cpproc.c Log message: 2007-04-11 Christian Thalinger [EMAIL PROTECTED

[commit-cp] classpath ChangeLog native/jni/java-nio/javanio.c

2007-04-11 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti07/04/11 21:37:35 Modified files: . : ChangeLog native/jni/java-nio: javanio.c Log message: 2007-04-11 Christian Thalinger [EMAIL PROTECTED

Re: 0.95 branch created

2007-04-10 Thread Christian Thalinger
On Sat, 2007-04-07 at 00:51 +0200, Mark Wielaard wrote: Hi, A release branch has been created 'classpath-0_95-branch' I'll try to pick up any fixes made on the trunk, but if you feel some patch is release critical please do CC me. As with any release, I have a build failure on IRIX: $

Re: 0.95 branch created

2007-04-10 Thread Christian Thalinger
On Wed, 2007-04-11 at 00:43 +0200, Mario Torre wrote: Il giorno mar, 10/04/2007 alle 23.47 +0200, Christian Thalinger ha scritto: From IRIX's manpage: struct hostent *gethostbyname_r(const char *name, struct hostent *hent, char *buffer, int bufsize, int *h_errnop); How should we

Re: [cp-patches] Little XML patch

2007-04-09 Thread Christian Thalinger
On Sat, 2007-04-07 at 19:14 +0200, Mark Wielaard wrote: Hi Christian, On Sat, 2007-04-07 at 17:03 +0200, Christian Thalinger wrote: This patch broke SPECjbb2005 (http://developer.classpath.org/pipermail/classpath/2007-March/001917.html). Could you provide us with the input

Re: [cp-patches] Little XML patch

2007-04-09 Thread Christian Thalinger
On Mon, 2007-04-09 at 19:17 +0200, Christian Thalinger wrote: Ok, here we go: input.systemId=file:/home/twisti/cacao/spec/jbb2005/xml/template-document.xml ids.systemId=jbb-document.dtd url=jbb-document.dtd This is the output before Chris' patch: input.systemId=file:/home/twisti/cacao/spec

Re: 0.95 branch created

2007-04-08 Thread Christian Thalinger
On Sat, 2007-04-07 at 23:49 +0200, Mark Wielaard wrote: On Sat, 2007-04-07 at 00:51 +0200, Mark Wielaard wrote: FAIL: javax.swing.TransferHandler.createTransferable (I thought this was fixed with Francis latest patch, but builder still has trouble with it for some reason) This has

Re: Method.invoke() on a non-public class from another package

2007-04-08 Thread Christian Thalinger
On Sun, 2007-04-08 at 23:12 +0200, Mark Wielaard wrote: Attached is a simplified test case (3 classes - c1 is in package p1, c2 and c3 are in package p2, c2 is not public, p1.c1 is the entry point) that should throw an IllegalAccessException on the line: m.invoke(o, new Object[0]); Sun's RI

Re: Method.invoke() on a non-public class from another package

2007-04-08 Thread Christian Thalinger
On Sun, 2007-04-08 at 22:41 +0100, Robert Lougher wrote: Strangely enough, I _did_ fix this in JamVM 1.4.4, but then removed the checks again in JamVM 1.4.5! http://cvs.berlios.de/cgi-bin/viewcvs.cgi/jamvm/jamvm/src/reflect.c.diff?r1=1.9r2=1.10 If I remember the reason for removing it

Re: Method.invoke() on a non-public class from another package

2007-04-08 Thread Christian Thalinger
On Sun, 2007-04-08 at 23:00 +0100, Robert Lougher wrote: Anyway, I've found what it broke and my original analysis. After putting this in, BeanShell GUI stopped working with JamVM. This was found during 0.93 testing: http://www.mail-archive.com/classpath@gnu.org/msg13811.html I did an

Bug#417401: xsltproc-1.1.19 can't build openbios

2007-04-08 Thread Christian Thalinger
On Sun, 2007-04-08 at 18:31 +0200, Mike Hommey wrote: On Sun, Apr 08, 2007 at 06:24:04PM +0200, Mike Hommey [EMAIL PROTECTED] wrote: On Mon, Apr 02, 2007 at 05:29:56PM +0200, Christian Thalinger [EMAIL PROTECTED] wrote: Package: xsltproc Version: 1.1.19-1 Current xsltproc

Re: [cp-patches] Little XML patch

2007-04-07 Thread Christian Thalinger
On Tue, 2007-02-06 at 10:13 +, Chris Burdess wrote: I committed this patch which does two things: fixes a problem whereby Xerces did not support an asynchronous DOM LS parser, and works around a problem with the URLs specified in XML system IDs. Note, this is only a workaround and

Re: [cp-patches] RFC: iconv -Werror compilation fix

2007-04-05 Thread Christian Thalinger
On Wed, 2007-04-04 at 13:36 +0200, Christian Thalinger wrote: Yeah, tomorrow :-) Anyways, here it is. Commit? Commited as follows. 2007-04-05 Christian Thalinger [EMAIL PROTECTED] * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c, native/jni/java-nio

FYI: VMNetworkInterface -Werror fix [Was: Re: [cp-patches] RFC: iconv -Werror compilation fix]

2007-04-05 Thread Christian Thalinger
On Thu, 2007-04-05 at 14:21 +0200, Christian Thalinger wrote: On Wed, 2007-04-04 at 13:36 +0200, Christian Thalinger wrote: Yeah, tomorrow :-) Anyways, here it is. Commit? Commited as follows. Had another one of this type pending. Commited. - twisti --- 2007-04-05 Christian Thalinger

[cp-patches] FYI: PR 22800 fixed

2007-04-05 Thread Christian Thalinger
Hi! I reverted the reverted patch because it's required. See also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22800. This should finally fix all double-arm problems. - twisti --- 2007-04-05 Christian Thalinger [EMAIL PROTECTED] PR classpath/22800: * native/jni/java-lang

Thread.getState() return value

2007-04-05 Thread Christian Thalinger
Hi! Finally I had some time to implement Thread.getState() and noticed that we still return a java.lang.String. Shouldn't we change that since we are now 1.5 on head? - twisti

[commit-cp] classpath ChangeLog native/jni/java-nio/gnu_jav...

2007-04-05 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti07/04/05 12:20:50 Modified files: . : ChangeLog native/jni/java-nio: gnu_java_nio_charset_iconv_IconvDecoder.c

[commit-cp] classpath ChangeLog native/jni/java-net/java_ne...

2007-04-05 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti07/04/05 12:34:19 Modified files: . : ChangeLog native/jni/java-net: java_net_VMNetworkInterface.c Log message: 2007-04-05 Christian Thalinger

[commit-cp] classpath ChangeLog native/jni/java-lang/java_l...

2007-04-05 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti07/04/05 12:41:34 Modified files: . : ChangeLog native/jni/java-lang: java_lang_VMDouble.c Log message: 2007-04-05 Christian Thalinger [EMAIL

Re: [cp-patches] RFC: iconv -Werror compilation fix

2007-04-04 Thread Christian Thalinger
On Fri, 2007-03-30 at 01:36 +0200, Christian Thalinger wrote: On Thu, 2007-03-29 at 16:35 -0600, Tom Tromey wrote: We discussed on irc but I thought the answer should be in the list archives too. Annotation the argument with UNUSED. This is defined in config.h. We already use this all

[cp-patches] Re: FYI: Some Image icon cleanups

2007-04-04 Thread Christian Thalinger
On Thu, 2007-04-05 at 00:57 +0200, Mark Wielaard wrote: Christian, this hopefully solves the issue you reported on irc with MegaMek. Could you test? Yes, this fixed the problem. - twisti

Bug#417401: xsltproc-1.1.19 can't build openbios

2007-04-02 Thread Christian Thalinger
Package: xsltproc Version: 1.1.19-1 Current xsltproc-1.1.19 can't build openbios. I reported a bug their BTS: http://tracker.linuxbios.org/trac/LinuxBIOS/ticket/75 I suggest upgrading to 1.1.20. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact

[cp-patches] RFC: iconv -Werror compilation fix

2007-03-29 Thread Christian Thalinger
Hi! This patch fixes -Werror compilation with !HAVE_ICONV. Daney pointed me to the (void)-solution. I'm not sure if that is the best solution, but it works. Comments? - twisti --- Index: native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c

Re: [cp-patches] RFC: iconv -Werror compilation fix

2007-03-29 Thread Christian Thalinger
On Thu, 2007-03-29 at 16:35 -0600, Tom Tromey wrote: We discussed on irc but I thought the answer should be in the list archives too. Annotation the argument with UNUSED. This is defined in config.h. We already use this all over; gcc's __attribute__ ((unused)) really means might or might

Re: [cp-patches] FYI: Make VMChannel.open thread-safe

2007-03-28 Thread Christian Thalinger
On Wed, 2007-03-28 at 11:48 +0200, Mark Wielaard wrote: Hi, Andrew and Christian pointed out that the way we fiddle with umask is 1) not-thread-safe and 2) unnecessary. So this patch fixes that up. It also removes the linking against libclasspathnative for the nio library since it doesn't

dacapo jython regression

2007-03-28 Thread Christian Thalinger
Hi! Another regression (it works with 0.93): $ cacao -jar dacapo-2006-10-MR2.jar -s small jython *sys-package-mgr*: processing new jar, '/home/twisti/cacao/dacapo/dacapo-2006-10-MR2.jar' *sys-package-mgr*: processing new jar, '/home/twisti/cacao/cacao-twisti/src/lib/vm.zip' *sys-package-mgr*:

Bug#405439: wengophone 2.1 now shipped

2007-03-24 Thread Christian Thalinger
Openwengo now ships wengophone 2.1 on their website. Maybe we can start rebuilding it? - twisti -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Bug#405439: wengophone 2.1 now shipped

2007-03-24 Thread Christian Thalinger
Openwengo now ships wengophone 2.1 on their website. Maybe we can start rebuilding it? - twisti -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

jetty-5.1.11 regression

2007-03-23 Thread Christian Thalinger
Hi! I've found another regression with current head. jetty-5.1.11 does not serve pages anymore (while it does for 6.1.1): $ telnet localhost 8080 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. Connection closed by foreign host. There are no exceptions during

RE: jetty-5.1.11 regression

2007-03-23 Thread Christian Thalinger
On Fri, 2007-03-23 at 13:38 +0100, Jeroen Frijters wrote: I think my Socket patch from the 19th introduced this. I'm looking into it... Yes, I just verified. - twisti

Re: plugin for mozilla/firefox

2007-03-12 Thread Christian Thalinger
On Sat, 2007-03-03 at 22:47 +0200, Dima Sorkin wrote: Hi. Andrew John Hughes: You don't say which platform you're using. If you're using a recent GNU/Linux distribution, there should be packages for GNU Classpath. 0.92 was the first to include the Mozilla/Firefox plugin, but earlier

xml/dom regression

2007-03-12 Thread Christian Thalinger
Hi! I'm having a regression with SPECjbb2005 (this worked with 0.93, just verified): Exception in thread main java.lang.ExceptionInInitializerError at spec.jbb.NewOrderTransaction.init(Unknown Source) at spec.jbb.Company.loadInitialOrders(Unknown Source) at

solaris compile errors

2007-03-05 Thread Christian Thalinger
Hi! Current CVS head has some problems on solaris. I haven't investigated yet, but maybe someone has a solution right away: ../../../../native/jni/native-lib/cpio.c: In function 'cpio_readDir': ../../../../native/jni/native-lib/cpio.c:529: error: too many arguments to function 'readdir_r'

10 years CACAO

2007-02-19 Thread Christian Thalinger
The CACAO virtual machine celebrates its 10th anniversary. On February 14th 1997 CACAO 0.1 using the class library of the JDK 1.0.2 for the Alpha processor under Digital Unix was put online on the web. Now CACAO supports Alpha, ARM, MIPS, PowerPC, Sparc, x86 and x86-64 processor under different

Re: [cp-patches] FYI: Fix for PR26852

2007-02-16 Thread Christian Thalinger
On Thu, 2007-02-15 at 23:46 +, Andrew John Hughes wrote: I'm committing Edwin's patch for PR28652. According to Mark, this is minor enough not to warrant an assignment just yet. Changelog: 2006-10-14 Edwin Steiner [EMAIL PROTECTED] PR classpath/28652: *

Re: [Jamvm-general] Compiling Jamvm 1.4.5 - errors

2007-02-13 Thread Christian Thalinger
On Mon, 2007-02-12 at 08:05 -0700, Tom Tromey wrote: Twisti == Christian Thalinger [EMAIL PROTECTED] writes: http://www.nabble.com/-cp-patches--RFC%3A-fix-annotation-inheritance-tf2471335.html#a6890685 Twisti It would be nice to have this finally commited. IIRC, this was one Twisti

Re: exception bug in gnu_java_nio_VMChannel.c

2007-02-02 Thread Christian Thalinger
On Thu, 2007-02-01 at 17:16 -0800, Casey Marshall wrote: On Feb 1, 2007, at 3:39 PM, Christian Thalinger wrote: Hi! I found a problem in gnu_java_nio_VMChannel.c. It's about NonReadableChannelException and NonWriteableChannelException. These exceptions do not have a initializer

exception bug in gnu_java_nio_VMChannel.c

2007-02-01 Thread Christian Thalinger
Hi! I found a problem in gnu_java_nio_VMChannel.c. It's about NonReadableChannelException and NonWriteableChannelException. These exceptions do not have a initializer with String as parameter: java.lang.NoSuchMethodError: java.nio.channels.NonReadableChannelException.init(Ljava/lang/String;)V

Re: [cacao] build of cacao svn trunk broken

2006-12-28 Thread Christian Thalinger
On Wed, Dec 27, 2006 at 11:58:38AM +0100, Mark Wielaard wrote: Reversing this part makes things happy again. As seen above BOOTCLASSPATH is empty and doesn't seem to be defined anywhere else in the Makefiles. Right. This one slipped in as I did my Java ME commits. SVN trunk now does support

Re: [cp-patches] FYI: Add Enum.finalize()

2006-12-21 Thread Christian Thalinger
On Wed, Dec 20, 2006 at 10:28:13AM +0100, Christian Thalinger wrote: On Wed, Dec 20, 2006 at 09:34:29AM +0100, Mark Wielaard wrote: Interesting. Even though Enums should never be initialized by hand this is something a garbage collector should be aware of. Do garbage collectors already

Re: [cp-patches] FYI: Add Enum.finalize()

2006-12-21 Thread Christian Thalinger
On Thu, Dec 21, 2006 at 02:09:13PM +0100, Mark Wielaard wrote: I hope the optimization is actually worth it. It occurred to me that enums are of course by design singletons. So in that case you might not actually find so many instances of them anyway. If someone implements this

Re: [cp-patches] FYI: Add Enum.finalize()

2006-12-21 Thread Christian Thalinger
On Thu, Dec 21, 2006 at 03:18:09PM +0100, Mark Wielaard wrote: Hi Christian, On Thu, 2006-12-21 at 15:07 +0100, Christian Thalinger wrote: An eclipse-3.2.1 startup-and-shutdown: 3808 class loads 10 classes have a finalizer 4of them are empty Make your own decision

Re: [cp-patches] FYI: Add Enum.finalize()

2006-12-20 Thread Christian Thalinger
On Wed, Dec 20, 2006 at 09:34:29AM +0100, Mark Wielaard wrote: Hi (moved to main list since I think this might be interesting for runtime hackers), On Tue, 2006-12-19 at 00:37 +, Andrew John Hughes wrote: This adds the finalize() method added to Enum in 1.6. Should fix a few JAPI

javac warnings

2006-12-20 Thread Christian Thalinger
Hi! If anybody is interested in, this is the only warning coming up with Sun's javac (30 warnings): ../java/lang/Class.java:1161: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for

some java 1.5/1.6 stuff

2006-12-18 Thread Christian Thalinger
Hi! Today I commit some stuff I've implemented this weekend. It includes the movement of the GNU Classpath VM interface class to support different java library implementations (@Sun: hint! hint!). I've also added the parsing of the EnclosingMethod and StackMapTable class file attribute. The

[cp-patches] [RFC] check for all 2.6x autoconf versions

2006-12-15 Thread Christian Thalinger
+++ ChangeLog 15 Dec 2006 14:53:13 - @@ -1,3 +1,7 @@ +2006-12-15 Christian Thalinger [EMAIL PROTECTED] + + * autogen.sh: Check for all 2.6x autoconf versions. + 2006-12-14 David Daney [EMAIL PROTECTED] * gnu/java/net/protocol/http/HTTPURLConnection.java: Clean Index: autogen.sh

Re: [cp-patches] [RFC] check for all 2.6x autoconf versions

2006-12-15 Thread Christian Thalinger
On Fri, Dec 15, 2006 at 11:18:40AM -0700, Tom Tromey wrote: Twisti == Christian Thalinger [EMAIL PROTECTED] writes: Twisti Ok to commit? I guess so... Yes, thanks. Commited. - twisti

[cp-patches] [FYI] added support for Sun's javac

2006-12-15 Thread Christian Thalinger
--- ChangeLog 15 Dec 2006 21:48:39 - 1.8991 +++ ChangeLog 15 Dec 2006 22:05:37 - @@ -1,3 +1,14 @@ +2006-12-15 Christian Thalinger [EMAIL PROTECTED] + + * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Added support for Sun's + javac. + (CLASSPATH_WITH_JAVAC): Added

[commit-cp] classpath ChangeLog autogen.sh

2006-12-15 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti06/12/15 21:31:31 Modified files: . : ChangeLog autogen.sh Log message: 2006-12-15 Christian Thalinger [EMAIL PROTECTED

[commit-cp] classpath ChangeLog m4/acinclude.m4 lib/Makefil...

2006-12-15 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti06/12/15 22:09:28 Modified files: . : ChangeLog m4 : acinclude.m4 lib: Makefile.am examples : Makefile.am

Re: mauve results change after generics merge

2006-12-12 Thread Christian Thalinger
On Mon, 2006-12-11 at 20:16 +, Paul Jenner wrote: +FAIL: java.lang.Double.compareTo +FAIL: java.lang.Float.compareTo +FAIL: java.lang.Integer.compareTo +FAIL: java.util.Date.compareTo Hmm, these look strange. What architecture is that? We had a bug a few days ago on i386-trunk. -

CACAO 0.97 released.

2006-10-31 Thread Christian Thalinger
CACAO 0.97 released. This is a bug-fix and feature enhancement release. Here is a short list of the most important changes: * New instruction format. * New intermediate representation with unified variables. * Local subroutine elimination. * Fixed the interpreter - it runs eclipse now.

[cp-patches] Re: Build failure on Mac OS X

2006-10-22 Thread Christian Thalinger
On Sat, Oct 21, 2006 at 09:01:01AM +0200, Christian Thalinger wrote: On Sat, 2006-10-21 at 00:45 +0100, Robert Lougher wrote: Hi, I tried building the lastest distcheck on Mac OS X last night (first time in a while). The build trivially failed in two files: native/jni/java-net

Re: Build failure on Mac OS X

2006-10-22 Thread Christian Thalinger
On Sat, Oct 21, 2006 at 09:01:01AM +0200, Christian Thalinger wrote: On Sat, 2006-10-21 at 00:45 +0100, Robert Lougher wrote: Hi, I tried building the lastest distcheck on Mac OS X last night (first time in a while). The build trivially failed in two files: native/jni/java-net

[commit-cp] classpath/native/jni java-net/gnu_java_net_VMPl...

2006-10-22 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti06/10/22 16:28:19 Modified files: native/jni/java-net: gnu_java_net_VMPlainSocketImpl.c native/jni/java-nio: gnu_java_nio_VMChannel.c Log message: 2006-10-22

[commit-cp] classpath ChangeLog

2006-10-22 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti06/10/22 16:28:48 Modified files: . : ChangeLog Log message: 2006-10-22 Christian Thalinger [EMAIL PROTECTED] * native/jni/java-net

Re: Build failure on Mac OS X

2006-10-21 Thread Christian Thalinger
On Sat, 2006-10-21 at 00:45 +0100, Robert Lougher wrote: Hi, I tried building the lastest distcheck on Mac OS X last night (first time in a while). The build trivially failed in two files: native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c native/jni/java-nio/gnu_java_nio_VMChannel.c

Re: Signals, sockets and threads

2006-10-19 Thread Christian Thalinger
On Wed, Oct 18, 2006 at 03:52:50PM +0200, Robert Schuster wrote: In an attempt to get gnu/testlet/java/net/ServerSocket/ReturnOnClose to succeed on Cacao with the new an shiny VMChannel implementation I found out the Cacao's Thread.interrupt() does not cause blocking system calls to be

Re: Jboss/Java1.5 on HPPA in linux

2006-10-16 Thread Christian Thalinger
On Mon, 2006-10-16 at 08:49 +0930, Trevor Glen wrote: gcj. jam and cacao don't support hppa and I didn't much luck at all with sable and kaffe (ie, it wouldn't even start). If you give me some support, we could try to port our interpreter to HPPA. My impression is that hppa is probably the

Re: Jboss/Java1.5 on HPPA in linux

2006-10-16 Thread Christian Thalinger
On Mon, 2006-10-16 at 19:53 +0930, Trevor Glen wrote: Christian Thalinger wrote: If you give me some support, we could try to port our interpreter to HPPA. I will donate as much time as I can to this. Just let me know where to start. I'll tweak our build system so you can ./configure

Re: file locking problem in Java_gnu_java_nio_VMChannel_lock

2006-10-12 Thread Christian Thalinger
On Wed, 2006-10-11 at 10:56 -0600, Tom Tromey wrote: Edwin == Edwin Steiner [EMAIL PROTECTED] writes: Edwin The attached patch fixes this case. It is still Edwin not safe for len signed 32 bit. Looks ok to me, I'm going to check it in. Thanks. Could you also commit it to the generics

[cp-patches] Re: problem with extern inline function in javanio.c

2006-10-04 Thread Christian Thalinger
-04 Christian Thalinger [EMAIL PROTECTED] * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv) (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect) (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl) (cpnio_select): Use CPNIO_EXPORT. * native

Re: problem with extern inline function in javanio.c

2006-10-04 Thread Christian Thalinger
-04 Christian Thalinger [EMAIL PROTECTED] * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv) (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect) (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl) (cpnio_select): Use CPNIO_EXPORT. * native

[commit-cp] classpath ChangeLog native/jni/java-nio/javanio...

2006-10-04 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti06/10/04 10:28:36 Modified files: . : ChangeLog native/jni/java-nio: javanio.c javanio.h Log message: 2006-10-04 Christian Thalinger [EMAIL

Re: problem with extern inline function in javanio.c

2006-10-03 Thread Christian Thalinger
On Fri, 2006-09-29 at 11:29 -0700, Casey Marshall wrote: Huh, that's odd. I thought I read that `extern inline' *did* force the function to be inlined. Maybe it is like Andrew said, that this is the GNU C behavior, not the C99 one. What C compiler are you using? If 'static inline' works

[cp-patches] darwin build fix

2006-09-29 Thread Christian Thalinger
Hi! Current head did not build on darwin. This patch fixes it. I'll commit it later, when I'm in linux. - twisti 2006-09-29 Christian Thalinger [EMAIL PROTECTED] * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h): Added. * native/jni/java-nio

Re: ofbiz

2006-09-27 Thread Christian Thalinger
On Tue, 2006-09-26 at 11:56 +0200, Thomas Koch wrote: 2006-09-25 16:57:15,871 (main) [ClassLoaderContainer.java:59 :INFO ] CachedClassLoader created Exception in thread main java.lang.NoClassDefFoundError: org.objectweb.carol.jndi.registry.ManageableRegistry Hi! I wanted to try that, but I

[cp-patches] [generics] FYI: removed check in Formatter.basicIntegralConversion

2006-09-20 Thread Christian Thalinger
This patch removes the ZERO !LEFT_JUSTIFY check, as it's ok to print leading zeros with right justification. - twisti 2006-09-20 Christian Thalinger [EMAIL PROTECTED] * java/util/Formatter.java (basicIntegralConversion): Removed check for ZERO !LEFT_JUSTIFY. Index: java

[commit-cp] classpath ChangeLog java/util/Formatter.java [generics-branch]

2006-09-20 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Branch: generics-branch Changes by: Christian Thalinger twisti06/09/20 18:25:01 Modified files: . : ChangeLog java/util : Formatter.java Log message: 2006-09-20 Christian

Re: native methods in inner classes (long)

2006-09-19 Thread Christian Thalinger
On Wed, 2006-09-20 at 06:02 +1000, Raif S. Naffah wrote: * with both cacao and jamvm, even with the second signature, running the code causes an UnsatisfiedLinkError to be raised. That's completely right. gcj can handle it correctly, AFAICT. I'm currently fixing this. my questions are:

Re: native methods in inner classes (long)

2006-09-19 Thread Christian Thalinger
On Tue, 2006-09-19 at 23:08 +0200, Christian Thalinger wrote: On Wed, 2006-09-20 at 06:02 +1000, Raif S. Naffah wrote: * with both cacao and jamvm, even with the second signature, running the code causes an UnsatisfiedLinkError to be raised. That's completely right. gcj can handle

Re: [cp-patches] PATCH: (mprec.c) Fix _Jv_ulp for 64-bit __Long

2006-09-14 Thread Christian Thalinger
On Thu, Sep 14, 2006 at 09:47:37AM +0200, Mark Wielaard wrote: Hi Andrew and Christian, By now you two probably know mprec.c better than others. Could you take a look at this patch suggestion? Might this be related to the recent miscompilation observed by Andrew? Do we have testcases for

Re: [cp-patches] PR22800 fix (arm float parsing)

2006-09-14 Thread Christian Thalinger
On Wed, Sep 13, 2006 at 11:34:16AM +0200, Mark Wielaard wrote: Hi Christian, On Tue, 2006-09-12 at 16:57 +0200, Christian Thalinger wrote: I really think we should include that patch and revert my old one. I've tested it and it works. Ok to commit? 2006-10-12 Christian Thalinger

Re: [cp-patches] updated: IO, net, and NIO

2006-09-14 Thread Christian Thalinger
On Thu, Sep 14, 2006 at 11:18:34AM -0700, Casey Marshall wrote: Does cacao support GetDirectBufferAddress properly? There may be a bug there. Hmm, it unlikely, because OpenGL stuff works and that uses directu buffers a lot. But I'll try the patch. - twisti

Re: [cp-patches] updated: IO, net, and NIO

2006-09-14 Thread Christian Thalinger
On Fri, Sep 15, 2006 at 12:20:33AM +0200, Christian Thalinger wrote: On Thu, Sep 14, 2006 at 11:18:34AM -0700, Casey Marshall wrote: Does cacao support GetDirectBufferAddress properly? There may be a bug there. Hmm, it unlikely, because OpenGL stuff works and that uses directu buffers

<    6   7   8   9   10   11   12   13   14   >