I agree - you can use the GC to catch user errors: I once did a stack snapshot (created an Exception) when a component was lookup():ed. When the component was released, I cleared the snapshot. When the component was finalized it would check for the Exception - if found, it would scream at the console / user (in effect):
I HAVE NOT BEEN RELEASED!!!! I was lookuped from:
... stack trace follows here ...
Worked quite nicely.
LOL! I love it! Perhaps we could add a feature like this to excalibur-testcase, merlin-testcase, etc :D
- LSD
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
