Skip to content

Commit 8e5c490

Browse files
committed
Avoid synchronization in AbstractAspectJAdvice#calculateArgumentBindings
Aligned with the early calculateArgumentBindings call in ReflectiveAspectJAdvisorFactory. Closes gh-26377
1 parent bd34996 commit 8e5c490

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-aop/src/main/java/org/springframework/aop/aspectj/AbstractAspectJAdvice.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -368,7 +368,7 @@ private static boolean isVariableName(String name) {
368368
* to which argument name. There are multiple strategies for determining
369369
* this binding, which are arranged in a ChainOfResponsibility.
370370
*/
371-
public final synchronized void calculateArgumentBindings() {
371+
public final void calculateArgumentBindings() {
372372
// The simple case... nothing to bind.
373373
if (this.argumentsIntrospected || this.parameterTypes.length == 0) {
374374
return;

0 commit comments

Comments
 (0)