Skip to content

Commit 5e7f1bb

Browse files
committed
Properly register gRPC enum into the native image.
1 parent 5d9e5a6 commit 5e7f1bb

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)