Trying to merge java.lang.Float, java.lang.Double with Classpath -- help wanted

Nathanael Nerode neroden@twcny.rr.com
Mon Sep 22 04:33:00 GMT 2003


>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



More information about the Java-patches mailing list