In https://github.com/apache/incubator-pekko/pull/281 I created a PR which
removes the scala-java8-compat library for Scala 2.13+. The intentions of
the PR are

* Make it easier to remove Scala 2.12 in a future version of Pekko when we
decide to do so. This is because the current Pekko codebases uses
scala-java8-compat for **ALL** versions of Scala and as noted in
https://github.com/scala/scala-java8-compat#do-you-need-this we should not
be doing this
* Removes a library dependency for Pekko in versions Scala 2.13+. The less
dependencies that Pekko has the better
* scala-java8-compat is quite stable now and there are also open questions
on how long it will be maintained/supported for newer Scala3+ versions
given that its only real existence is for Scala 2.12- support. The longer
we use this library the greater the risk we have of shooting ourselves in
the foot later (i.e. library won't be released/updated for some newer
Scala3 version and then we suddenly have to drop it at an inopportune time)

The reason I am bringing this up now is that there are strong arguments
about merging this for Pekko 1.0.x since if we decide to drop Scala 2.12
support in Pekko 1.1.x it will be entirely trivial to do so without having
to worry about compatibility issues for users. Also when this PR will be
merged I will need to update all of the other Pekko modules so the sooner
the better.
-- 

Matthew de Detrich

*Aiven Deutschland GmbH*

Immanuelkirchstraße 26, 10405 Berlin

Amtsgericht Charlottenburg, HRB 209739 B

Geschäftsführer: Oskari Saarenmaa & Hannu Valtonen

*m:* +491603708037

*w:* aiven.io *e:* [email protected]

Reply via email to