mirror of https://github.com/apache/dubbo.git
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>
This commit is contained in:
parent
45405ff340
commit
a060673412
|
@ -102,7 +102,7 @@
|
|||
<httpclient_version>4.5.14</httpclient_version>
|
||||
<httpcore_version>4.4.16</httpcore_version>
|
||||
<fastjson_version>1.2.83</fastjson_version>
|
||||
<fastjson2_version>2.0.35</fastjson2_version>
|
||||
<fastjson2_version>2.0.38</fastjson2_version>
|
||||
<zookeeper_version>3.4.14</zookeeper_version>
|
||||
<curator_version>4.3.0</curator_version>
|
||||
<curator_test_version>2.12.0</curator_test_version>
|
||||
|
|
|
@ -16,10 +16,6 @@
|
|||
*/
|
||||
package org.apache.dubbo.common.serialize.fastjson2;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import org.apache.dubbo.common.logger.ErrorTypeAwareLogger;
|
||||
import org.apache.dubbo.common.logger.LoggerFactory;
|
||||
import org.apache.dubbo.common.utils.AllowClassNotifyListener;
|
||||
|
@ -31,6 +27,10 @@ import org.apache.dubbo.rpc.model.FrameworkModel;
|
|||
import com.alibaba.fastjson2.filter.ContextAutoTypeBeforeHandler;
|
||||
import com.alibaba.fastjson2.util.TypeUtils;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import static com.alibaba.fastjson2.util.TypeUtils.loadClass;
|
||||
import static org.apache.dubbo.common.constants.LoggerCodeConstants.PROTOCOL_UNTRUSTED_SERIALIZE_CLASS;
|
||||
import static org.apache.dubbo.common.utils.SerializeCheckStatus.STRICT;
|
||||
|
@ -115,7 +115,7 @@ public class Fastjson2SecurityManager implements AllowClassNotifyListener {
|
|||
logger.error(PROTOCOL_UNTRUSTED_SERIALIZE_CLASS, "", "", msg);
|
||||
}
|
||||
|
||||
return null;
|
||||
throw new IllegalArgumentException(msg);
|
||||
}
|
||||
|
||||
// 3. try load
|
||||
|
|
Loading…
Reference in New Issue