commit | 6aa1611562a67dc51385b12b9318a904165ee9f9 | [log] [tgz] |
---|---|---|
author | Neil Fuller <nfuller@google.com> | Fri Jun 28 09:22:43 2019 +0100 |
committer | Neil Fuller <nfuller@google.com> | Fri Jun 28 09:22:43 2019 +0100 |
tree | a49255c44aa307995b18702efb861d5183c21da0 | |
parent | a48e2ab2a6272ac96122b631a8015dba4a5e637e [diff] |
Avoid exception with instanceof Avoid exception with instanceof rather than cast/catch. All other callers of ParameterizedTypeImpl.getResolvedTypes() do an instanceof check rather than generate/catch the exception. Test: atest CtsLibcoreTestCases Change-Id: I6b517e4861e525e53f4d61052fc0aea758d4d830