classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More finalize woes


From: Jeroen Frijters
Subject: More finalize woes
Date: Tue, 4 Mar 2003 15:26:24 +0100

Hi,

Classpath's java.io.BufferedOutputStream has a finalize, but Java API
docs say it shouldn't have it.

java.util.zip.[De|In]flater both have an empty finalize method "for
compatibility". Is this really necessary?

If the existence of a finalizer really is significant,  it should be
removed from java.util.Timer and that should be reimplemented using a
weak reference.

Regards,
Jeroen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]