This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Language extensions ?
- From: Andrew Haley <aph at redhat dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: tromey at redhat dot com, Robin Garner <robin dot garner at iname dot com>, java at gcc dot gnu dot org
- Date: Tue, 1 Apr 2003 16:58:39 +0100 (BST)
- Subject: Re: Language extensions ?
Per Bothner writes:
> Andrew Haley wrote:
> > Well, once the security model is done we can restrict it so that only
> > privileged code can create RawData objects.
>
> There is no such thing as a RawData object, and it is meaningless to
> talk about creating them. A RawData is nothing more and nothing less
> that (void*) pointer "cast to" a Java reference. Java code never does
> anything with RawData except pass them around as opaque references.
> Only native code can create or dereference RawData, so I don't see
> how the security model will make any diference.
Yes, you're quite right. Brain fade.
Andrew.