Skip to content

Commit ef2f5e4

Browse files
committed
fix: Missed some tools hotspot based OpenJDK 8
(cherry picked from commit 2368ed0)
1 parent 939e8c4 commit ef2f5e4

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

dd-java-agent/src/main/java/datadog/trace/bootstrap/AgentBootstrap.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,22 @@ static boolean isJdkTool() {
294294
case "com.sun.tools.script.shell.Main": // jrunscript
295295
case "sun.tools.jconsole.JConsole": // jconsole
296296
case "sun.applet.Main": // appletviewer
297+
case "com.sun.corba.se.impl.naming.cosnaming.TransientNameServer": // tnameserv
298+
// (Oracle/OpenJDK 8)
299+
case "com.sun.tools.corba.se.idl.toJavaPortable.Compile": // idlj (Oracle/OpenJDK 8)
300+
case "com.sun.corba.se.impl.activation.ORBD": // orbd
301+
case "com.sun.corba.se.impl.activation.ServerTool": // servertool
302+
case "sun.tools.jps.Jps": // jps
303+
case "sun.tools.jstack.JStack": // jstack
304+
case "sun.tools.jmap.JMap": // jmap
305+
case "sun.tools.jinfo.JInfo": // jinfo
306+
case "com.sun.tools.hat.Main": // jhat
307+
case "sun.tools.jstat.Jstat": // jstat
308+
case "sun.tools.jstatd.Jstatd": // jstatd
309+
case "sun.tools.jcmd.JCmd": // jcmd
310+
case "jdk.jfr.internal.tool.Main": // jfr, backported to OpenJDK 8 in 8u262 (JEP 328
311+
// backport, July 2020)
312+
case "sun.jvm.hotspot.jdi.SADebugServer": // jsadebugd
297313
return true;
298314
}
299315
}

0 commit comments

Comments
 (0)