Re: [cp-patches] regression in java/text/ChoiceFormat.java with CPStringBuilder

2008-06-09 Thread Christian Thalinger
On Fri, 2008-06-06 at 00:52 +0100, Andrew John Hughes wrote: Are you sure CACAO is using the most up-to-date version of Classpath given this works with JamVM? If buf is being altered, a new array will be created inside CPStringBuffer. If a new buffer is not being created, we should fix the

Re: [cp-patches] regression in java/text/ChoiceFormat.java with CPStringBuilder

2008-06-09 Thread Christian Thalinger
On Mon, 2008-06-09 at 12:18 +0200, Christian Thalinger wrote: On Fri, 2008-06-06 at 00:52 +0100, Andrew John Hughes wrote: Are you sure CACAO is using the most up-to-date version of Classpath given this works with JamVM? If buf is being altered, a new array will be created inside

Re: Savannah has Mercurial!

2008-06-08 Thread Christian Thalinger
On Fri, 2008-06-06 at 03:37 +0100, Andrew John Hughes wrote: I just noticed this announcement when submitting the news announcement for 0.97.2. What do people think to the idea of switching? Maybe post 0.98? I'd like to see a change of the VCS and Mercurial would be my favorite. - twisti

[cp-patches] regression in java/text/ChoiceFormat.java with CPStringBuilder

2008-06-05 Thread Christian Thalinger
Hi! I think I found a bug in GNU Classpath, in java/text/ChoiceFormat.java. The following Mauve test fails with CACAO (but works with JamVM?!?, maybe a VM interface issue): $ echo gnu/testlet/java/text/ChoiceFormat/parse | cacao RunnerProcess

Re: OpenJDK on Solaris Dev Express 1/2008?

2008-06-04 Thread Christian Thalinger
On Tue, 2008-06-03 at 15:51 -0700, Erik Trimble wrote: The Hotspot VM (which is (mostly) what is using the compiler), is set up to build with SunStudio 11. As Kelly notes, we're (well, actually, most He) is in the process of validating SS12 as a build compiler. GCC will NOT work under

Re: OpenJDK on Solaris Dev Express 1/2008?

