"Robert Klemme" <shortcutter@googlemail.com> wrote in message
news:877quaFr6gU1@mid.individual.net...
On 08.06.2010 05:39, Kevin McMurtrie wrote:
Fixing every single shared synchronized method in every 3rd party
library could take a very, very long time.
I have no idea where you take that from. Nobody suggested fixing third
party libraries - if anything the suggestion was to use them properly.
What if they use system properties promiscuously? Hypothetically:
1. My application receives XML messages.
2. I use a third-party library to deserialize the XML into Java objects.
3. The third-party library uses JAXP to find an XML parser.
4. JAXP always checks for a system property that points to the parser's
class name.
Even if the details are off (I don't know whether current versions of
JAXP cache the class name), you get the idea.
in this scenario.