What is the \'correct\' way to store a native pointer inside a Java object?
I could treat the pointer as a Java int, if I happen to know that native poi
int
A better way might by to store it in a byte array, since native pointers aren't very Java-ish in the first place. ints and longs are better reserved for storing numeric values.
long