dcsimg

Can I achieve the power of C's pointers in Java using JNI?

Doug Bell

You certainly can! Memory can be arbitrarily overwritten; the Java heap can be corrupted; and pretty much anything else you can do with a C pointer is possible with JNI. You can even convert your pointers to scalars and other non-portable favorites of C programmers. ;-)