Odi's astoundingly incomplete notes

New entries | Code

Thread.isInterrupted() broken

Thread.isInterrupted() is broken on many recent JDKs (on JDK 1.5.0_16..20, 1.6.0_10..16). The bug has been fixed in the latest releases. This is quite a bad bug and may affect many applications. As a developer you don't expect these fundamental things to break, and it's scary when they do. If your application relies on this to work, you may want to blacklist these JDKs and refuse to run.

posted on 2009-09-22 12:35 UTC in Code | 0 comments | permalink