googleapis / googleapis/google-cloud-java

[sdk-platform-java] Generate native image reflect-config.json for java-common-protos

Đang mở
#12,478 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
priority: p2 type: feature request
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

We currently only generate `com.google.rpc` classes that are used by GAPICs. In cases where handwritten libraries explicitly call other `com.google.rpc` classes via reflection, we've had to add configurations manually: https://github.com/googleapis/java-spanner/issues/2617.

As pointed out in https://github.com/googleapis/java-spanner/pull/2617#issuecomment-1714837227, great care needs to be taken in order to ensure that such classes are covered through configurations if a library chooses to call them reflectively in the future. Generating configs for java-common-protos can mitigate the need for this but comes at a cost of extra configs being generate for the libraries.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.