classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Classpath build process and VM-specific issues


From: Andrew Haley
Subject: Re: Classpath build process and VM-specific issues
Date: Mon, 5 Apr 2004 19:06:09 +0100

Etienne Gagnon writes:
 > Andrew Haley wrote:
 > > Well, not exactly: I'm suggesting that we wrap all those longs in an
 > > opaque type.  But otherwise, yes.
 > 
 > So, how do you do opaque types, in Java?  

You write the code using a class that wraps your native pointer: a
class with a single member.

 > And how do you guarantee portability to 128bit systems?

You tell people "if you have a pointer that won't fit in a jlong,
you'll need to change three lines of code".

Andrew.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]