ReflectUtil增加二级缓存(pr#1433@Gitee)

This commit is contained in:
Looly
2026-03-11 15:22:25 +08:00
parent 1ab2b4c79a
commit 9e7413b9be
2 changed files with 8 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
# 🚀Changelog
-------------------------------------------------------------------------------------------------------------
# 5.8.44(2026-03-05)
# 5.8.44(2026-03-11)
### 🐣新特性
* 【core 】 `NumberUtil.parseNumber`增加支持科学计数法pr#4211@Github
* 【captcha】 `AbstractCaptcha`增加`setStroke`方法支持线条粗细issue#IDJQ15@Gitee
@@ -9,6 +9,7 @@
* 【core 】 `DateUtil.normalize`方法中正则预编译提升效率pr#4221@Gitee
* 【core 】 `AppendableWriter`增加checkNotClosedissue#IDMZ5K@Gitee
* 【core 】 `FastDateParser`改进在JDK25下三字母时区警告issue#4100@Github
* 【core 】 `ReflectUtil`增加二级缓存pr#1433@Gitee
### 🐞Bug修复
* 【json 】 修复`JSONUtil.wrap`忽略错误问题issue#4210@Github

View File

@@ -1223,8 +1223,12 @@ public class ReflectUtil {
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
MethodLookupKey that = (MethodLookupKey) o;
return ignoreCase == that.ignoreCase &&
Objects.equals(clazz, that.clazz) &&