This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]