Browse Source

Pull request #4223: DEC-20671 fix: was下请求服务器数据失败

Merge in CORE/base-third from ~CLOUD.LIU/base-third:release/10.0 to release/10.0

* commit 'e90d644b999ff908decd3268a367963824a8862b':
  DEC-20671 fix: was下请求服务器数据失败
release/10.0
Cloud.Liu 3 years ago
parent
commit
26748dd473
  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() { public Annotation[] getParameterAnnotations() {
Annotation[] paramAnns = this.parameterAnnotations; 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) { if (paramAnns == null) {
Annotation[][] annotationArray = (this.method != null ? Annotation[][] annotationArray = (this.method != null ?
this.method.getParameterAnnotations() : this.constructor.getParameterAnnotations()); this.method.getParameterAnnotations() : this.constructor.getParameterAnnotations());

Loading…
Cancel
Save