Menu

#193 bad package dependency from toString() call

Creole
open
nobody
None
5
2007-03-15
2007-03-15
M. Kropf
No

When class A in package PA overrides Object.toString() and class B in package PB does a toString() call to any object even outside of PA, then a call arc is created from PB to PA. This is very counterintuitive and should be prevented.

Discussion


Log in to post a comment.