This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Language extensions ?
- From: Per Bothner <per at bothner dot com>
- To: Andrew Haley <aph at redhat 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, 01 Apr 2003 07:48:03 -0800
- Subject: Re: Language extensions ?
- References: <20030327034857.59934.qmail@iname.com> <87llz1l1rq.fsf@fleche.redhat.com> <16002.52225.483946.83762@cuddles.cambridge.redhat.com> <878yuuy7zi.fsf@fleche.redhat.com> <16009.25017.154970.237460@cuddles.cambridge.redhat.com>
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.
--
--Per Bothner
per at bothner dot com http://per.bothner.com/