Non-static anonymous classes can cause memory leaks.

Just found this out after reading some java related news articles.  This was one of the things people were hoping they'd fix in Java 8, but they still haven't.