This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Trying to merge java.lang.Float, java.lang.Double with Classpath -- help wanted
- From: neroden at twcny dot rr dot com (Nathanael Nerode)
- To: java-patches at gcc dot gnu dot org
- Date: Sun, 21 Sep 2003 20:27:05 -0400
- Subject: Re: Trying to merge java.lang.Float, java.lang.Double with Classpath -- help wanted
>They are only GCJ-specific because they use CNI. There is nothing that
>is specific to any given VM implementation, ie a JNI implementation in
>classpath should work anywhere.
They depend on the bit encoding of doubles and floats. This is not
specified on the Java Virtual Machine specification; accordingly, it is
specific to VM implementation. Admittedly, in practice they may usually
be represented in one consistent way, but they don't have to be.
>This is quite different from things
>like Thread and Object which may be very different in the way they are
>implemented internally by the VM.
--
Nathanael Nerode <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html