diff options
author | Steven Moreland <smoreland@google.com> | 2020-07-07 01:26:46 +0000 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2020-07-07 01:29:47 +0000 |
commit | f42e63d8ae301a741bebfd0073ef6a70cff22090 (patch) | |
tree | e385f321db1554ead862f489ed9d669c050b8cba /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 2f3b72b8efc65769ff44387fbbc14354fcee0f8e (diff) |
HIDL Java: DeadObjectException
Allow HIDL to throw DeadObjectException (which extends RemoteException)
like AIDL in order to distinguish this error.
There is a slight risk of API breakage here because someone could be
guarding against DeadObjectException already for AIDL code and ignoring
all HIDL exceptions within that scope. In this case, HIDL code which
previously did not trigger the DeadObjectException could trigger that
code path. However, mixing AIDL and HIDL like this would already be
considered extremely unsafe.
Fixes: 160169016
Test: hidl_test_java
Change-Id: I259070bbba5cabb52cf7cf5a11cb5d5c21abeff8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions