Skip to content

Commit 4bfbf7d

Browse files
committed
Merge branch '6.0.x'
2 parents 279e6eb + 2111bf9 commit 4bfbf7d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

framework-platform/framework-platform.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies {
2424
constraints {
2525
api("com.fasterxml:aalto-xml:1.3.2")
2626
api("com.fasterxml.woodstox:woodstox-core:6.5.1")
27-
api("com.github.ben-manes.caffeine:caffeine:3.1.7")
27+
api("com.github.ben-manes.caffeine:caffeine:3.1.8")
2828
api("com.github.librepdf:openpdf:1.3.30")
2929
api("com.google.code.findbugs:findbugs:3.0.1")
3030
api("com.google.code.findbugs:jsr305:3.0.2")
@@ -99,7 +99,7 @@ dependencies {
9999
api("org.apache.derby:derbyclient:10.16.1.1")
100100
api("org.apache.derby:derbytools:10.16.1.1")
101101
api("org.apache.httpcomponents.client5:httpclient5:5.2.1")
102-
api("org.apache.httpcomponents.core5:httpcore5-reactive:5.2.1")
102+
api("org.apache.httpcomponents.core5:httpcore5-reactive:5.2.2")
103103
api("org.apache.poi:poi-ooxml:5.2.3")
104104
api("org.apache.tomcat.embed:tomcat-embed-core:10.1.12")
105105
api("org.apache.tomcat.embed:tomcat-embed-websocket:10.1.12")

spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AbstractAspectJAdvisorFactoryTests.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ void perTargetAspect() throws Exception {
127127
}
128128

129129
@Test
130-
void multiplePerTargetAspects() throws Exception {
130+
void multiplePerTargetAspects() {
131131
TestBean target = new TestBean();
132132
int realAge = 65;
133133
target.setAge(realAge);
@@ -153,7 +153,7 @@ void multiplePerTargetAspects() throws Exception {
153153
}
154154

155155
@Test
156-
void multiplePerTargetAspectsWithOrderAnnotation() throws Exception {
156+
void multiplePerTargetAspectsWithOrderAnnotation() {
157157
TestBean target = new TestBean();
158158
int realAge = 65;
159159
target.setAge(realAge);
@@ -283,7 +283,7 @@ private void namedPointcuts(Object aspectInstance) {
283283
int realAge = 65;
284284
target.setAge(realAge);
285285
ITestBean itb = createProxy(target, ITestBean.class,
286-
getAdvisorFactory().getAdvisors(aspectInstanceFactory(aspectInstance, "someBean")));
286+
getAdvisorFactory().getAdvisors(aspectInstanceFactory(aspectInstance, "someBean")));
287287
assertThat(itb.getAge()).as("Around advice must apply").isEqualTo(-1);
288288
assertThat(target.getAge()).isEqualTo(realAge);
289289
}
@@ -292,7 +292,7 @@ private void namedPointcuts(Object aspectInstance) {
292292
void bindingWithSingleArg() {
293293
TestBean target = new TestBean();
294294
ITestBean itb = createProxy(target, ITestBean.class,
295-
getAdvisorFactory().getAdvisors(aspectInstanceFactory(new BindingAspectWithSingleArg(), "someBean")));
295+
getAdvisorFactory().getAdvisors(aspectInstanceFactory(new BindingAspectWithSingleArg(), "someBean")));
296296
itb.setAge(10);
297297
assertThat(itb.getAge()).as("Around advice must apply").isEqualTo(20);
298298
assertThat(target.getAge()).isEqualTo(20);
@@ -483,7 +483,7 @@ void afterAdviceTypes() throws Exception {
483483
}
484484

485485
@Test
486-
void nonAbstractParentAspect() throws Exception {
486+
void nonAbstractParentAspect() {
487487
IncrementingAspect aspect = new IncrementingAspect();
488488

489489
// Precondition:
@@ -689,7 +689,7 @@ void doubleArg(ProceedingJoinPoint pjp, int x) throws Throwable {
689689
@Aspect
690690
static class Library {
691691

692-
@Pointcut("execution(!void get*())")
692+
@Pointcut("execution(int get*())") // before AspectJ 1.9.20, "!void" used to work instead of "int"
693693
void propertyAccess() {}
694694

695695
@Pointcut("execution(* *(..)) && args(i)")

0 commit comments

Comments
 (0)