Details
-
Type:
Defect
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: Release 1.5
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Patch:Code
-
Approval:Vetted
Description
I don't know what I did to cause some exceptions to be thrown while running Clojure tests that return a length 0 array from (.getStackTrace throwable), but according to the Java docs this is legal. I searched all places in the Clojure code that call .getStackTrace and found two that don't handle this correctly, one of which causes an ArrayOutOfBoundsException (that is the one I found during my testing).
Attachments
Activity
Andy Fingerhut
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | clj-1102-improve-empty-stack-trace-handling-v1.txt [ 11662 ] |
Andy Fingerhut
made changes -
| Patch | Code [ 10001 ] |
Timothy Baldridge
made changes -
| Assignee | Timothy Baldridge [ halgari ] |
Timothy Baldridge
made changes -
| Assignee | Timothy Baldridge [ halgari ] |
Timothy Baldridge
made changes -
| Approval | Vetted [ 10003 ] |