googleapis / googleapis/google-cloud-java
[sdk-platform-java] Generate native image reflect-config.json for java-common-protos
- 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
Đánh giá
Issue này chưa được đánh giá.