Browse Source

Merge pull request #4240 in CORE/base-third from bugfix/10.0 to feature/10.0

* commit '6869107b77798f0d9a188f336e9a728b54764f1c':
  DEC-20671 fix: was下请求服务器数据失败
feature/10.0
superman 3 years ago
parent
commit
7ee7ca5e95
  1. 6
      fine-spring/src/main/java/com/fr/third/springframework/core/MethodParameter.java

6
fine-spring/src/main/java/com/fr/third/springframework/core/MethodParameter.java

@ -503,6 +503,12 @@ public class MethodParameter {
*/
public Annotation[] getParameterAnnotations() {
Annotation[] paramAnns = this.parameterAnnotations;
// https://work.fineres.com/browse/DEC-20671 IBM WebSphere OpenJ9 JDK
if (this.method != null) {
this.method.getDeclaredAnnotations();
}
if (paramAnns == null) {
Annotation[][] annotationArray = (this.method != null ?
this.method.getParameterAnnotations() : this.constructor.getParameterAnnotations());

Loading…
Cancel
Save