NutzCN Logo
问答 实体类反射warning
发布于 2167天前 作者 minamiyakusoku 1781 次浏览 复制 上一个帖子 下一个帖子
标签:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.nutz.lang.reflect.ReflectTool$1 (file:/Users/minamiyakusoku/.m2/repository/org/nutz/nutz/1.r.66/nutz-1.r.66.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.nutz.lang.reflect.ReflectTool$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release




相关代码
    public static FaceThredhold4Add DEFAULT(){
        FaceThredhold4Add thredhold = new FaceThredhold4Add();

        PropertiesProxy pp = new PropertiesProxy("config/");

        thredhold.setQualitySize(0.5);
        thredhold.setQualityPose(0.8);
        thredhold.setQualityBlur(0.45);
        thredhold.setQualityOcclusion(0.8);
        return thredhold;
    }

实体类这个函数调用时出了warning

1 回复

嗯,可以无视的

添加回复
请先登陆
回到顶部