Skip to content

Commit 5a5ccfb

Browse files
committed
Revert "fix build for graalvm native (open-telemetry#11709)"
This reverts commit 51cb6f0.
1 parent 668f2e4 commit 5a5ccfb

File tree

1 file changed

+3
-4
lines changed
  • smoke-tests-otel-starter/spring-boot-3/src/main/java/io/opentelemetry/spring/smoketest

1 file changed

+3
-4
lines changed

smoke-tests-otel-starter/spring-boot-3/src/main/java/io/opentelemetry/spring/smoketest/RuntimeHints.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ public void registerHints(
2424
.registerType(
2525
TypeReference.of(
2626
"org.springframework.data.mongodb.core.aggregation.AggregationOperation"),
27-
hint -> hint.withMembers(MemberCategory.INVOKE_DECLARED_CONSTRUCTORS))
28-
.registerType(
29-
TypeReference.of("org.apache.kafka.common.serialization.StringDeserializer"),
30-
hint -> hint.withMembers(MemberCategory.INVOKE_PUBLIC_CONSTRUCTORS));
27+
hint -> {
28+
hint.withMembers(MemberCategory.INVOKE_DECLARED_CONSTRUCTORS);
29+
});
3130
}
3231
}

0 commit comments

Comments
 (0)