summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2017-06-21 14:40:12 +0100
committerVladimir Marko <vmarko@google.com>2017-06-22 14:38:23 +0100
commitb25a5323586a130121237aa1a9da7ca5aa33468e (patch)
treede9752493a6d89003f9f1f637bb0b689f800e368 /rs/java/android/renderscript/ProgramStore.java
parent8a945baf4acd0eb35c1b894c889fa47c5a73463e (diff)
Rename Binder.destroy() to Binder.destroyBinder().
There are a few AIDL-generated stubs that perform "destroy" transactions and call "this.destroy()". Previously, this resolved to the "destroy()" method from their interface on ART while resolving to Binder.destroy() on the RI, though this is a subject of a bug report against the JDK, http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8021581 . Resolving to the private Binder.destroy, inaccessible to the Stub, would lead to throwing IllegalAccessErrror. As we're changing the method lookup to be closer to RI, see https://android-review.googlesource.com/413119 , we should stay clear of the problematic cases whether we make a decision to follow the RI precisely or not. Therefore we rename the Binder.destroy() to Binder.destroyBinder(). Test: Nexus 6P boots. Bug: 62855082 Change-Id: I43baf76b6f3c681d93b411cecf2bc00fccafecac
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions