URLClassLoader update
Jeff Sturm
jsturm@one-point.com
Tue Dec 3 13:50:00 GMT 2002
On 3 Dec 2002, Tom Tromey wrote:
> Mark> Shouldn't it XFAIL then? Or is someone working on fixing it soon?
>
> It should probably be XFAIL.
> I keep thinking about looking at it but I haven't gotten to it yet.
>
> I looked a little today and I now agree with you that the source to
> the bytecode would be useful. I haven't searched for it yet.
Oops-- my fault. I posted that test long ago and since lost the source.
Reconstructed from bytecode (and memory). The singleton pattern is used
as a class finalizer.
public class C {
private static C c;
public C() {
c = this;
}
protected void finalize() {
System.out.println("finalized");
}
}
Jeff
More information about the Java-patches
mailing list