Skip to content

Conversation

@BenWhitehead
Copy link
Contributor

The original implementation of getVersion used the implementation
version of the package of the declaring class, however there is
differing behavior between Android and openjdk based jvms.

In order to be consistent across platforms we will now always resolve
the value from the google-http-client.properties file that is
generated during the build. This method should be stable as it based
on loading a classpath resource which has cross jvm support.

Fixes #892

The original implementation of `getVersion` used the implementation version of the package of the declaring class, however there is differing behavior between Android and openjdk based jvms. In order to be consistent across platforms we will now always resolve the value from the `google-http-client.properties` file that is generated during the build. This method should be stable as it based on loading a classpath resource which has cross jvm support. Fixes #892
@BenWhitehead BenWhitehead requested a review from a team as a code owner December 17, 2019 01:01
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 17, 2019
@chingor13 chingor13 merged commit 853ab4b into googleapis:master Dec 17, 2019
@BenWhitehead BenWhitehead deleted the fix-892 branch December 17, 2019 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

4 participants