Diagnosing Java Code: The Impostor Type bug pattern
When special tags in fields are used to distinguish between types of objects, errors are possible in which a tag mislabels the associated data -- a bug pattern known as the Impostor Type. This article examines the symptoms and causes of this bug, defines ways to prevent this error from occurring, and discusses a tempting hybrid implementation that does not use impostor types but, in the end, turns out to have many of the same weaknesses. Article includes code snipets.Visit publisher site: Diagnosing Java Code: The Impostor Type bug pattern
License & Pricing Information
Featured Marketplace Listings
Fully responsive media grid gallery with LightBox image and video support.
Contact ‘n’ Support (CNS) is a powerful and beautiful customer support …
Professional multimedia gallery / banner rotator with custom transitions.
Not yet reviewed by any member.... You can be the FIRST one to write a review for Diagnosing Java Code: The Impostor Type bug pattern