Re: [GCJ] Performance of GUI applications on embedded systems

2008-11-06 Thread Christian Thalinger
On Thu, 2008-11-06 at 16:40 +, Andrew Haley wrote: > What do you expect? You're setting up a Timer with a delay of > 0 milliseconds between events, and it's running continuously. That may be because of this (taken from GNU Classpath's vm/reference/java/lang/VMThread.java): // Note: JDK

Re: Problem in displaying swing components on ARM, using GNU Classpath and Cacao

2008-10-08 Thread Christian Thalinger
On Wed, 2008-10-08 at 08:05 +0100, Robert Lougher wrote: > To eliminate problems with swing, etc. you could try a different VM > (e.g. JamVM). If this works, it points to a problem with Cacao's JIT > as twisti suggests. Yes, that's one thing you should definitely try. - Christian

Re: Problem in displaying swing components on ARM, using GNU Classpath and Cacao

2008-10-07 Thread Christian Thalinger
On Wed, 2008-10-08 at 11:37 +0530, Pavan Kumar Maddali wrote: > Yes, with the same version of CACAO and GNU Classpath the program is > working fine on X86. > On ARM, AWT is working fine, but swings components are not visible and > the same problem is with java 2d. The problem is not with a specifi

Re: Problem in displaying swing components on ARM, using GNU Classpath and Cacao

2008-10-07 Thread Christian Thalinger
On Mon, 2008-10-06 at 11:33 +0530, Pavan Kumar Maddali wrote: >Thanks for the reply. In both cases swing widget on swing(JFrame) > or swing on awt - swing widjets like (labels, textfields, buttons,..) > are not visible, but window is visible. > I build the gnuclasspath using default options, so

Re: java.lang.TypeNotPresentException when using reflection

2008-08-15 Thread Christian Thalinger
On Wed, 2008-08-13 at 18:20 +0100, Tom Spencer wrote: > This code is compiled using the Eclipse Compiler and run on a PowerPC > implementation. Classpath was compiled using Sun's javac compiler, > version 1.6. Running the code, however, yields the following stack > trace: When I run this code with

Re: FW: Help a noob?

2008-08-14 Thread Christian Thalinger
On Wed, 2008-08-13 at 21:03 +0100, Robert Lougher wrote: > Hi, > > You could always try JamVM. It doesn't need javac to build, just a C > compiler. It also supports MIPS32 (o32). The problem is, it has > never been built or tested on IRIX. However, it's pretty portable, > and as long as IRIX h

RE: FW: Help a noob?

2008-08-13 Thread Christian Thalinger
On Wed, 2008-08-13 at 11:32 -0400, Greene, Geoffrey N wrote: > OK, I've got the glibj.zip (thanks!) > > Compiling now. (had to modifify configure, because it was STILL trying > to run javac.) > > I see your os is IRIX64 What about mips32? Any support for that? Yes, we also support MIPS32 (o3

RE: FW: Help a noob?

2008-08-13 Thread Christian Thalinger
On Wed, 2008-08-13 at 11:29 +0200, Mark Wielaard wrote: > On Tue, 2008-08-12 at 17:46 -0400, Greene, Geoffrey N wrote: > > Regrettably, > > OpenJDK 6: http://openjdk.dev.java.net/ does not appear to support > IRIX. I was thinking about just copying the solaris-specific files. > > I'm losing hop

Re: FW: Help a noob?

2008-08-13 Thread Christian Thalinger
On Tue, 2008-08-12 at 17:49 -0600, Tom Tromey wrote: > jni_md.h is built in a funny way. Basically we look for a pre-made > one in $srcdir/include that matches the current CPU/OS combination. > > So, to do a new port you would have to write this file. This is not > hard, ordinarily. You don't n

Re: META-INF/INDEX.LIST

2008-07-14 Thread Christian Thalinger
On Fri, 2008-07-11 at 16:18 -0500, [EMAIL PROTECTED] wrote: > What is this file and why is it accessed at startup? At the startup of > every Java program, it would appear that the paths: > "/META-INF/INDEX.LIST" and "" are have the stat file operation applied > to them. > > I am working on a resea

CACAO 0.99.2 released.

2008-07-08 Thread Christian Thalinger
CACAO 0.99.2 released. This is a bug-fix release. Here is a short list of the most important changes: * Rewrite of atomic instructions code. This fixes problems with AWT/Swing programs with OpenJDK. * Fixed PR83, PR89. CACAO uses GNU Classpath as default Java runtime library and support

Re: classpath build problems with libtool 2.2.4

2008-07-06 Thread Christian Thalinger
On Sun, 2008-07-06 at 17:06 +0200, Robert Schuster wrote: > Hi, > I am currently trying to build classpath (0.93) in an environment using > libtool 2.2.4. > > I basically disable all optional external dependencies and compile with > jikes: > > --with-jikes=jikes \ > --with-fastjar=fastjar \ >

Re: [cp-patches] Other class libraries

2008-07-01 Thread Christian Thalinger
1 Jul 2008 10:55:09 - @@ -1,3 +1,9 @@ +2008-07-01 Christian Thalinger <[EMAIL PROTECTED]> + + * java/lang/Integer.java (signum): Implemented properly as + described in Hacker's Delight Section 2-7, plus Andrew Haley's + explanation. + 2008-07-

Re: Crypto functions supported.

2008-07-01 Thread Christian Thalinger
On Fri, 2008-06-27 at 21:36 -0500, NACHO SAAVEDRA wrote: > Hello all! > > I'm a new member and navigating into the classpath page I realized the > info is complete. However for now it's a little difficult to know if > the issues I'm searching are completely support for the gnu. > > I'm searching

Re: Other class libraries

2008-07-01 Thread Christian Thalinger
-u -3 -p -r1.9667 ChangeLog --- ChangeLog 30 Jun 2008 01:12:46 - 1.9667 +++ ChangeLog 1 Jul 2008 08:11:42 - @@ -1,3 +1,8 @@ +2008-07-01 Christian Thalinger <[EMAIL PROTECTED]> + + * java/lang/Long.java (signum): Implemented properly as described + in Hacker&

Re: Other class libraries

2008-06-27 Thread Christian Thalinger
On Tue, 2008-06-24 at 18:45 +0200, Christian Thalinger wrote: > I guess this email came from the Long.signum() discussion we had today Ehh... will someone actually fix this bug? Otherwise I'll do it in the Hackers Delight/OpenJDK way. - twisti

Re: Other class libraries

2008-06-24 Thread Christian Thalinger
On Tue, 2008-06-24 at 15:20 +0100, Andrew John Hughes wrote: > Since OpenJDK has been released, I've noticed that a tendency has > arisen to not treat > that codebase with the same 'don't look if working on the same code' > approach we had > when it was proprietary. When working on GNU Classpath,

Re: Problem with TLS client authentication (bad_certificate)

2008-06-24 Thread Christian Thalinger
On Tue, 2008-06-24 at 10:16 +0200, Christian Thalinger wrote: > [Da du ja anscheinend aus Oesterreich bist, antworte ich dir mal > off-list auf Deutsch.] Damn! Sorry list. I wanted to reply in private. - twisti

Re: Problem with TLS client authentication (bad_certificate)

2008-06-24 Thread Christian Thalinger
[Da du ja anscheinend aus Oesterreich bist, antworte ich dir mal off-list auf Deutsch.] On Tue, 2008-06-17 at 09:56 +0200, Gerhard Fliess wrote: > Hi, > > I am working an a project that needs TLS with client authentication on > an embedded system (ARM-linux) with keys stored in pkcs12. I have >

CACAO 0.99.1 released.

2008-06-17 Thread Christian Thalinger
CACAO 0.99.1 released. This is a bug-fix release. Here is a short list of the most important changes: * Fixed compilation of OpenJDK code (libltdl related). * Imported new gnu/java/lang/CPStringBuilder.java to fix OOMEs. * Fixed abort with OpenJDK's java binary when exiting. CACAO uses GN

Re: [cacao] CACAO 0.99 released.

2008-06-16 Thread Christian Thalinger
On Sat, 2008-06-14 at 16:54 +0200, Christian Thalinger wrote: > CACAO 0.99 "Just one step left..." released. Stefan Ring just found out that OpenJDK builds are broken with this release. I'll prepare a 0.99.1 bugfix release. That happens when releasing just once a year... Crap. - twisti

CACAO 0.99 released.

2008-06-14 Thread Christian Thalinger
CACAO 0.99 "Just one step left..." released. This is a major feature enhancement and bug-fix release. Here is a short list of the most important changes: * Initial support to use OpenJDK as Java runtime library. * Fixed memory leak in Boehm-GC. * Boehm-GC updated to version 7.1. * Remove

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. - twist

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 benef

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

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 wis

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

Re: GJDoc 0.7.9 released

2008-04-22 Thread Christian Thalinger
On Mon, 2008-04-21 at 23:17 +0100, Andrew John Hughes wrote: > On 21/04/2008, Thomas Fitzsimmons <[EMAIL PROTECTED]> wrote: > > Andrew John Hughes wrote: > > > > > We are pleased to announce the release of GJDoc 0.7.9 > > > > > > > Nice, congratulations! Any chance GJDoc will be merged into the G

PR28804

2008-04-11 Thread Christian Thalinger
Hi! Could someone who knows the FreeType code look into this bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28804 This time I have found a very simple testcase to reproduce it. - twisti

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 so

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 oth

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

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

Re: JamVM 1.5.1 released

2008-03-12 Thread Christian Thalinger
On Wed, 2008-03-12 at 13:57 +, Robert Lougher wrote: > Hi, > > I'm pleased to announce the release of JamVM > 1.5.1(http://jamvm.sourceforge.net). This is a minor-feature and > bug-fix release. The full list of changes are here: > > http://sourceforge.net/project/shownotes.php?release_id=58

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: 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

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

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 m

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: 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, a

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! :-) - twist

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 ru

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 no

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 Ja

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.forN

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: 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 > +++ classpat

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 connect

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 rela

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/ > > > &g

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 > implement

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:

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

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

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]> > > > >

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/j

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: gnu.java.ni

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 c

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: 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. Runnin

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: > > > > >

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 /home/twisti/cacao/sun/openjdk/j

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: va

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. >

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 > &g

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

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 i

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 > $Sync.tryRelease(ReentrantLock.ja

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/open

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 /home/twisti/cacao/sun/openjdk/jdk/hot

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: Compilation Time | More questions ClassLoader

2007-05-24 Thread Christian Thalinger
On Thu, 2007-05-24 at 10:15 +0200, Martin Schlienger wrote: > Thanks to all for your contribution. We have now a version that works > and without further optimizations we can run jamvm with a local > classpath of ~ 800ko and still be able to use all the classes in GNU > Classpath by loading them fr

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: [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 writte

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, > >

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: 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 di

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.9&r2=1.10 > > If I remember the reason for removing i

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

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 ha

[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 07/04/05 12:41:34 Modified files: . : ChangeLog native/jni/java-lang: java_lang_VMDouble.c Log message: 2007-04-05 Christian Thalinger <[EMAIL PROTEC

[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 07/04/05 12:34:19 Modified files: . : ChangeLog native/jni/java-net: java_net_VMNetworkInterface.c Log message: 2007-04-05 Christian Thalinger <[EM

[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 07/04/05 12:20:50 Modified files: . : ChangeLog native/jni/java-nio: gnu_java_nio_charset_iconv_IconvDecoder.c

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

Re: dacapo jython regression

2007-04-02 Thread Christian Thalinger
On Mon, 2007-04-02 at 10:07 +0200, Mark Wielaard wrote: > Hi Christian, > > On Wed, 2007-03-28 at 20:36 +0200, Christian Thalinger wrote: > > Another regression (it works with 0.93): > > > > $ cacao -jar dacapo-2006-10-MR2.jar -s small jython > > This should ha

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*: p

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

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 s

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.(Unknown Source) at spec.jbb.Company.loadInitialOrders(Unknown Source) at spec.jbb.Company.primeWithDummyD

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 earl

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 op

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

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

2007-02-09 Thread Christian Thalinger
On Tue, 2007-02-06 at 14:20 +, Robert Lougher wrote: > Hi, > > Thanks Mark. This is now corrected, and a new file is on sourceforge. > The original change was tested on Mac OS X, and as HFS+ is case > insensitive it worked. Something I must remember for the next > release! > > The reason t

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.

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.(Ljava/lang/String;)V a

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 suppor

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 > > 4o

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 'empty-final

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.

  1   2   3   >