Hacker News new | ask | show | jobs
by CodeMage 5529 days ago
You're lucky Java is checked at compile time.

Not lucky enough, because x.dispose() could throw an unchecked exception.