Where to find a CNI-Tutorial?

Per Bothner per@bothner.com
Tue Aug 26 19:24:00 GMT 2003


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/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /