We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42f154d commit 13e4501Copy full SHA for 13e4501
1 file changed
dd-java-agent/src/main/java/datadog/trace/bootstrap/AgentBootstrap.java
@@ -253,6 +253,20 @@ private static boolean isJdkTool() {
253
return true;
254
}
255
256
+ // Handles IBMJ9 tools
257
+ String command = SystemProperties.get("sun.java.command");
258
+ if (null != command && !command.isEmpty()) {
259
+ // substring on first space
260
+ String mainClass = command;
261
+ int firstSpace = command.indexOf(' ');
262
+ if (firstSpace != -1) {
263
+ mainClass = command.subSequence(0, firstSpace).toString();
264
+ }
265
+ switch (mainClass) {
266
+ case "com.ibm.crypto.tools.KeyTool": // keytool
267
+ return true;
268
269
270
return false;
271
272
0 commit comments