This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Problem with the online CNI manual
- From: Tom Tromey <tromey at redhat dot com>
- To: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Cc: Nic Ferrier <nferrier at tapsellferrier dot co dot uk>, java at gcc dot gnu dot org
- Date: 28 Jan 2002 22:35:19 -0700
- Subject: Re: Problem with the online CNI manual
- References: <87pu3ya57u.fsf@tf1.tapsellferrier.co.uk> <3C51C380.6050200@waitaki.otago.ac.nz>
- Reply-to: tromey at redhat dot com
>>>>> "Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
Nic> // Automatic allocation of ht.
Nic> ::java::util::Hashtable ht = ::java::util::Hashtable ();
Bryce> Off-hand I don't know if this will work: I suspect it
Bryce> wont. Finalizers etc certainly wont because the allocation will
Bryce> not go through the GC.
It might work but we don't support it.
ISTR that we actually use this trick in one place in String.
In general though I think we should just disallow this, perhaps in g++
itself.
Tom