Etienne Gagnon writes:
>
> IMO, the cleanest approach is really the use of a byte array.
Well, I tell you what: we could wrap the {byte[],long} in an opaque
type, call it a "native pointer", and be done with it.
- Everyone who can use a long as a pointer (and, in practice, this is
everyone) will do so.
- Anyone who needs to use a byte[] as a pointer will do so.
- We can still have some type safety and readability by making
subclasses of "native pointer".
Andrew.
_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath