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: Patch: Document and prototype JvAllocBytes() for CNI


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

Attachment: signature.asc
Description: OpenPGP digital signature


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