Skip to content

Commit cfe15d6

Browse files
committed
debug
1 parent 58c8d23 commit cfe15d6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dd-java-agent/src/main/java6/datadog/trace/bootstrap/AgentPreCheck.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
/** Special lightweight pre-main class that skips installation on incompatible JVMs. */
1313
public class AgentPreCheck {
1414
public static final int MIN_JAVA_VERSION = 8;
15+
1516
public static void premain(final String agentArgs, final Instrumentation inst) {
1617
agentmain(agentArgs, inst);
1718
}
@@ -62,7 +63,9 @@ static void sendTelemetry(String forwarderPath, String javaVersion, String agent
6263
+ "\"tags\":[\"reason:incompatible_runtime\"]"
6364
+ "\"result:error\","
6465
+ "\"result_class:incompatible_runtime\","
65-
+ "\"result_reason:java version" + MIN_JAVA_VERSION + "+ required\""
66+
+ "\"result_reason:java version"
67+
+ MIN_JAVA_VERSION
68+
+ "+ required\""
6669
+ "]"
6770
+ "}]"
6871
+ "}";

0 commit comments

Comments
 (0)