自动化立体仓库 - WMS系统
pang.jiabao
2 天以前 7da744cde165889cee36b6a515ed82c1d15fb172
LicenseManager在运行过程中被以null参数重新初始化
1个文件已修改
4 ■■■ 已修改文件
src/main/java/com/zy/system/entity/license/LicenseManagerHolder.java 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/system/entity/license/LicenseManagerHolder.java
@@ -11,11 +11,13 @@
        if (LICENSE_MANAGER == null) {
            synchronized (LicenseManagerHolder.class) {
                if (LICENSE_MANAGER == null) {
                    if (param == null) {
                        throw new IllegalStateException("LicenseParam must not be null");
                    }
                    LICENSE_MANAGER = new CustomLicenseManager(param);
                }
            }
        }
        return LICENSE_MANAGER;
    }