This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: Document and prototype JvAllocBytes() for CNI
- From: Tom Tromey <tromey at redhat dot com>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: Paul Gear <paul at gear dot dyndns dot org>, java at gcc dot gnu dot org,java-patches at gcc dot gnu dot org
- Date: 26 May 2004 10:05:19 -0600
- Subject: Re: Patch: Document and prototype JvAllocBytes() for CNI
- References: <40B1E532.8000805@gear.dyndns.org><05179991-ADA0-11D8-ABA0-003065F97F7C@waitaki.otago.ac.nz><40B24E6F.8000109@gear.dyndns.org> <87hdu5ik45.fsf@fleche.redhat.com><40B33119.9090200@gear.dyndns.org> <40B39663.50709@redhat.com><874qq4gwrf.fsf@fleche.redhat.com> <40B39CE2.2010707@redhat.com>
- Reply-to: tromey at redhat dot com
>>>>> "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.
Tom