Skip to content

Commit bf63868

Browse files
authored
Merge pull request quarkusio#47937 from cescoffier/grpc-native-enum-fix
Fix gRPC enum registration in native
2 parents bca5154 + 5e7f1bb commit bf63868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/grpc-common/deployment/src/main/java/io/quarkus/grpc/common/deployment/GrpcCommonProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void configureNativeExecutable(CombinedIndexBuildItem combinedIndex,
2929

3030
// We also need to include enums.
3131
Collection<ClassInfo> enums = combinedIndex.getIndex()
32-
.getAllKnownSubclasses(GrpcDotNames.PROTOCOL_MESSAGE_ENUM);
32+
.getAllKnownImplementations(GrpcDotNames.PROTOCOL_MESSAGE_ENUM);
3333
for (ClassInfo en : enums) {
3434
reflectiveClass.produce(ReflectiveClassBuildItem.builder(en.name().toString()).methods()
3535
.fields().build());

0 commit comments

Comments
 (0)