So they decided to go the route of adding a .getSuppressed() (Exceptions)
method in Throwable, thus behaving differently from other finally clauses
...

... so now we have a (with-open) whose semantics are not aligned with those
semantics of Java 7' try-with-resources statement, wrt exception shadowing
from the "finally" block ... :-/

2011/7/29 Ken Wesson <kwess...@gmail.com>

> They've just added "with-open" to JavaSE:
>
>
> http://download.oracle.com/javase/7/docs/technotes/guides/language/try-with-resources.html
>
> --
> Protege: What is this seething mass of parentheses?!
> Master: Your father's Lisp REPL. This is the language of a true
> hacker. Not as clumsy or random as C++; a language for a more
> civilized age.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to