DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36071>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36071





------- Additional Comments From [EMAIL PROTECTED]  2005-08-08 23:13 -------
I didn't make myself clear. The change for Y does happen, but instances of X
don't change. For example:

class X extends Y {
  public int foo() {
    return 0;
  }
}

class Y  {
  public Y() {
    System.out.println("before");
  }
}

Now, right now, the expression "new X().foo()" will return 0 and "before" will
be printed to the console.

Now, change Y:

class Y  {
  public Y() {
    System.out.println("after");
  }
}

The expression "new X().foo()" will still return 0 and "before" will still be
printed to the console. 

Now, change X:

class X extends Y {
  public int foo() {
    return 1;
  }
}

Now expression "new X().foo()" will return 1 and "after" will be printed to the
console. 

What is happening is that X is somehow still linked to the old Y. Are you not
able to reproduce this?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to