I also wanted to reply to one person in particular who pointed out that
it's a good idea to set all references to null when disposing a window. My
reading of this:
Is that that's not just a good habit, but rather imperative on the Mac.
I would suspect based on the phrasing that the leak happens regardless of
whether you null out your components. ObjectAlloc or Shark might have more
info.
Yes, my impression is also that some sort of leak is inevitable. But since
the window remains un-garbage collected, it seems likely that any
references that the window holds will also be un-garbage collected (since
they are all reachable through the window). If that is the case, releasing
references on final window close will reduce the impact of apple's leak,
because at least the other objects can be garbage collected.
bjorn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden