You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2022/11/28 09:30:28 UTC

[dubbo] branch 2.7.19-release created (now 3e8c759a6b)

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

albumenj pushed a change to branch 2.7.19-release
in repository https://gitbox.apache.org/repos/asf/dubbo.git


      at 3e8c759a6b Prepare 2.7.19 release

This branch includes the following new commits:

     new 37689d927a Cherry pick #9340
     new 3e8c759a6b Prepare 2.7.19 release

The 2 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.



[dubbo] 01/02: Cherry pick #9340

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

albumenj pushed a commit to branch 2.7.19-release
in repository https://gitbox.apache.org/repos/asf/dubbo.git

commit 37689d927ac1967ffef5e7681100d1d0256c33ba
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Mon Nov 28 17:29:01 2022 +0800

    Cherry pick #9340
---
 .../serialize/hessian2/dubbo/DefaultHessian2FactoryInitializer.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dubbo-serialization/dubbo-serialization-hessian2/src/main/java/org/apache/dubbo/common/serialize/hessian2/dubbo/DefaultHessian2FactoryInitializer.java b/dubbo-serialization/dubbo-serialization-hessian2/src/main/java/org/apache/dubbo/common/serialize/hessian2/dubbo/DefaultHessian2FactoryInitializer.java
index 042889ef45..fbb41618ab 100644
--- a/dubbo-serialization/dubbo-serialization-hessian2/src/main/java/org/apache/dubbo/common/serialize/hessian2/dubbo/DefaultHessian2FactoryInitializer.java
+++ b/dubbo-serialization/dubbo-serialization-hessian2/src/main/java/org/apache/dubbo/common/serialize/hessian2/dubbo/DefaultHessian2FactoryInitializer.java
@@ -23,6 +23,9 @@ import com.alibaba.com.caucho.hessian.io.SerializerFactory;
 public class DefaultHessian2FactoryInitializer extends AbstractHessian2FactoryInitializer {
     @Override
     protected SerializerFactory createSerializerFactory() {
-        return new Hessian2SerializerFactory();
+        Hessian2SerializerFactory hessian2SerializerFactory = new Hessian2SerializerFactory();
+        hessian2SerializerFactory.getClassFactory().allow(RuntimeException.class.getName());
+        hessian2SerializerFactory.setAllowNonSerializable(Boolean.parseBoolean(System.getProperty("dubbo.hessian.allowNonSerializable", "false")));
+        return hessian2SerializerFactory;
     }
 }


[dubbo] 02/02: Prepare 2.7.19 release

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

albumenj pushed a commit to branch 2.7.19-release
in repository https://gitbox.apache.org/repos/asf/dubbo.git

commit 3e8c759a6bf40800eb77120d3008d322b494b8a7
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Mon Nov 28 17:29:31 2022 +0800

    Prepare 2.7.19 release
---
 dubbo-dependencies-bom/pom.xml                          | 2 +-
 dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml | 2 +-
 pom.xml                                                 | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dubbo-dependencies-bom/pom.xml b/dubbo-dependencies-bom/pom.xml
index 5887c2e562..e1281f05ac 100644
--- a/dubbo-dependencies-bom/pom.xml
+++ b/dubbo-dependencies-bom/pom.xml
@@ -169,7 +169,7 @@
         <mortbay_jetty_version>6.1.26</mortbay_jetty_version>
         <portlet_version>2.0</portlet_version>
         <maven_flatten_version>1.1.0</maven_flatten_version>
-        <revision>2.7.18-SNAPSHOT</revision>
+        <revision>2.7.19</revision>
     </properties>
 
     <dependencyManagement>
diff --git a/dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml b/dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml
index 8c9a58f2b3..3ee832b2c9 100644
--- a/dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml
+++ b/dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml
@@ -32,7 +32,7 @@
     <packaging>pom</packaging>
 
     <properties>
-        <revision>2.7.18-SNAPSHOT</revision>
+        <revision>2.7.19</revision>
         <maven_flatten_version>1.1.0</maven_flatten_version>
     </properties>
 
diff --git a/pom.xml b/pom.xml
index 529d58f4bb..e96d44718d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -127,7 +127,7 @@
         <arguments />
         <checkstyle.skip>true</checkstyle.skip>
         <rat.skip>true</rat.skip>
-        <revision>2.7.18-SNAPSHOT</revision>
+        <revision>2.7.19</revision>
     </properties>
 
     <modules>