apache / apache/fesod

ModelBuildEventListener中使用的BeanMap无法处理pojo的getter方法可能抛出异常的情况

Open
#137 5 comments 0 reactions 0 assignees View on GitHub
wontfix
Dominant language
Java
Stars
6.2k
Forks
532
Avg merge
1d 3h
Merged PRs (30d)
42

Description

![image](https://github.com/user-attachments/assets/6bc0d6c3-3364-4fdb-9b0e-515233a452d6)
dataMap.put(fieldName, value);会返回旧值(调用getter方法),如果getter中抛出了异常就会失败,比如:

public Integer getAge(int age){
if(age<0){
throw ...
}
...
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.