mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:20:07 +08:00
修复DefaultTrustManager空指针问题
This commit is contained in:
parent
ecc4cd64eb
commit
3776f5a1ef
@ -18,6 +18,7 @@
|
||||
* 【core 】 修复IoUtil.copyByNIO方法写出时没有flush的问题
|
||||
* 【core 】 修复TreeBuilder中使用HashMap导致默认乱序问题(issue#I5Z8C5@Gitee)
|
||||
* 【core 】 修复StrUtil.subWithLength负数问题(issue#I5YN49@Gitee)
|
||||
* 【core 】 修复DefaultTrustManager空指针问题(issue#2716@Github)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
# 5.8.9 (2022-10-22)
|
||||
|
@ -22,7 +22,7 @@ public class DefaultTrustManager extends X509ExtendedTrustManager {
|
||||
|
||||
@Override
|
||||
public X509Certificate[] getAcceptedIssuers() {
|
||||
return null;
|
||||
return new X509Certificate[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user