Where to find a CNI-Tutorial?
Andrew Haley
aph@redhat.com
Wed Aug 27 09:29:00 GMT 2003
Per Bothner writes:
> 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.
Humm. I wonder if we could enforce that.
Andrew.
More information about the Java
mailing list