summaryrefslogtreecommitdiffstats
path: root/runtime/utils.h
diff options
context:
space:
mode:
authorRichard Uhler <ruhler@google.com>2015-02-26 11:08:57 -0800
committerRichard Uhler <ruhler@google.com>2015-02-26 11:08:57 -0800
commit965fd02721746d4164bc40719cd53eefab37cfb3 (patch)
treef1140d01dfc9547757fbf5e5b97a9c780a7d7503 /runtime/utils.h
parent01b7c431ed85e0eae4554f6fc0f79a78bc82f31f (diff)
downloadart-965fd02721746d4164bc40719cd53eefab37cfb3.tar.gz
art-965fd02721746d4164bc40719cd53eefab37cfb3.tar.bz2
art-965fd02721746d4164bc40719cd53eefab37cfb3.zip
Don't require three-character extensions for dex locations.
Bug: 19437875 Change-Id: Ib62b4c691b04f27c5d499affd5a7fd4d9f0c64f9
Diffstat (limited to 'runtime/utils.h')
-rw-r--r--runtime/utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/utils.h b/runtime/utils.h
index 698d686afd..9d04d35e26 100644
--- a/runtime/utils.h
+++ b/runtime/utils.h
@@ -516,8 +516,9 @@ std::string GetDalvikCacheFilenameOrDie(const char* file_location,
// Returns the system location for an image
std::string GetSystemImageFilename(const char* location, InstructionSet isa);
-// Returns an .odex file name next adjacent to the dex location.
+// Returns an .odex file name adjacent to the dex location.
// For example, for "/foo/bar/baz.jar", return "/foo/bar/<isa>/baz.odex".
+// The dex location must include a directory component and have an extension.
// Note: does not support multidex location strings.
std::string DexFilenameToOdexFilename(const std::string& location, InstructionSet isa);