Skip to content
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

chore: Drop scala java8 compat #32435

Merged

Conversation

sebastian-alfers
Copy link
Contributor

@sebastian-alfers sebastian-alfers commented Jun 10, 2024

No description provided.

Copy link
Member

@octonato octonato left a comment

Choose a reason for hiding this comment

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

All looks fine, but my only concern is for users that are using java8Compat because they get it transitively from Akka.

Maybe not a major problem that should block us though.

@ennru
Copy link
Member

ennru commented Jun 10, 2024

This should wait until the last responsible moment before the Akka 2.10 version.

@patriknw
Copy link
Member

We will not make such dependency change in a patch version, but it would be fine for Akka 2.10. Let's wait with merging so that we don't have to maintain double branches, for a while more.

@patriknw patriknw marked this pull request as draft June 10, 2024 15:14
@patriknw
Copy link
Member

patriknw commented Sep 2, 2024

I have created branch release-2.9. main continues as dev branch for 2.10. This can be continued.

@patriknw patriknw marked this pull request as ready for review September 2, 2024 09:46
Copy link
Member

@johanandren johanandren left a comment

Choose a reason for hiding this comment

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

Something in the release notes about scala-java8-compat not being a transitive dependency anymore would be good.

@sebastian-alfers
Copy link
Contributor Author

Something in the release notes about scala-java8-compat not being a transitive dependency anymore would be good.

👍 Will rebase and add.

Copy link
Member

@patriknw patriknw left a comment

Choose a reason for hiding this comment

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

LGTM


## Remove dependency to scala-java8-compat

The transitive dependency on `scala-java8-compat` has been removed.
Copy link
Member

Choose a reason for hiding this comment

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

👍

@@ -43,7 +43,7 @@ public void useCircuitBreakerWithCompletableFuture() throws Exception {
assertEquals(
"hello",
Await.result(
FutureConverters.toScala(res), JavaDurationConverters.asFiniteDuration(fiveSeconds)));
FutureConverters.asScala(res), JavaDurationConverters.asFiniteDuration(fiveSeconds)));
Copy link
Member

Choose a reason for hiding this comment

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

In a separate PR you could try to remove akka.util.JavaDurationConverters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants