It's not a regression. It is a known breaking change.

The change merely owned up the the fact that we cannot in fact communicate all 
actual errors through Java code, due to checked exceptions. This is an enduring 
problem with Java, and you are going to see it rear its ugly head in Java 
itself as soon as Java gets some closure-like construct.

We can of course add some unwrapping to try/catch, and could have for 1.3, had 
anyone who currently cares about this tried the code and acted sooner. Patch 
welcome for 1.4. Note the handling will have to be careful not to unwrap too 
much, as some people care about cause chains and not just root causes.

Rich

On Oct 11, 2011, at 7:07 PM, Chas Emerick wrote:

> …or that there's many thousands of tests (or many, many, many thousands of 
> tests if you count all the 3rd party libraries that have been testing against 
> 1.3.0 snapshots for months with nary a related hiccup), many of them related 
> to exceptions and other error conditions, but no one was clever enough to 
> write a test ahead of time to account for the change in behaviour. Either 
> way. :-)
> 
> Of course, this is how most regression tests are born…
> 
> - Chas
> 
> On Oct 11, 2011, at 6:16 PM, pmbauer wrote:
> 
>> Would now be a bad time to observe there was a large change made to the way 
>> exceptions are handled, and the lack of guard-rails (no tests for exception 
>> handling behavior) may have contributed to this regression?
>> https://github.com/clojure/clojure/commit/8fda34e4c77cac079b711da59d5fe49b74605553
>> 
>> On Tuesday, October 11, 2011 3:02:47 PM UTC-7, Stuart Sierra wrote:
>> I was a little worried about this when the exception behavior for fns was 
>> changed. I think it's solvable, but don't know right now what the solution 
>> is.
>> 
>> -S
>> 
>> -- 
>> 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

-- 
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