News for hackers. Stuff that matters.
Re:Exception Safety, Garbage Collection etc. (a.k.a. Why Doe... by JulianMorrison on Friday May 06, 2011 @12:20PM (#2521386)
You're lucky Java is checked at compile time. Ruby would eat that "no such method dipose" and silently leak x.
Re:Exception Safety, Garbage Collection etc. (a.k.a. Why Doe... by CodeMage on Friday May 06, 2011 @12:25PM (#2521410)
You're lucky Java is checked at compile time.

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