googleapis / googleapis/google-cloud-java
[sdk-platform-java] Generate native image reflect-config.json for java-common-protos
- Langage dominant
- Java
- Étoiles
- 2.1k
- Forks
- 1.2k
- Merge moyen
- 1 j 23 h
- PR mergées (30 j)
- 154
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.