Skip to content
This repository was archived by the owner on Jan 14, 2018. It is now read-only.

fixed Verify error on Android 5.0#391

Open
ajans wants to merge 2 commits into
stephanenicolas:masterfrom
ajans:fix-verify-error-springandroid-lollipop
Open

fixed Verify error on Android 5.0#391
ajans wants to merge 2 commits into
stephanenicolas:masterfrom
ajans:fix-verify-error-springandroid-lollipop

Conversation

@ajans
Copy link
Copy Markdown

@ajans ajans commented Dec 18, 2014

Fixed Verify error reported by the class-verifier in dex2oat on Android 5.0 by removing unnecessary catch-clauses. See #387

by removing unnecessary catch-clauses
see stephanenicolas#387
@ajans
Copy link
Copy Markdown
Author

ajans commented Dec 18, 2014

The 3rd travis-build (android-19) could not be completed because the android-19 emulator failed to start, so maven canceled the build at the testing-stage.

@ajans
Copy link
Copy Markdown
Author

ajans commented Dec 22, 2014

the previous commit did not prevent RuntimeExceptions during the call of deserializeData, which crashed our DefaultRequestRunner with a Gson-error (Failed to invoke public class XYZ with no args, Caused by: java.lang.InstantiationException: can't instantiate class).

The 2nd commit catches those types of exceptions and still the code passes the class-verifier in dex2oat.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant