From 8e5c4903d4eb4294a92f15fbf88b4255f59e44a2 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Wed, 13 Jul 2022 16:47:35 +0200 Subject: [PATCH 1/2] Avoid synchronization in AbstractAspectJAdvice#calculateArgumentBindings Aligned with the early calculateArgumentBindings call in ReflectiveAspectJAdvisorFactory. Closes gh-26377 --- .../springframework/aop/aspectj/AbstractAspectJAdvice.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-aop/src/main/java/org/springframework/aop/aspectj/AbstractAspectJAdvice.java b/spring-aop/src/main/java/org/springframework/aop/aspectj/AbstractAspectJAdvice.java index 8ef1bf148a1..975b4e062da 100644 --- a/spring-aop/src/main/java/org/springframework/aop/aspectj/AbstractAspectJAdvice.java +++ b/spring-aop/src/main/java/org/springframework/aop/aspectj/AbstractAspectJAdvice.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -368,7 +368,7 @@ public abstract class AbstractAspectJAdvice implements Advice, AspectJPrecedence * to which argument name. There are multiple strategies for determining * this binding, which are arranged in a ChainOfResponsibility. */ - public final synchronized void calculateArgumentBindings() { + public final void calculateArgumentBindings() { // The simple case... nothing to bind. if (this.argumentsIntrospected || this.parameterTypes.length == 0) { return; From 02b7ddbc7027dc49a6c899724ab3922d996bd81c Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Wed, 13 Jul 2022 16:48:02 +0200 Subject: [PATCH 2/2] Upgrade to Log4J 2.18, H2 2.1.214, OpenPDF 1.3.29, XStream 1.4.19, HtmlUnit 2.63, Jetty Reactive HttpClient 1.1.12 --- build.gradle | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index b6037c2c184..0816f8eb0d7 100644 --- a/build.gradle +++ b/build.gradle @@ -39,7 +39,7 @@ configure(allprojects) { project -> mavenBom "org.junit:junit-bom:5.8.2" } dependencies { - dependencySet(group: 'org.apache.logging.log4j', version: '2.17.2') { + dependencySet(group: 'org.apache.logging.log4j', version: '2.18.0') { entry 'log4j-api' entry 'log4j-core' entry 'log4j-jul' @@ -79,7 +79,7 @@ configure(allprojects) { project -> dependency "com.google.code.gson:gson:2.8.9" dependency "com.google.protobuf:protobuf-java-util:3.19.3" dependency "com.googlecode.protobuf-java-format:protobuf-java-format:1.4" - dependency("com.thoughtworks.xstream:xstream:1.4.18") { + dependency("com.thoughtworks.xstream:xstream:1.4.19") { exclude group: "xpp3", name: "xpp3_min" exclude group: "xmlpull", name: "xmlpull" } @@ -94,9 +94,9 @@ configure(allprojects) { project -> dependency "org.ogce:xpp3:1.1.6" dependency "org.yaml:snakeyaml:1.30" - dependency "com.h2database:h2:2.1.212" + dependency "com.h2database:h2:2.1.214" dependency "com.github.ben-manes.caffeine:caffeine:2.9.3" - dependency "com.github.librepdf:openpdf:1.3.28" + dependency "com.github.librepdf:openpdf:1.3.29" dependency "com.rometools:rome:1.18.0" dependency "commons-io:commons-io:2.5" dependency "io.vavr:vavr:0.10.4" @@ -150,7 +150,7 @@ configure(allprojects) { project -> } } - dependency "org.eclipse.jetty:jetty-reactive-httpclient:1.1.11" + dependency "org.eclipse.jetty:jetty-reactive-httpclient:1.1.12" dependency 'org.apache.httpcomponents.client5:httpclient5:5.1.3' dependency 'org.apache.httpcomponents.core5:httpcore5-reactive:5.1.3' dependency("org.apache.httpcomponents:httpclient:4.5.13") { @@ -206,10 +206,10 @@ configure(allprojects) { project -> } dependency "io.mockk:mockk:1.12.1" - dependency("net.sourceforge.htmlunit:htmlunit:2.62.0") { + dependency("net.sourceforge.htmlunit:htmlunit:2.63.0") { exclude group: "commons-logging", name: "commons-logging" } - dependency("org.seleniumhq.selenium:htmlunit-driver:2.62.0") { + dependency("org.seleniumhq.selenium:htmlunit-driver:2.63.0") { exclude group: "commons-logging", name: "commons-logging" } dependency("org.seleniumhq.selenium:selenium-java:3.141.59") {