Skip to content

Conversation

@ob-stripe
Copy link
Contributor

@ob-stripe ob-stripe commented Mar 20, 2019

r? @mickjermsurawong-stripe @remi-stripe
cc @stripe/api-libraries

Drop support for Java 1.7. This PR targets the integration-v9 branch, i.e. the next major version as this is a breaking change for users still running Java 1.7.

I've removed the entire StripeSslSocketFactory class: Java 1.8 uses TLS 1.2 by default, so we no longer need to set specific TLS settings. I've also removed all the AppEngine specific code: according to this page, when running on Java 8, AppEngine uses the standard Java classes.

Dropping support for Java 1.7 will also allow us to upgrade several dev dependencies, in particular Gradle, and will let us support the newly released Java 12.

Tentatively fixes #562.

Copy link
Contributor

@remi-stripe remi-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR looks great so approving. Technically, 1.7 is still the second most used java version by our users, so we should be mindful of that and confirm that most 1.7 users are not even on 7.X for example.

@remi-stripe remi-stripe removed their assignment Mar 20, 2019
@ob-stripe ob-stripe merged commit 0130306 into integration-v9 Mar 20, 2019
@ob-stripe ob-stripe deleted the ob-drop-support-java-7 branch March 20, 2019 15:18
@ob-stripe ob-stripe mentioned this pull request Mar 20, 2019
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants