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. ;-)

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact