This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Where to find a CNI-Tutorial?


Andrew Haley wrote:
But my main worry isn't how to store the pointer, but the fact that
all RawData pointers are the same type; you have even less type safety
than C++.  I suppose if you have a rule that all access to RawData
must be private then this issue will rarely arise.

That has always been my assumption - RawData pointers must not escape out to untrusted client code, and should as a general rule only be used for private fields and parameters/results of private methods. -- --Per Bothner per@bothner.com http://per.bothner.com/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]