Commit Graph

17 Commits

Author SHA1 Message Date
TomlongTK 164aebf6ed
Fix readBytes and writeBytes methods in fastjson2 (#13968) 2024-03-21 16:26:20 +08:00
Albumen Kevin 0d879666b4
Support exclude fastjson2 or hessian2 serialization dependencies (#13441)
* Support exclude fastjson2 or hessian2 serialization dependencies

* Fix style

* Support check

* Fix test cases

* lint

* Fix test cases

* Style
2023-12-04 21:32:50 +08:00
huazhongming 730695a7a2
[3.2]Use spotless to format the code (#13320)
* Use spotless to format the code

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

* Support develop with JDK 21

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

---------

Signed-off-by: crazyhzm <crazyhzm@gmail.com>
2023-11-07 15:40:13 +08:00
Albumen Kevin 4dbd31ebb1
Update log level for serialization check (#12903) 2023-08-16 10:53:43 +08:00
dependabot[bot] a060673412
Bump com.alibaba.fastjson2:fastjson2 from 2.0.35 to 2.0.38 (#12822)
* Bump com.alibaba.fastjson2:fastjson2 from 2.0.35 to 2.0.38

Bumps [com.alibaba.fastjson2:fastjson2](https://github.com/alibaba/fastjson2) from 2.0.35 to 2.0.38.
- [Release notes](https://github.com/alibaba/fastjson2/releases)
- [Commits](https://github.com/alibaba/fastjson2/compare/2.0.35...2.0.38)

---
updated-dependencies:
- dependency-name: com.alibaba.fastjson2:fastjson2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* throws exception if ban

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-08-10 19:25:57 +08:00
Albumen Kevin d8a314ff33
Wait executor terminated & Remove some usage of default model (#12713) 2023-07-12 14:36:49 +08:00
wxbty 3d02e9c789
serialization RpcException bug pr rebase (#12357)
* rebase seri error

* fix style

* wrapper seriation exception by IOException

* fix ci

* use exception

* Multiple encode/decode conversion exceptions

* use wrapper to handle seri exp

* add licence

* move seriExp path

* revert demo

* use static proxy

* fix ci

* fix ci

* Update dubbo-serialization/dubbo-serialization-api/src/main/java/org/apache/dubbo/common/serialize/DefaultSerializationExceptionWrapper.java

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>

* simplefy throwable type

* judge IOException

---------

Co-authored-by: xuziyang <767637918@qq.com>
Co-authored-by: x-shadow-man <1494445739@qq.com>
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-06-03 14:52:52 +08:00
Albumen Kevin 7e3064f9b6
Deny allow (#12068)
* Deny allow

* Fix test

* Fix test

* trust metadata info

* trust hessian

* Fix compile

* Fix compile

* Fix test

* Fix test

* Fix test
2023-04-12 00:15:07 +08:00
Albumen Kevin f0f01c36c3
Fix serializable check & Add test cases (#12054)
* Add test cases

* Fix uts

* Add fj2 test

* save

* Fix check

* Disable some test cases

* Fix test
2023-04-11 16:58:55 +08:00
Albumen Kevin 5a27cb55b0
Enhance serializable check option (#11460)
* Enhance serializable check option

* Fix
2023-02-14 15:15:51 +08:00
Albumen Kevin 7152528d77
Add SerializeWarnedClasses qos support (#11449) 2023-02-03 10:56:54 +08:00
Albumen Kevin 47f7419d56
Fix classname (#11444) 2023-02-02 16:15:47 +08:00
Albumen Kevin c71a05a58c
Enhance Check (#11419) 2023-02-01 16:33:20 +08:00
Albumen Kevin 67993e168e
Switch default check level (#11279) 2023-01-11 15:01:16 +08:00
Albumen Kevin 84c1c35aae
Add serialization check (#11217) 2023-01-11 11:41:52 +08:00
Andy Cheung a36c21c277
Add error code 2-2, 6-1, 6-2, 0-1. (#10391)
* Replace logger implementation of dubbo-remoting-nettyX module.

* Replace logger implementation of dubbo-remoting-nettyX module.

* Add error code 2-2 (in AbstractDirectory), 6-1 and 6-2 (in Netty implementation).

* Swap the position of modifiers.

* Adding error code 0-1, and expanding the blocking-queue- selecting logic.

* Adding message of error code 0-1.

* Change created blocking queue's variable name in FixedThreadPool.
2022-08-01 14:31:34 +08:00
Albumen Kevin f1af604e7e
Fastjson2 Support (#10166) 2022-07-15 10:18:41 +08:00