googleapis / googleapis/google-cloud-java

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

Offen
#12,478 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
priority: p2 type: feature request
Vorherrschende Sprache
Java
Sterne
2.1k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
154

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.