sofastack/sofa-hessian

Change NameBlackListFilter to native API of hessian.

Open

#36 opened on Feb 28, 2019

 (0 comments) (0 reactions) (0 assignees)Java (60 forks)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (153 stars)
PR merge metrics
 (PR metrics pending)

Description

There is a new API from hessian-4.0.51 and improved in hessian-4.0.60.

public class ClassFactory
{
    private static ArrayList<Allow> _staticAllowList;

    private ClassLoader             _loader;
    private boolean                 _isWhitelist;

    private ArrayList<Allow>        _allowList;

We can change to native API for better compatibility.

Contributor guide