This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: URLClassLoader update


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]