Skip to content

Generate native image reflect-config.json for java-common-protos #2048

@mpeddada1

Description

@mpeddada1

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: googleapis/java-spanner#2617.

As pointed out in googleapis/java-spanner#2617 (comment), 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions