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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.