Fix illegal code generation of TryWithResourcesTransformer

- Add a test for try with resources that exhibit illegal
code generation.
- Add generation of throw instruction to have correct java code
at compile time.

Bug: 17389106

Change-Id: I451adb03917b5908faf2a7730990c474009706d2
Merge "Fix illegal code generation of TryWithResourcesTransformer" into ub-jack
Add multiple annotations support

Change-Id: I887e891039bea2ec0acbcea538f468e956f2ab39
Merge "Add multiple annotations support" into ub-jack