Re: Next questions

Michael Koch <[email protected]> Mon, 17 Oct 2005 19:32:39 +0200
Newsgroups gmane.comp.java.vm.sablevm.devel
Message-ID <[email protected]>
On Mon, Oct 17, 2005 at 06:26:44PM +0200, Martin Fuchs wrote:
> Hi Etienne
> 
> A new question:
> 1) Is there a big/little-endian test in the sablevm configure script, 
> which will set a definition?
> Because sending jdouble, jfloat over JDWP needs little->big-endian 
> conversation on a little-endian
> machine. But on a powerpc, no conversation is needed. So we have to look 
> on that
> in ./src/libjdwp/bytes_conversation.m4.c
> 
> >>2) I try to implement the JDWP command 1/5 (VirtualMachine Command Set /
> >>TopLevelThreadGroups).
> >>Because InelliJ IDEA ask for it. I'll implement it in the same style as
> >>CMD_THREAD_GROUP_REFERENCE.
> >>Sending only two group id's 1 for system and 2 for user. So I didn't
> >>need GetTopThreadGroups in JVMDI.
> >>Is that ok like that?

Just to inform you. Someone from RedHat implemented big parts of JDWP
already in GNU classpath and libgcj/gcj. Perhaps you should have a loog
at and use some parts of it as it will get into SableVM anyway when
someone finds the time to merge a newer GNU classpath. There is no need
to implement everything twice or more in the classpath community.


Cheers,
Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/