sofastack/sofa-hessian

Change NameBlackListFilter to native API of hessian.

Aperta

#36 aperta il 28 feb 2019

 (0 commenti) (0 reazioni) (0 assegnatari)Java (60 fork)auto 404
enhancementhelp wanted

Metriche repository

Star
 (153 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor