Skip to content

Commit

Permalink
fix build for graalvm native (open-telemetry#11709)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger authored Jul 1, 2024
1 parent 40670fb commit 51cb6f0
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ public void registerHints(
.registerType(
TypeReference.of(
"org.springframework.data.mongodb.core.aggregation.AggregationOperation"),
hint -> {
hint.withMembers(MemberCategory.INVOKE_DECLARED_CONSTRUCTORS);
});
hint -> hint.withMembers(MemberCategory.INVOKE_DECLARED_CONSTRUCTORS))
.registerType(
TypeReference.of("org.apache.kafka.common.serialization.StringDeserializer"),
hint -> hint.withMembers(MemberCategory.INVOKE_PUBLIC_CONSTRUCTORS));
}
}

0 comments on commit 51cb6f0

Please sign in to comment.