JVMDI

1999-10-21 Thread Derek L Davies
Hi, I am working on adding support for the Java Virtual Machine Debug Interface to Kaffe. If there are others working on this, please help me coordinate with them. Right now I've got JVMDI_EVENT_VM_INIT and JVMDI_EVENT_VM_DEATH events working and am in the midst of getting JVMDI_EVENT_SINGLE_

Re: JVMDI

1999-10-21 Thread Derek L Davies
Hi Peter, Thanks for the welcome note. I hope I can offer something really good to everyone, I am certainly going to give it my all. I worked on another VM for about four years while at Lotus Development. It ran a VB clone called LotusScript. It was an interesting project and hopefully some

Using Sun's stuff

1999-10-22 Thread Derek L Davies
Sometimes I feel I would like to compare Sun's Java implementation against Kaffe. Would doing so prohibit me from contributing to Kaffe's development in any way? I'd guess that I shouldn't be looking at their source code (ie don't sign the SCSL ;-) It must be o.k. to read their specs and imple

Re: Using Sun's stuff

1999-10-25 Thread Derek L Davies
Hi Tim, Thanks for the reply. O.k. I will avoid looking at any code from Sun unless it's a header file and I absolutly have to look at it. So far it seems like I won't have to look at Sun's jvmdi.h , but I can't be certain yet. I will probably download the binary stuff to play with and if it

Re: Is there an IDE for Java on Linux?

2000-01-07 Thread Derek L Davies
Maurizio DE CECCO <[EMAIL PROTECTED]> writes: > Also, don't forget just good old emacs (is there any other IDE ?): > Java mode with syntax based coloring and indentation, integration with > the compiler and with the debugger ... This option will be even better soon. Once kaffe has JPDA support

Need GetEnv Java 2 invokation function for JVMDI

2000-01-11 Thread Derek L Davies
I'd like to get some input on the following problem. To obtain a JVMDI interface pointer the JVMDI spec says a JVMDI client should invoke the Java 2 invokation interface function named "GetEnv". I've only now realized that Kaffe doesn't do Java 2. The JVMDI spec gives this example: JVMDI_Inte

Re: Need GetEnv Java 2 invokation function for JVMDI

2000-01-11 Thread Derek L Davies
Archie Cobbs <[EMAIL PROTECTED]> writes: [snip] > > When you say "Java 2" what exactly do you mean? Kaffe has much > of the Java2 platform already implemented, though much is also missing. > In general though, it attempts to be Java2 compatible. > I was unclear. I really mean I just need "GetE

Re: Need GetEnv Java 2 invokation function for JVMDI

2000-01-11 Thread Derek L Davies
Archie Cobbs <[EMAIL PROTECTED]> writes: > Send me the patches when/if you implement GetEnv() and I'll check > them in. Great! I will do that soon.

java/lang/Object

2000-01-13 Thread Derek L Davies
This is probably something really stupid but I'm flapping trying to figure it out. I've writen a unit test for the addition of GetEnv to the invokation interface. When I run it I get: 0.:/home/ddavies/src/kaffe-1.0.5/test/regression/native>./run.sh Couldn't find or load essential class `java/

Re: java/lang/Object

2000-01-14 Thread Derek L Davies
Derek L Davies <[EMAIL PROTECTED]> writes: > This is probably something really stupid but I'm flapping trying to > figure it out. AH HA! I was right! It *was* something really stupid ;-) Anyway, I just got my unit test to run successfully. Now I just need to hook up the un

Interfaces

2000-02-07 Thread Derek L Davies
I'm trying to figure out the right way to implement the interface for JVMDI, but I'm confused about the goals and benefits of interface pointers as given in the JNI spec and the examples given in the JVMDI spec and on other random web sites. The JVMDI spec has a "draft quality" feel compared wi

Re: Interfaces

2000-02-07 Thread Derek L Davies
Jason Baker <[EMAIL PROTECTED]> writes: > I thought the benfit was that JNIEnv becomes a second return value: > A jni call produces a new JNIEnv along with either the return value or > an error condition. But vmdi is different: there is exactly one > JVMDI_Interface_1, which you can save a poin

Interfaces

2000-02-07 Thread Derek L Davies
Godmar> Oh, never mind then. I guess if it's a singleton then Godmar> there's no need for a 'this' pointer. But JavaVM is a singleton as well and does have a 'this' pointer. I guess maybe it's not really necessary in JavaVM then either, but was included anyway?

Re: Interfaces

2000-02-07 Thread Derek L Davies
Patrick Tullmann <[EMAIL PROTECTED]> writes: > Its always easier to wrap a flexible interface an present it as a less > flexible one, so I suggest going with the 'this' pointer approach. If > it turns out that all the JVMDI code in the world is written to the > singleton, no-this-pointer appro

Re: Interfaces

2000-02-07 Thread Derek L Davies
Jason Baker <[EMAIL PROTECTED]> writes: > Patrick Tullmann <[EMAIL PROTECTED]> writes: > > Derek L Davies wrote: > > > But JavaVM is a singleton as well and does have a 'this' pointer. I > > > guess maybe it's not really necessar

JVMDI

2001-02-22 Thread Derek L Davies
Hi, Something like a year and half ago I was pretty actively trying to get JVMDI into Kaffe. Then I took a job with a startup. I haven't had a moment to work on JVMDI since (or to be with my family, etc...). I do have some work from this effort that I can contribute. I have a pretty much co