Skip to content

Do you really need joda-time? #1580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ptahchiev opened this issue May 6, 2018 · 1 comment
Closed

Do you really need joda-time? #1580

ptahchiev opened this issue May 6, 2018 · 1 comment
Labels
guidance Question that needs advice or information.

Comments

@ptahchiev
Copy link

Can't you just use java.time.LocalDateTime instead? If you really need joda-time, then I suggest you mark the dependency as compile scope and do some checks if the user has included it in their classpath.

@millems
Copy link
Contributor

millems commented May 7, 2018

Unfortunately LocalDateTime was added in Java 8, and we need to maintain compatibility with Java 6. Because joda-time classes are exposed in our public APIs, we won't be able to make it just a compile-time dependency without a lot of customer headache.

We've removed joda-time as a dependency in V2 of the SDK, which is currently in developer preview: https://github.com/aws/aws-sdk-java-v2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guidance Question that needs advice or information.
Projects
None yet
Development

No branches or pull requests

3 participants