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

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


The following commit(s) were added to refs/heads/main by this push:
     new f42ab033ab Update jackson-core to 3.2.0 (#3054)
f42ab033ab is described below

commit f42ab033aba45db4b236e0166917d6b53b5a6374
Author: Scala Steward <[email protected]>
AuthorDate: Sun Jun 14 19:18:28 2026 +0200

    Update jackson-core to 3.2.0 (#3054)
    
    * Update jackson-core to 3.2.0
    
    * try to fix compile issue (due to deprecation of a Jackson class)
    
    ---------
    
    Co-authored-by: PJ Fanning <[email protected]>
---
 project/Dependencies.scala                                             | 2 +-
 .../org/apache/pekko/serialization/jackson3/JacksonSerializer.scala    | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index 8aa6e34ba6..deec5b2d47 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.scala
@@ -40,7 +40,7 @@ object Dependencies {
 
   val jacksonAnnotationsVersion = "2.21"
   val jacksonVersion2 = "2.22.0"
-  val jacksonVersion3 = "3.1.4"
+  val jacksonVersion3 = "3.2.0"
 
   val scala213Version = "2.13.18"
   val scala3Version = "3.3.8"
diff --git 
a/serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala
 
b/serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala
index 01c15ce4d8..3ca46a78d6 100644
--- 
a/serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala
+++ 
b/serialization-jackson3/src/main/scala/org/apache/pekko/serialization/jackson3/JacksonSerializer.scala
@@ -17,7 +17,7 @@ import java.io.{ ByteArrayOutputStream, 
NotSerializableException }
 import java.nio.ByteBuffer
 import java.util.zip.{ GZIPInputStream, GZIPOutputStream }
 
-import scala.annotation.tailrec
+import scala.annotation.{ nowarn, tailrec }
 import scala.util.{ Failure, Success }
 import scala.util.control.NonFatal
 
@@ -45,6 +45,7 @@ import pekko.util.OptionVal
    * Not nice to depend on implementation details of Jackson, but good to use 
the same
    * list to automatically have the list updated when new classes are added in 
Jackson.
    */
+  @nowarn("msg=deprecated")
   class GadgetClassDenyList extends SubTypeValidator {
 
     private def defaultNoDeserClassNames: java.util.Set[String] =


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to