This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: Class.finalize() throws a Throwable
- From: Tom Tromey <tromey at redhat dot com>
- To: Anthony Green <green at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: 21 Feb 2003 08:19:32 -0700
- Subject: Re: Patch: Class.finalize() throws a Throwable
- References: <1045821964.11019.1632.camel@escape>
- Reply-to: tromey at redhat dot com
>>>>> "Anthony" == Anthony Green <green at redhat dot com> writes:
Anthony> Identified by japi. Ok?
Anthony> 2002-02-21 Anthony Green <green at redhat dot com>
Anthony> * java/lang/Class.java (finalize): throws a Throwable.
Ok.
This is a funny one. Maybe we shouldn't even have a finalize method
in Class. Instead we could just register a finalizer for those
classes which really need one. OTOH, we'll need the finalizer if we
ever figure out how to finalize a compiled class.
Tom