2008-06-03 Thread Christian Thalinger
On Mon, 2008-06-02 at 08:43 -0700, Kelly O'Hair wrote: If SXDE contains Sun Studio 12 (SS12), you may have some problems with compiling hotspot. I've integrated some hotspot changes to deal with SS12 issues http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/a49545cab84a (hasn't been

Re: OpenJDK on Solaris Dev Express 1/2008?

2008-06-03 Thread Christian Thalinger
On Tue, 2008-06-03 at 08:28 -0700, Kelly O'Hair wrote: I'm not sure what the state of the Makefiles are for building with gcc on Solaris. It has been done in the past, from the artifacts I see in the Makefiles, however, it won't 'just build', it will take some changes. In general we focus on

[tools-compilers] Missing xmmintrin.h when compiling Boehm-GC with -m64

2008-06-01 Thread Christian Thalinger
OK, that sounds good. While you're at it, could you also fix this one? :-) In file included from mallocx.c:492: /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/install-tools/include/limits.h:11:23: syslimits.h: No such file or directory m I can't find syslimits.h anywhere in the whole system. -

Re: [cp-patches] [mauve] don't compile dependencies when using -compile no option

2008-05-26 Thread Christian Thalinger
On Mon, 2008-04-28 at 20:53 +0100, Andrew John Hughes wrote: On 28/04/2008, Christian Thalinger [EMAIL PROTECTED] wrote: Hi! This patch disables the compilation of dependencies when using the -compile no option. When the dependency class does not exist it prints a FAIL message like

Re: javah in 0.97+ - trouble

2008-05-14 Thread Christian Thalinger
On Wed, 2008-05-14 at 01:19 +0200, Robert Schuster wrote: I would like to suggest the following way to fix this issue: The build system should allow using the just built javah application being run with a provided java executable. This would be less pain for me and would probably also benefit

Re: Building the VM classes

2008-05-13 Thread Christian Thalinger
On Sun, 2008-05-11 at 00:08 +0100, Andrew John Hughes wrote: Hi all, I recently noticed that our VM classes had acquired code that uses the 1.5 language features. As I believe we agreed to keep these 1.4-clean with respect to the language features, I've removed these. I assume we wish to

Re: Building the VM classes

2008-05-13 Thread Christian Thalinger
On Tue, 2008-05-13 at 09:45 +0100, Andrew John Hughes wrote: That was my understanding. Apart from making the code messier, it doesn't do any harm, it's just difficult to maintain if we don't build it with the 1.4 options. OK, I think it's a good idea. - twisti

Bug#479529:

2008-05-06 Thread Christian Thalinger
Hi! OK, I didn't know these are assembler macros. That is good and even the MIPSpro assembler knows them. But I put the .set mipsX directives into #ifdef's as they are not known by MIPSpro. Here are the changesets: http://mips.complang.tuwien.ac.at/hg/cacao/rev/683df1b2eac0

Bug#479529:

2008-05-06 Thread Christian Thalinger
Hi! OK, I didn't know these are assembler macros. That is good and even the MIPSpro assembler knows them. But I put the .set mipsX directives into #ifdef's as they are not known by MIPSpro. Here are the changesets: http://mips.complang.tuwien.ac.at/hg/cacao/rev/683df1b2eac0

Bug#479529:

2008-05-06 Thread Christian Thalinger
Hi! OK, I didn't know these are assembler macros. That is good and even the MIPSpro assembler knows them. But I put the .set mipsX directives into #ifdef's as they are not known by MIPSpro. Here are the changesets: http://mips.complang.tuwien.ac.at/hg/cacao/rev/683df1b2eac0

Re: How to build Classpath without Classpath

2008-04-30 Thread Christian Thalinger
On Tue, 2008-04-29 at 16:50 -0500, Gustavo Guillermo Perez wrote: Hello list, I don't know if is this the proper list to ask, I've working on embedded systems with java, so this year I decide to upgrade my base system, and as always build it from scratch. As JVM, I use kaffe, cause was

[cp-patches] [mauve] don't compile dependencies when using -compile no option

2008-04-28 Thread Christian Thalinger
Hi! This patch disables the compilation of dependencies when using the -compile no option. When the dependency class does not exist it prints a FAIL message like: FAIL: java.lang.Character.unicode One of the dependencies is not compiled. We need this patch when we cross-compile Mauve for

Bug#446068:

2008-04-27 Thread Christian Thalinger
Aurelien, I think you should take this job. I guess otherwise it won't happen and I really would need the 7.0 version, then I could remove the included Boehm-GC from CACAO. - twisti -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL

Bug#477317:

2008-04-22 Thread Christian Thalinger
Opened a bug in the CACAO bugzilla: http://server.complang.tuwien.ac.at/cgi-bin/bugzilla/show_bug.cgi?id=64 - twisti ___ pkg-java-maintainers mailing list pkg-java-maintainers@lists.alioth.debian.org

Bug#477317:

2008-04-22 Thread Christian Thalinger
Opened a bug in the CACAO bugzilla: http://server.complang.tuwien.ac.at/cgi-bin/bugzilla/show_bug.cgi?id=64 - twisti -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: [cp-patches] RFC: NetworkInterface - implement some 1.6 methods

2008-04-21 Thread Christian Thalinger
On Mon, 2008-04-21 at 09:03 +0200, Robert Schuster wrote: + public boolean isUp() +throws SocketException + { +return VMNetworkInterface.isUp(netif.name); + } + public boolean isPointToPoint() +throws SocketException + { +return VMNetworkInterface.isUp(netif.name);

Re: [cp-patches] FYI: Fix bug in static Byte constructor

2008-04-21 Thread Christian Thalinger
On Mon, 2008-04-21 at 11:43 +0100, Andrew Haley wrote: Why use a short and not an int? for (int i=MIN_VALUE; i = MAX_VALUE; i++) would be more idiomatic and faster on many targets. Same as I suggested. This would also apply to: --- java/lang/Character.java19 Dec 2006 01:14:23

Re: [cp-patches] RFC: NetworkInterface - implement some 1.6 methods

2008-04-21 Thread Christian Thalinger
On Mon, 2008-04-21 at 09:03 +0200, Robert Schuster wrote: Hi, people using Jalimo asked for those methods and I found them simple to implement. Since I am lousy non-Java hacker I appreciate comments on the code in java_net_VMNetworkInterface.c. I wonder if it would be simpler to only have

Re: [cp-patches] FYI: Fix bug in static Byte constructor

2008-04-21 Thread Christian Thalinger
On Mon, 2008-04-21 at 14:34 +, Andrew John Hughes wrote: Indeed you did suggest it, but didn't give me a good reason to do it... ;) True :-) Anyway, here's the patch to change to an int. I haven't changed the other two, because it also means introducing a cast in the loop body. If

Re: [cp-patches] Fix for Class.getSimpleName()

2008-04-17 Thread Christian Thalinger
On Thu, 2008-04-17 at 00:50 +0100, Andrew John Hughes wrote: twisti, we should also maybe port the CACAO test if it's not VM specific? No, the testcase is not VM specific. IIRC I also encouraged the student to write the testcase for Mauve, but that does not work all the time :-) - twisti

Re: [cp-patches] Fix for Class.getSimpleName()

2008-04-16 Thread Christian Thalinger
On Tue, 2008-04-15 at 23:28 +0200, Sebastian Mancke wrote: Hi, attached is a fix for the method Class.getSimpleName(), together with a small testcase. The old implementation failed on usual class names, as well as on inner classes. Please comment/commit. This reminds me of this patch:

Re: [cp-patches] Fix for Class.getSimpleName()

2008-04-16 Thread Christian Thalinger
On Wed, 2008-04-16 at 10:58 +0200, Sebastian Mancke wrote: I saw this patch and think it broke the behaviour, because of the wrong usage of fullName.lastIndexOf(., pos): The pos argument, counted from left makes no sense in this method. Also, I think, that advancing 'pos', dependent on

Bug#475067: libpango1.0-0-dbg: Debugging symbols are not used in GDB

2008-04-08 Thread Christian Thalinger
Package: libpango1.0-0-dbg Version: 1.20.0-1 Severity: important The debugging symbols of this package are not picked up by GDB. Other packages like libgtk2.0-0-dbg work. Here is a backtrace: Breakpoint 2, 0x2cd20930 in pango_font_description_get_size () from

Re: Building classpath with ecj

2008-04-07 Thread Christian Thalinger
On Mon, 2008-04-07 at 10:50 +0100, Andrew John Hughes wrote: That's ok if you just want to drop them. Supporting them is a little trickier, and involves chopping the -J and moving the rest of the option prior to the classname. That's right. But dropping them worked for me. - twisti

Re: Building classpath with ecj

2008-04-07 Thread Christian Thalinger
On Sun, 2008-04-06 at 15:47 -0700, mvfranz wrote: I would like to fix this in the ecj script for OS X, however I spent the afternoon trying to script something together that would strip -J parameters and pass them to the JVM that runs ecj. I get this to work for some parameters but not

FYI: adapted to GNU Classpath VM interface changes

2008-04-07 Thread Christian Thalinger
Hi! I just pushed the changeset that adapts CACAO to the latest GNU Classpath VM interface changes (VMConstructor, VMField, VMMethod). Here it is: http://mips.complang.tuwien.ac.at/hg/cacao/rev/1dba59001474 To be backward compatible until a new GNU Classpath version is released, I have added

Bug#448366:

2008-03-25 Thread Christian Thalinger
This bug is fixed with current Mercurial tip and will be in the next release. - twisti ___ pkg-java-maintainers mailing list pkg-java-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Bug#448366:

2008-03-25 Thread Christian Thalinger
This bug is fixed with current Mercurial tip and will be in the next release. - twisti -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Bug#448366:

2008-03-21 Thread Christian Thalinger
I entered this bug into the CACAO bugzilla: http://server.complang.tuwien.ac.at/cgi-bin/bugzilla/show_bug.cgi?id=53 - twisti -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: Jamvm and gnuclasspath

2008-03-19 Thread Christian Thalinger
On Wed, 2008-03-19 at 10:36 +0530, shankar grep wrote: Hi, I have compiled jamvm 1.5 and gnu classpath 0.96. When i try to run a simple hello world program i get the following error... $ ./bin/jamvm -cp lib/rt.jar:/usr/local/classpath/share/classpath/tool.zip Hello You have to put

Re: Inconvertible types error in EnumSet.java

2008-03-17 Thread Christian Thalinger
On Sun, 2008-03-16 at 17:50 -0700, Trevor Harmon wrote: On Mar 16, 2008, at 5:33 PM, Andrew John Hughes wrote: Version 1.5 of Sun's javac is broken. Please use an alternate compiler, such as ecj, or a newer version of javac, such as OpenJDK javac or the version that comes with JDK 1.6.

Re: [cp-patches] FYI: VM Interface Reflection Changes - Switch Data Storage

2008-03-16 Thread Christian Thalinger
On Sun, 2008-03-16 at 20:03 +, Andrew John Hughes wrote: Done. ChangeLog: 2008-03-16 Andrew John Hughes [EMAIL PROTECTED] * vm/reference/java/lang/reflect/VMField.java: Consistently use 'clazz' as the name of the variable containing the declaring class.

Re: [cp-patches] FYI: VM Interface Reflection Changes - Switch Data Storage

2008-03-15 Thread Christian Thalinger
On Mon, 2008-03-03 at 21:21 +, Andrew John Hughes wrote: Sorry for the late response. Could we use a consistent class variable name? final class VMConstructor { + Class clazz; + int slot; final class VMField { + Class declaringClass; + String name; + int slot; final

regression: apache-tomcat-5.5.26 throws NPE with 0.97

2008-03-06 Thread Christian Thalinger
Hi! I just noticed that we have a regression with Tomcat-5.5.26 running on GNU Classpath 0.97, while it works on 0.96.1. The bug report is here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35482 To test with CVS I have to port CACAO first to the new VM interface changes. - twisti

Re: [cp-patches] RFC: Separate reflection classes into a VM interface

2008-03-03 Thread Christian Thalinger
On Sun, 2008-03-02 at 02:08 +, Andrew John Hughes wrote: This patch separates out common methods from the reflection VM interfaces (Field, Constructor, Method) so that they are provided in Classpath itself, and only native methods now appear in new VMField, VMMethod and VMConstructor

[kaffe] Re: Classpath's doubleToLongBits

2008-02-18 Thread Christian Thalinger
On Mon, 2008-02-18 at 04:03 +0100, Dalibor Topic wrote: This one turned out to be a lot more fun to track down. It's pretty easy to rewrite the test whether to swap words in a jdouble: put -0.0 into a jvalue's jdouble element, and if the correspoding jlong bitstream is 0, you have to

[kaffe] Re: Classpath's doubleToLongBits

2008-02-18 Thread Christian Thalinger
On Mon, 2008-02-18 at 12:44 +0100, Dalibor Topic wrote: That sounds like it was a lot of work. Did you change anything new in GNU Classpath or should I test the current CVS version I wrote a patch using the -0.0d 0L hack described above to detect whether we should switch words in a

Re: Classpath's doubleToLongBits

2008-02-18 Thread Christian Thalinger
On Mon, 2008-02-18 at 04:03 +0100, Dalibor Topic wrote: This one turned out to be a lot more fun to track down. It's pretty easy to rewrite the test whether to swap words in a jdouble: put -0.0 into a jvalue's jdouble element, and if the correspoding jlong bitstream is 0, you have to

Re: Classpath's doubleToLongBits

2008-02-18 Thread Christian Thalinger
On Mon, 2008-02-18 at 12:44 +0100, Dalibor Topic wrote: That sounds like it was a lot of work. Did you change anything new in GNU Classpath or should I test the current CVS version I wrote a patch using the -0.0d 0L hack described above to detect whether we should switch words in a

[kaffe] Re: Classpath's doubleToLongBits

2008-02-11 Thread Christian Thalinger
On Fri, 2008-02-08 at 12:25 +0100, Dalibor Topic wrote: Yeah, that's why I'd like to go step by step, and first slash the VM interface methods I can slash, and then implement it with ieee754.h as an option, (adding a #define BIG_ENDIAN __BIG_ENDIAN for the broken glibc versions). I'll make

Re: Classpath's doubleToLongBits (was: Re: [kaffe] cross-compile error)

2008-02-11 Thread Christian Thalinger
On Fri, 2008-02-08 at 00:26 +0100, Dalibor Topic wrote: I've looked a bit closer at the 3 ARM OABI errors, in particular at the errors in test/regression/DoubleConst.java . That test fails because we get the bitstreams of the doubles being tested when we call Double.doubleToLongbits with

Re: [cp-patches] RFC: Double.doubleToLongBits simplified

2008-02-08 Thread Christian Thalinger
On Fri, 2008-02-08 at 12:23 +0100, Dalibor Topic wrote: Yeah, I'll do the latter, as there is no point in having this method in the VM interface if we can do it (and the methods its implementation invokes) in Java. Same for Float and the int conversion method. I completely agree. - twisti

Re: Classpath's doubleToLongBits (was: Re: [kaffe] cross-compile error)

2008-02-08 Thread Christian Thalinger
On Fri, 2008-02-08 at 00:26 +0100, Dalibor Topic wrote: I've looked a bit closer at the 3 ARM OABI errors, in particular at the errors in test/regression/DoubleConst.java . That test fails because we get the bitstreams of the doubles being tested when we call Double.doubleToLongbits with

Re: Classpath's doubleToLongBits

2008-02-08 Thread Christian Thalinger
On Fri, 2008-02-08 at 12:25 +0100, Dalibor Topic wrote: Yeah, that's why I'd like to go step by step, and first slash the VM interface methods I can slash, and then implement it with ieee754.h as an option, (adding a #define BIG_ENDIAN __BIG_ENDIAN for the broken glibc versions). I'll make

RE: RFC: architecture define probably masks variable names in header files

2008-01-23 Thread Christian Thalinger
On Wed, 2008-01-23 at 11:14 -0800, Ted Neward wrote: This may be an area where you have to implement the fix and submit it as a patch, because I can see the developers at Sun not having the bandwidth to take time away from the other things they're working on to take care of this

Re: RFC: architecture define probably masks variable names in header files

2008-01-23 Thread Christian Thalinger
On Wed, 2008-01-23 at 11:04 -0800, Kelly O'Hair wrote: I very much suspect that this -D$(ARCH) could be removed with no consequences. The difficult part would be verifying it. C macros are a very powerful tool, but some of the global names we have chosen over the years have come back to

Re: RFC: architecture define probably masks variable names in header files

2008-01-21 Thread Christian Thalinger
On Wed, 2008-01-16 at 23:04 +0100, Christian Thalinger wrote: Hi! Today I noticed that it's not a good idea to use an architecture define as done in OpenJDK: CPPFLAGS_COMMON = -D$(ARCH) -DARCH='$(ARCH)' -DLINUX $(VERSION_DEFINES) \ -D_LARGEFILE64_SOURCE -D_GNU_SOURCE

Re: [cp-patches] RFC: fix warning in cpio_df

2007-11-08 Thread Christian Thalinger
On Thu, 2007-11-08 at 16:44 +0100, Robert Schuster wrote: Now if HAVE_STATVFS is not defined the compiler is correct mourning that 'path' and 'type' are not used. I have seen code (in classpath) where this issue is solved this way: JNIEXPORT long long cpio_df (const char *path,

Re: JamVM 1.5.0 The First In Line released

2007-10-31 Thread Christian Thalinger
On Tue, 2007-10-30 at 11:53 +, Robert Lougher wrote: Yes, it took a while! How's the new GC coming along? ;-) The speedups really sound nice. Anton and me should do some benchmarks again. P.S. Next step getting JamVM to run with OpenJDK. Hmmm. I wonder who's been working on that, and

Re: JamVM 1.5.0 The First In Line released

2007-10-30 Thread Christian Thalinger
On Mon, 2007-10-29 at 20:38 +, Robert Lougher wrote: Hi, I'm pleased to announce the release of JamVM 1.5.0 The First In Line (http://jamvm.sourceforge.net). This release includes the new inline-threaded interpreter (a.k.a super-instructions) and a full port Finally! :-) - twisti

Re: Classpath hacking in Eclipse

2007-10-22 Thread Christian Thalinger
On Mon, 2007-10-22 at 11:54 +1000, Cameron McCormack wrote: Hi all. I want to use Eclipse debug my application running on Classpath. I tried to follow the instructions at http://developer.classpath.org/mediation/ClasspathHackingWithEclipse to set up my environment, but I’ve run into

Re: [cp-patches] FYI: Allow ecj to work via com.sun.tools.javac.Main

2007-10-17 Thread Christian Thalinger
On Wed, 2007-10-17 at 16:51 +0100, Andrew Haley wrote: I get that from the construction of the File object above which appends lib to the value of java.home and not jre/lib. I don't understand. java.home is suppoed to point to a valid jre. That's true. But a normal CACAO or JamVM

Re: [cp-patches] FYI: Allow ecj to work via com.sun.tools.javac.Main

2007-10-17 Thread Christian Thalinger
On Wed, 2007-10-17 at 17:12 +0100, Andrew Haley wrote: That's true. But a normal CACAO or JamVM installation does not have a jre/ directory, as we follow the GNU rules. Sure, but real-world Java applications assume a particular layout. Maybe they shouldn't, but they do. It's not just

Re: Building OpenJDK on Fedora Core 6

2007-10-12 Thread Christian Thalinger
On Fri, 2007-10-12 at 10:39 -0200, Roger Abelenda wrote: hi again everyone. I tryied with the jdk6 for the bootstrap, and no luck. I'll try downloading other version of the openjdk. I'm loosing my hopes and ideas with this one :-(. je. Shouldn't you try the b21 drop? Or did I miss

Re: Problems bulding classpath 0.93 on ARM5

2007-10-08 Thread Christian Thalinger
On Mon, 2007-10-08 at 01:42 -0700, Larry Suto wrote: Hi I am trying to get classpath .93 compiled for a Marvell ARM5 processor.I can compile in the scratchbox crosscompile environment without any problems...but if copy the classpath files over to the native environmentI get this error

Re: Problems bulding classpath 0.93 on ARM5

2007-10-08 Thread Christian Thalinger
On Mon, 2007-10-08 at 02:07 -0700, Larry Suto wrote: Hi Thanks, This is what I get: sh-2.05b# ./jamvm -verbose:jni Test.class [Dynamic-linking native method gnu.classpath.VMStackWalker.getCallingClassLoader ... internal] [Dynamic-linking native method java.lang.VMClass.forName ...

Re: fdlibm patch

2007-09-27 Thread Christian Thalinger
On Thu, 2007-09-27 at 19:26 +0200, Robert Schuster wrote: Hi, the OE guys still keep this little patch. Does anyone know if it is correct and should be applied? Hmm, maybe Michael knows... --- classpath/native/fdlibm/ieeefp.h.orig 2006-04-14 22:33:09.0 -0400 +++

Re: Remote disconnect

2007-09-22 Thread Christian Thalinger
On Thu, 2007-09-20 at 12:33 +0200, Amnon David wrote: Hello, I have a Java TCP server that uses java.nio and which is compiled with gcc 4.1.2 (-f check references). I've noticed that if I run the server on the standard Sun JVM, then when a remote client that has previously connected to

RE: [cp-patches] Setting default assertion status

2007-09-18 Thread Christian Thalinger
On Tue, 2007-09-18 at 06:47 +0200, Jeroen Frijters wrote: I believe you are correct that Classpath doesn't currently support the system assertions boolean. I believe you are also correct in assuming that noone cares ;-) Does the Classpath code even have any assertions? If it doesn't, then

Re: Classpath / Icedtea Qtopia

2007-09-18 Thread Christian Thalinger
On Tue, 2007-09-18 at 08:46 +0200, kus Kusche Klaus wrote: Has anybody ever been able to run classpath on top of Qtopia? I tried some time ago to get GNU Classpath compiled for the Greenphone Challenge, but without luck. I can't remember what the exact problem was, but definitely something

Re: [cp-patches] Additional buffering in OutputStreamWriter

2007-09-17 Thread Christian Thalinger
On Mon, 2007-09-17 at 12:17 +1000, Robin Garner wrote: [ping] Robin Garner wrote: GCC Bugzilla Bug 32541 On JikesRVM (and possibly other VMs), dacapo xalan performs lots of small IO using the default character encoding. OutputStreamWriter currently buffers characters when

Re: [cp-patches] Setting default assertion status

2007-09-17 Thread Christian Thalinger
On Tue, 2007-09-04 at 10:25 +0200, Christian Thalinger wrote: On Tue, 2007-08-21 at 15:27 +0200, Gregor Kaufmann wrote: Small patch to allow setting a different default assertion status for user and system classes (required to replicate the behavior of the sun vms). Hi! OK

Re: [cacao] FYI: CACAO migrated from SVN to Mercurial

2007-09-05 Thread Christian Thalinger
On Wed, 2007-09-05 at 21:09 +0200, Mark Wielaard wrote: Hi Christian, On Fri, 2007-08-31 at 18:43 +0200, Christian Thalinger wrote: OK, I have set up hgwebdir on the institute's webserver: http://mips.complang.tuwien.ac.at/hg/ To get a Mercurial clone use: hg clone http

Re: [cp-patches] Setting default assertion status

2007-09-04 Thread Christian Thalinger
On Tue, 2007-08-21 at 15:27 +0200, Gregor Kaufmann wrote: Small patch to allow setting a different default assertion status for user and system classes (required to replicate the behavior of the sun vms). Hi! OK, this email was a bit short without much explanation. We're currently

Re: JMX VM Interface

2007-09-02 Thread Christian Thalinger
On Tue, 2007-08-14 at 21:24 +0100, Andrew John Hughes wrote: Does anyone have any objections to removing these methods from the VM interface and implementing them directly in the Classpath implementation? Or alternatively, should I just provide this implementation as a default

Re: [cacao] FYI: CACAO migrated from SVN to Mercurial

2007-08-31 Thread Christian Thalinger
On Mon, 2007-08-27 at 11:03 +0200, Christian Thalinger wrote: I haven't set up an anonymous access yet, but I try to do this ASAP. In Hi! OK, I have set up hgwebdir on the institute's webserver: http://mips.complang.tuwien.ac.at/hg/ To get a Mercurial clone use: hg clone http

[cp-patches] Re: RFC: adding JNI_VERSION_1_6

2007-08-30 Thread Christian Thalinger
Sorry, wrong list. On Thu, 2007-08-30 at 13:25 +0200, Christian Thalinger wrote: On Thu, 2007-08-30 at 11:20 +0200, Mark Wielaard wrote: Hi Christian, On Thu, 2007-08-30 at 11:04 +0200, Christian Thalinger wrote: Would that be OK to commit? 2007-08-30 Christian Thalinger

RFC: adding JNI_VERSION_1_6

2007-08-30 Thread Christian Thalinger
Hi! Would that be OK to commit? 2007-08-30 Christian Thalinger [EMAIL PROTECTED] * include/jni.h (JNI_VERSION_1_6): Added. - twisti --- Index: include/jni.h === RCS file: /cvsroot/classpath/classpath/include/jni.h,v

Re: RFC: adding JNI_VERSION_1_6

2007-08-30 Thread Christian Thalinger
On Thu, 2007-08-30 at 11:20 +0200, Mark Wielaard wrote: Hi Christian, On Thu, 2007-08-30 at 11:04 +0200, Christian Thalinger wrote: Would that be OK to commit? 2007-08-30 Christian Thalinger [EMAIL PROTECTED] * include/jni.h (JNI_VERSION_1_6): Added. Sure. As talked

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

2007-08-30 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti07/08/30 11:25:23 Modified files: . : ChangeLog include: jni.h Log message: 2007-08-30 Christian Thalinger [EMAIL PROTECTED

Re: SIGSEGV exception

2007-08-28 Thread Christian Thalinger
On Mon, 2007-08-27 at 11:06 +0300, David Sayada wrote: Hi, I am facing a SIGSEGV exception coming from my application running on a PXA270 under linux and compiled with gcj 4.1.2 (arm). The exception seems to come from net/io/channel package: java.lang.ClassCastException:

FYI: CACAO migrated from SVN to Mercurial

2007-08-27 Thread Christian Thalinger
Hi! After 3-4 days of heavy testing of GIT and Mercurial, I decided to switch to Mercurial (http://www.selenic.com/mercurial/). This decision is based on the following facts: * Merging of branches. The GIT-way is to commit often. While I think we should keep it like we did in the past: every

Re: Name Service Crashes on ARM-Linux

2007-08-19 Thread Christian Thalinger
On Sat, 2007-08-18 at 11:55 -0600, [EMAIL PROTECTED] wrote: Some ideas for the original poster. (1) execute jamvm with -verbose option (might be able to see what jamvm is trying to do when error occurs) (2) recompile jamvm with debug options in jamvm.mk, in particular there is an option

Re: [cp-patches] RFC: gjavah patch

2007-07-31 Thread Christian Thalinger
On Fri, 2007-06-29 at 13:53 +0200, Christian Thalinger wrote: Hi! I was sick of renaming java_lang_ClassLoader$NativeLibrary.h all the time when building openjdk, so I wrote this small patch. I think it's correct, but I'm not an expert. I also renamed filename to file, as I think it's

Re: [cp-patches] RFC: gjavah patch

2007-07-31 Thread Christian Thalinger
On Tue, 2007-07-31 at 17:32 +0200, Dalibor Topic wrote: OK to commit. Commited as: 2007-07-31 Christian Thalinger [EMAIL PROTECTED] * tools/gnu/classpath/tools/javah/Main.java (writeHeaders): Renamed filename to file. * tools/gnu/classpath/tools/javah

[commit-cp] classpath ChangeLog tools/gnu/classpath/tools/j...

2007-07-31 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti07/07/31 16:15:53 Modified files: . : ChangeLog tools/gnu/classpath/tools/javah: CniIncludePrinter.java

Re: [cp-patches] RFC: @filelist support for jar

2007-07-25 Thread Christian Thalinger
On Tue, 2007-07-24 at 07:26 -0700, Tom Tromey wrote: Twisti == Christian Thalinger [EMAIL PROTECTED] writes: Twisti @files can include any arguments that are valid, not only Twisti files. Maybe you know how to get Java getopt to support that. Ah. I am not sure there is a way from

[cp-patches] RFC: @filelist support for jar

2007-07-24 Thread Christian Thalinger
Hi! While building OpenJDK b16 I noticed that jar does not support @ arguments. OpenJDK e.g. uses it to import the binary plug files. This patch adds support for @filelist, where the file filelist may only contain files and not options, as the spec says. Should I commit that (incomplete)

Re: [cp-patches] RFC: @filelist support for jar

2007-07-24 Thread Christian Thalinger
On Tue, 2007-07-24 at 06:43 -0700, Tom Tromey wrote: Twisti == Christian Thalinger [EMAIL PROTECTED] writes: Twisti This patch adds support for @filelist, where the file filelist Twisti may only contain files and not options, as the spec says. Twisti Should I commit that (incomplete

Re: [cp-patches] RFC: change signature of sun.misc.Unsafe.unpark

2007-07-23 Thread Christian Thalinger
On Wed, 2007-07-04 at 15:41 +0200, Mark Wielaard wrote: Hi Christian, On Tue, 2007-07-03 at 21:51 +0200, Christian Thalinger wrote: I'd like to commit the following patch which does not change anything for GNU Classpath, but it may break some VMs, as it changes the VM interface

[cp-patches] RFC: support for iso8859-1

2007-07-23 Thread Christian Thalinger
Hi! While trying to build OpenJDK b16 yesterday I noticed that one Makefile uses iso8859-1 as encoding for javac. But GNU Classpath does not include that name as alias. This patch adds this one alias. 2007-07-23 Christian Thalinger [EMAIL PROTECTED] * gnu/java/nio/charset/ISO_8859_1

Re: [cp-patches] RFC: support for iso8859-1

2007-07-23 Thread Christian Thalinger
On Mon, 2007-07-23 at 23:34 +0200, Mark Wielaard wrote: Hi Christian, On Mon, 2007-07-23 at 19:31 +0200, Christian Thalinger wrote: While trying to build OpenJDK b16 yesterday I noticed that one Makefile uses iso8859-1 as encoding for javac. But GNU Classpath does not include that name

[commit-cp] classpath ChangeLog vm/reference/sun/misc/Unsaf...

2007-07-23 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti07/07/23 17:15:43 Modified files: . : ChangeLog vm/reference/sun/misc: Unsafe.java Log message: 2007-07-23 Christian Thalinger [EMAIL PROTECTED

[commit-cp] classpath ChangeLog gnu/java/nio/charset/ISO_88...

2007-07-23 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Christian Thalinger twisti07/07/23 21:53:59 Modified files: . : ChangeLog gnu/java/nio/charset: ISO_8859_1.java Log message: 2007-07-23 Christian Thalinger [EMAIL PROTECTED

Re: [cp-patches] Small transformer bug fix

2007-07-09 Thread Christian Thalinger
On Sun, 2007-07-01 at 17:53 +0100, Chris Burdess wrote: Christian Thalinger wrote: This patch, committed, fixes a bug in the XSL transformer where you have a with-param node with empty content. 2007-07-01 Chris Burdess [EMAIL PROTECTED] * gnu/xml/transform

[cp-patches] RFC: change signature of sun.misc.Unsafe.unpark

2007-07-03 Thread Christian Thalinger
Hi! Today I noticed that openjdk's current sun.misc.Unsafe implementation declares unpark with an Object parameter, instead of Thread. This makes some problems within cacao, as I switched to the Unsafe of openjdk (for the openjdk library integration). I'd like to commit the following patch

Re: [cp-patches] Small transformer bug fix

2007-07-01 Thread Christian Thalinger
On Sun, 2007-07-01 at 12:13 +0100, Chris Burdess wrote: This patch, committed, fixes a bug in the XSL transformer where you have a with-param node with empty content. 2007-07-01 Chris Burdess [EMAIL PROTECTED] * gnu/xml/transform/WithParam.java: Handle case where content is

Re: Float/Double compare

2007-07-01 Thread Christian Thalinger
On Sat, 2007-06-30 at 16:57 -0400, Ian Rogers wrote: In terms of performance I just tried sorting an array of floats with the new code (floatAsIntBits should have been floatToIntBits, sorry). The test was to initialize an array of floats backwards and then sort it to be ascending. Running a

NPE in gnu.java.awt.java2d.AbstractGraphics2D.renderScanline

2007-06-30 Thread Christian Thalinger
Hi! Another NPE when building openjdk with GNU Classpath: $ cat /home/twisti/cacao/sun/openjdk/jdk/j2se/src/solaris/classes/sun/awt/X11/java-icon16.png | /home/twisti/tmp/cacao/bin/java -client -Xmx896m -Xms128m -XX:PermSize=32m -XX:MaxPermSize=160m -classpath

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

2007-06-30 Thread Christian Thalinger
On Mon, 2007-06-25 at 00:09 +0200, Christian Thalinger wrote: 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

[cp-patches] RFC: gjavah patch

2007-06-29 Thread Christian Thalinger
Hi! I was sick of renaming java_lang_ClassLoader$NativeLibrary.h all the time when building openjdk, so I wrote this small patch. I think it's correct, but I'm not an expert. I also renamed filename to file, as I think it's more appropriate. I could remove that renaming if not wanted. Is this

Re: J2SE compliant RE for Arm Linux

2007-06-29 Thread Christian Thalinger
On Fri, 2007-06-29 at 00:09 +0200, Søren Boll Overgaard wrote: Hi, On Thu, 2007-06-28 at 14:00 +0200, Christian Thalinger wrote: I've implemented putObject and park (only an empty stub, like jamvm). If more is missing, let me know. At the risk of sounding silly: Does that mean

Re: J2SE compliant RE for Arm Linux

2007-06-29 Thread Christian Thalinger
On Fri, 2007-06-29 at 14:21 +0200, Søren Boll Overgaard wrote: Please note the --disable-jni option in the call to configure. Compilation fails without it, reporting the following: That is the problem. You can't disable JNI when using GNU Classpath, as it uses JNI. jni.c:6072: error:

Re: J2SE compliant RE for Arm Linux

2007-06-28 Thread Christian Thalinger
On Thu, 2007-06-28 at 13:23 +0200, Søren Boll Overgaard wrote: Hi Christian, On Wed, 2007-06-27 at 15:31 +0200, Christian Thalinger wrote: On Wed, 2007-06-27 at 12:47 +0200, Christian Thalinger wrote: java.lang.UnsatisfiedLinkError: putObject I'll implement the missing

Re: J2SE compliant RE for Arm Linux

2007-06-27 Thread Christian Thalinger
On Wed, 2007-06-27 at 10:16 +0200, Søren Boll Overgaard wrote: [EMAIL PROTECTED]:~/classes$ /usr/local/cacao/bin/cacao LinkedBlockingQueueTest Exception in thread main java.lang.IllegalMonitorStateException at java.util.concurrent.locks.ReentrantLock

<    5   6   7   8   9   10   11   12   13   14   >