Yeah I wasn't clear enough at all - I more refer to that comment actually being in open source code
The actual fact that a comment is still there in stead of a fix is indeed sad, not funny.
I agree with you but will Oracle ever fix this bug?
I'm fairly sure this class is actually gone from OpenJDK and Java 7. Which is not to say that the DirectAudioDevice lines don't also seem to swallow some InterruptedExceptions. Not great practice, but then I don't agree with the OP's (well OP's OP's!) decision to use the interrupted flag for this purpose. Having a private
flag that your code alone
has access to is the way to approach this (and not the workaround as it's described).