You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by he...@apache.org on 2025/09/13 16:05:01 UTC

(pekko) branch compat8 created (now 07d36a7827)

This is an automated email from the ASF dual-hosted git repository.

hepin pushed a change to branch compat8
in repository https://gitbox.apache.org/repos/asf/pekko.git


      at 07d36a7827 chore: remove scala.compat.java8 in osgi

This branch includes the following new commits:

     new 07d36a7827 chore: remove scala.compat.java8 in osgi

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org


(pekko) 01/01: chore: remove scala.compat.java8 in osgi

Posted by he...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hepin pushed a commit to branch compat8
in repository https://gitbox.apache.org/repos/asf/pekko.git

commit 07d36a78276cac4b064dc6d6de15714db8e67b92
Author: He-Pin <he...@gmail.com>
AuthorDate: Sun Sep 14 00:04:48 2025 +0800

    chore: remove scala.compat.java8 in osgi
---
 project/OSGi.scala | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/project/OSGi.scala b/project/OSGi.scala
index 21e9571074..19e5edea50 100644
--- a/project/OSGi.scala
+++ b/project/OSGi.scala
@@ -51,7 +51,6 @@ object OSGi {
     // pekko-actor packages are not imported, as contained in the CP
     OsgiKeys.importPackage := (osgiOptionalImports.map(optionalResolution)) ++ Seq(
       "!sun.misc",
-      scalaJava8CompatImport(),
       scalaVersion(scalaImport).value,
       configImport(),
       "*"),
@@ -77,7 +76,6 @@ object OSGi {
   lazy val protobufV3 = osgiSettings ++ Seq(
     OsgiKeys.importPackage := Seq(
       "!sun.misc",
-      scalaJava8CompatImport(),
       scalaVersion(scalaImport).value,
       configImport(),
       "*"),
@@ -97,9 +95,7 @@ object OSGi {
   lazy val stream =
     exports(
       packages = Seq("org.apache.pekko.stream.*"),
-      imports = Seq(
-        scalaJava8CompatImport(),
-        scalaParsingCombinatorImport()))
+      imports = Seq(scalaParsingCombinatorImport()))
 
   lazy val streamTestkit = exports(Seq("org.apache.pekko.stream.testkit.*"))
 
@@ -148,8 +144,6 @@ object OSGi {
     val ScalaVersion(epoch, major) = version
     versionedImport(packageName, s"$epoch.$major", s"$epoch.${major.toInt + 1}")
   }
-  def scalaJava8CompatImport(packageName: String = "scala.compat.java8.*") =
-    versionedImport(packageName, "1.0.2", "1.0.2")
   def scalaParsingCombinatorImport(packageName: String = "scala.util.parsing.combinator.*") =
     versionedImport(packageName, "1.1.0", "1.2.0")
   def kamonImport(packageName: String = "kamon.sigar.*") =


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org