diff options
author | 2019-05-30 10:03:25 -0700 | |
---|---|---|
committer | 2019-05-30 20:43:17 +0000 | |
commit | bee28948fd9ca995568549e9cf95108e09fe2475 (patch) | |
tree | cc94df6c7d835a54f69a4ca244578992c5948442 /runtime/mirror/array-alloc-inl.h | |
parent | 616f400313907532b9c8b78a9af503926280c1c3 (diff) |
FdFile needs close even without any valid FD
The FdFile struct requires that Flush and Close be called even if
there is no fd associated with the struct. This meant that test 1963
would fail a DCHECK if memfd_create fails.
Test: Modify libartbase/base/memfd.cc to always fail.
./test/run-test --host 1963
Bug: 133731001
Change-Id: I34d2949f43d7943a3a900b0b641eb7a3525352d4
Diffstat (limited to 'runtime/mirror/array-alloc-inl.h')
0 files changed, 0 insertions, 0 deletions