dromara / dromara/forest

ReflectUtils.isForestBaseAnnotation递归调用,导致StackOverflowError

Open
#128 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
241
PR merge metrics
No merged PRs in 30d

Description

## 问题说明
- `ReflectUtils.isForestBaseAnnotation`递归调用,导致`StackOverflowError`
```
public static boolean isForestBaseAnnotation(Annotation annotation) {
return isForestBaseAnnotation(annotation);
}
```
## 解决方案
```
public static boolean isForestBaseAnnotation(Annotation annotation) {
return isForestBaseAnnotation(annotation.annotationType());
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.