diff options
| author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2016-05-26 15:21:12 +0100 |
|---|---|---|
| committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2016-05-26 15:21:12 +0100 |
| commit | ae6b1b85c67401fc9d986c3ffb7d9e8a9c804c30 (patch) | |
| tree | 8b49e90a403212631992169080ea7cb35e439d3c /include/ScopedJavaUnicodeString.h | |
| parent | a0d186fb8202c72bd61231dbfe7006b79a91d7d5 (diff) | |
Fix java.util.zip.ZipFile with OPEN_DELETE.
openJdk java.util.zip.ZipFile with OPEN_DELETE flag
uses unlink to remove the file just after it's opened.
This is causing trouble on /storage partition, we
can read/write unlinked file easily, but lseek seems
to fail with ENOENT.
This change introduces alternative implementation that
doesn't use unlink before closing the file.
Bug: 28901232
Bug: 28950284
Change-Id: I871a84e9a14bc1b4b9d5b0faa207579e27bcfc81
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions
