Clojure

Calls to instance methods through the Reflector double unwrap exceptions

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: Release 1.4
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code and Test
  • Approval:
    Ok

Description

When calling an instance method with one or more arguments, if an exception is thrown that has a cause, then that exception is wrapped in an InvocationTargetException. The Reflector tries to unwrap that, but it also unwraps the exception that is thrown by the method being called reflectively.

Activity

Hide
Stuart Halloway added a comment -

The main purpose of patch looks sound. The test cleanup stuff also looks sound, and is low risk as it only changes the build phase and subtracts a file that we should not be packaging from the release jar.

Thanks Paul.

Show
Stuart Halloway added a comment - The main purpose of patch looks sound. The test cleanup stuff also looks sound, and is low risk as it only changes the build phase and subtracts a file that we should not be packaging from the release jar. Thanks Paul.

People

Vote (2)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: