Fix proxy return ClassCastException and add test.

Add test for Bug: 8250775 that doesn't effect ART. Expand test case further.
ClassCastException has no constructor expecting a cause and so using this
creates a JNI failure. Switch to not using a wrapped exception as the wrapping
itself wasn't adding information.

Change-Id: I32dd541e1a1022089ec993fa4f4646042c5bf1fa
4 files changed
tree: b350413f9cccdac06730518a9ad2eb7ef8a6f083
  1. .gitignore
  3. build/
  4. jdwpspy/
  5. src/
  6. test/
  7. tools/