googleapis / googleapis/google-cloud-java
[sdk-platform-java] Generate native image reflect-config.json for java-common-protos
- 主要语言
- Java
- 星标
- 2.1k
- 派生
- 1.2k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 154
描述
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.
贡献指南
评估
这个 Issue 还没有评估数据。