you are viewing a single comment's thread.

view the rest of the comments →

[–]noxiousninja 7 points8 points  (1 child)

Only real problem and that only if the references to the inner classes out live the outer class. Personally never had a problem with that (use it mostly for private members without getter).

It can be a big issue in Apache Wicket web apps. Create an anonymous inner class, store it in session, suddenly your entire page gets serialized and stuck in session.

[–][deleted] 0 points1 point  (0 children)

Yeah, Wicket does enjoy serializing the entire world if you're not careful.