Skip to content

Commit

Permalink
Reset unused field in substitution
Browse files Browse the repository at this point in the history
Reset `com.jayway.jsonpath.internal.DefaultsImpl#mappingProvider` in
`io.smallrye.reactive.kafka.graal.Target_com_jayway_jsonpath_internal_DefaultsImpl`
since it's no longer used.

Closes quarkusio#37862
  • Loading branch information
zakkak committed Jan 10, 2024
1 parent 02471b8 commit aefb571
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ final class Target_com_jayway_jsonpath_internal_DefaultsImpl {
@Alias
public static Target_com_jayway_jsonpath_internal_DefaultsImpl INSTANCE = new Target_com_jayway_jsonpath_internal_DefaultsImpl();

// Reset the field to null since it's no longer used.
// Works around https://github.com/quarkusio/quarkus/issues/37862
@RecomputeFieldValue(kind = RecomputeFieldValue.Kind.Reset)
@Alias
private MappingProvider mappingProvider;

@Substitute
public JsonProvider jsonProvider() {
return new JacksonJsonNodeJsonProvider();
Expand Down

0 comments on commit aefb571

Please sign in to comment.