diff options
| author | Tomasz Mikolajewski <mtomasz@google.com> | 2016-12-06 10:05:05 +0900 |
|---|---|---|
| committer | Tomasz Mikolajewski <mtomasz@google.com> | 2016-12-06 10:05:05 +0900 |
| commit | b061fc2bb5b6e8397c7f3a40be521badad91e9af (patch) | |
| tree | a269d368a1612f165bfbf518d002c31f350aa56c /rs/java/android/renderscript/RenderScript.java | |
| parent | 19fc36fa336c65405f88dbcef907ecc0feace7e7 (diff) | |
Fix crashing StrictJarFile due to doubled closing.
If the constuctor throws, then the handles would be closed without
setting "closed" to true. As a result, the finalizer would close
the handles again, which would cause a crash on the native side.
Test: Unit tests are no longer flaky.
Bug: 33301253
Change-Id: I527ba38d5d65ce844258d894441d4fe16bac6e23
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions
