DOH! The signature was supposed to be:
static void classFinalize() throws Throwable
the one I gave was (obviously) instance finalization... see JLS §12.7.

But it's a academic now, Javasoft has removed it from the JLS -- see
http://java.sun.com/docs/books/jls/class-finalization-rationale.html
for details. -=Chris

At 11:56 PM 1/13/99 -0800, Jason Dillon wrote:
>a static finalize method causes the compiler (jikes in this case) to return:
>
>    93.     public static void finalize ()
>                               <--------->
>*** Error: The static method "void finalize();" cannot hide the instance
method
>
>--jason 
>


<*> cabbey at rconnect dot com  http://homepage.rconnect.com/cabbey/ <*>
Get it up, keep it up... LINUX: Viagra for the PC. ;) PGP Info: pgp.html

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12 http://www.geekcode.com
GCS$/IT/PA$ d(-) s++:+ a-- C+++$ UL++++ UA++$ P++ L++ E- W++ N+ o? K? !P
w---(+)$ O- M-- V-- Y+ PGP+ t--- 5++ X+ R tv b+ DI+++ D G e++ h(+) r@ y?
------END GEEK CODE BLOCK------

Reply via email to