aboutsummaryrefslogtreecommitdiff
path: root/driver/jvm_tooling.cpp
diff options
context:
space:
mode:
authorFabian Meumertzheim <fabian@meumertzhe.im>2022-03-31 21:53:18 +0200
committerFabian Meumertzheim <fabian@meumertzhe.im>2022-04-01 08:25:23 +0200
commit293edd4b6fcb0c54963aba21e5653e29ce3d5a59 (patch)
tree4b4e671b506edb43617eca0185f71c6a19f1f4e7 /driver/jvm_tooling.cpp
parentaf40684eb16292cdeb16b9ae3f3cb8022c8d1b42 (diff)
downloadjazzer-api-293edd4b6fcb0c54963aba21e5653e29ce3d5a59.tar.gz
Remove redundant class path entry
Java agent jars are automatically added to the system class loader, which means that an explicit class path entry for them is both redundant and potentially confusing.
Diffstat (limited to 'driver/jvm_tooling.cpp')
-rw-r--r--driver/jvm_tooling.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/driver/jvm_tooling.cpp b/driver/jvm_tooling.cpp
index 09bca90a..688d7c4a 100644
--- a/driver/jvm_tooling.cpp
+++ b/driver/jvm_tooling.cpp
@@ -240,8 +240,6 @@ JVM::JVM(std::string_view executable_path, std::string_view seed) {
if (class_path_from_env) {
class_path += absl::StrFormat(ARG_SEPARATOR "%s", class_path_from_env);
}
- class_path += absl::StrFormat(ARG_SEPARATOR "%s",
- getInstrumentorAgentPath(executable_path));
LOG(INFO) << "got class path " << class_path;
std::vector<JavaVMOption> options;