From the Twitter blogpost:

We also echo the advisory from the U.S. Department of Homeland Security and security experts to encourage users to disable Java on their computers in their browsers. For instructions on how to disable Java, read this recent Slate article.

 

Something tells me Java malware infected pc's were used to attack Twitter's infrastructure.