mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
Sftp
reconnectIfTimeout
方法改为捕获所有异常(issue#3989@Github)
This commit is contained in:
@@ -2,12 +2,14 @@
|
||||
# 🚀Changelog
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
# 5.8.40(2025-07-02)
|
||||
# 5.8.40(2025-07-08)
|
||||
|
||||
### 🐣新特性
|
||||
* 【captcha】 `MathGenerator`四则运算方式支持不生成负数结果(pr#1363@Gitee)
|
||||
* 【core 】 增加`MapValueProvider`和`RecordConverter`并支持Record转换(issue#3985@Github)
|
||||
|
||||
### 🐞Bug修复
|
||||
* 【extra 】 `Sftp``reconnectIfTimeout`方法改为捕获所有异常(issue#3989@Github)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
# 5.8.39(2025-06-20)
|
||||
@@ -33,7 +35,7 @@
|
||||
* 【core 】 修复`ClassUti`isNormalClass判断未排除String问题(issue#3965@Github)
|
||||
* 【core 】 修复`ZipUtil`中zlib和unZlib调用后资源未释放问题(issue#3976@Github)
|
||||
* 【core 】 修复`Money`类的setAmount方法没有获取当前币种的小数位数而是使用的默认小数位和在遇到非2小数位的币种(如日元使用 0 位)会导致金额设置错误问题(pr#3970@Github)
|
||||
* 【cahce 】 修复`AbstractCache`putWithoutLock方法可能导致的外部资源泄露问题(pr#3958@Github)
|
||||
* 【cache 】 修复`AbstractCache`putWithoutLock方法可能导致的外部资源泄露问题(pr#3958@Github)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
# 5.8.38(2025-05-13)
|
||||
|
@@ -226,7 +226,7 @@ public class Sftp extends AbstractFtp {
|
||||
}
|
||||
try {
|
||||
this.cd(StrUtil.SLASH);
|
||||
} catch (FtpException e) {
|
||||
} catch (Exception e) {
|
||||
close();
|
||||
init();
|
||||
}
|
||||
|
Reference in New Issue
Block a user