Patch: Document and prototype JvAllocBytes() for CNI
Paul Gear
paul@gear.dyndns.org
Thu May 27 11:49:00 GMT 2004
Tom Tromey wrote:
>>>>>>"Bryce" == Bryce McKinlay <mckinlay@redhat.com> writes:
>
>
> Bryce> I think we need a varient of the RawData type that is
> Bryce> scanned. There are places in libgcj where we use "Object" to
> Bryce> store native data.
>
> Yeah. And ideally for libgcj use, a compiler flag that will give an
> error/warning if a RawData or RawDataMarked field is not
> private... perhaps even an error if such a field is used at all in
> Java code. The idea here is, make it simpler for us to write safe
> code, in preparation for our eventual security push.
I certainly have no interest in using it in Java code. I just need some
instance-specific space to store a few pointers used by the native code.
--
Paul
http://paulgear.webhop.net
--
Think context! Using accepted quoting conventions makes
your email easier to understand. Learn how at
<http://www.netmeister.org/news/learn2quote.html>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://gcc.gnu.org/pipermail/java/attachments/20040527/2162b8c5/attachment.sig>
More information about the Java
mailing list