summaryrefslogtreecommitdiff
path: root/runtime/native/java_lang_VMClassLoader.cc
diff options
context:
space:
mode:
author David Sehr <sehr@google.com> 2018-02-21 13:20:31 -0800
committer David Sehr <sehr@google.com> 2018-02-21 13:51:15 -0800
commitb2ec9f5c128673c43f776cbe12c8eeb0a6884ebb (patch)
tree724022162a4f3de021cebab32ee5ac67ec860f32 /runtime/native/java_lang_VMClassLoader.cc
parentf13343eb8b2738e2812fd7bd9d5592f529e93c21 (diff)
Remove duplication, split tests
The code move to libdexfile/dex/descriptors_names.cc apparently did not remove the original code from runtime/utils.cc. Fix that duplication and all the header mentions needed. Also, split the test files to go along with the new locations for the code to be tested. Bug: 22322814 Test: make -j 50 checkbuild make -j 50 test-art-host-gtest flash & boot marlin Change-Id: Ie734672c4bca2c647d8016291f910b5608674545
Diffstat (limited to 'runtime/native/java_lang_VMClassLoader.cc')
-rw-r--r--runtime/native/java_lang_VMClassLoader.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/native/java_lang_VMClassLoader.cc b/runtime/native/java_lang_VMClassLoader.cc
index 6eebff4aca..3a0d76032e 100644
--- a/runtime/native/java_lang_VMClassLoader.cc
+++ b/runtime/native/java_lang_VMClassLoader.cc
@@ -17,6 +17,7 @@
#include "java_lang_VMClassLoader.h"
#include "class_linker.h"
+#include "dex/descriptors_names.h"
#include "dex/dex_file_loader.h"
#include "jni_internal.h"
#include "mirror/class_loader.h"