summaryrefslogtreecommitdiff
path: root/openjdkjvmti/ti_search.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2018-10-16 13:09:32 -0700
committer Andreas Gampe <agampe@google.com> 2018-10-17 12:17:28 -0700
commit6e8977690147b75096c0a993efb53ae329e3fd2c (patch)
treedd2e653b893e2d91a9c238a3468f66a3def98743 /openjdkjvmti/ti_search.cc
parent0de385f9eb5f8c066121ea2d43e8b8eea6a726fa (diff)
ART: Refactor for bugprone-argument-comment
Handles openjdkjvmti. Bug: 116054210 Test: WITH_TIDY=1 mmma art Change-Id: Ic73e3f32b08f3b6d9300428ad95d12a696db0458
Diffstat (limited to 'openjdkjvmti/ti_search.cc')
-rw-r--r--openjdkjvmti/ti_search.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/openjdkjvmti/ti_search.cc b/openjdkjvmti/ti_search.cc
index 1189b1dec5..427869e798 100644
--- a/openjdkjvmti/ti_search.cc
+++ b/openjdkjvmti/ti_search.cc
@@ -229,8 +229,12 @@ jvmtiError SearchUtil::AddToBootstrapClassLoaderSearch(jvmtiEnv* env ATTRIBUTE_U
std::string error_msg;
std::vector<std::unique_ptr<const art::DexFile>> dex_files;
const art::ArtDexFileLoader dex_file_loader;
- if (!dex_file_loader.Open(
- segment, segment, /* verify */ true, /* verify_checksum */ true, &error_msg, &dex_files)) {
+ if (!dex_file_loader.Open(segment,
+ segment,
+ /* verify= */ true,
+ /* verify_checksum= */ true,
+ &error_msg,
+ &dex_files)) {
LOG(WARNING) << "Could not open " << segment << " for boot classpath extension: " << error_msg;
return ERR(ILLEGAL_ARGUMENT);
}