Skip to content

Commit dfc053a

Browse files
committed
Merge branch '6.1.x'
# Conflicts: # framework-platform/framework-platform.gradle
2 parents 87855e2 + 26706f0 commit dfc053a

File tree

4 files changed

+19
-17
lines changed

4 files changed

+19
-17
lines changed

buildSrc/src/main/java/org/springframework/build/CheckstyleConventions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public void apply(Project project) {
5050
project.getPlugins().apply(CheckstylePlugin.class);
5151
project.getTasks().withType(Checkstyle.class).forEach(checkstyle -> checkstyle.getMaxHeapSize().set("1g"));
5252
CheckstyleExtension checkstyle = project.getExtensions().getByType(CheckstyleExtension.class);
53-
checkstyle.setToolVersion("10.15.0");
53+
checkstyle.setToolVersion("10.16.0");
5454
checkstyle.getConfigDirectory().set(project.getRootProject().file("src/checkstyle"));
5555
String version = SpringJavaFormatPlugin.class.getPackage().getImplementationVersion();
5656
DependencySet checkstyleDependencies = project.getConfigurations().getByName("checkstyle").getDependencies();

framework-platform/framework-platform.gradle

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ javaPlatform {
99
dependencies {
1010
api(platform("com.fasterxml.jackson:jackson-bom:2.15.4"))
1111
api(platform("io.micrometer:micrometer-bom:1.13.0-RC1"))
12-
api(platform("io.netty:netty-bom:4.1.108.Final"))
12+
api(platform("io.netty:netty-bom:4.1.109.Final"))
1313
api(platform("io.netty:netty5-bom:5.0.0.Alpha5"))
1414
api(platform("io.projectreactor:reactor-bom:2024.0.0-M1"))
1515
api(platform("io.rsocket:rsocket-bom:1.1.3"))
16-
api(platform("org.apache.groovy:groovy-bom:4.0.20"))
16+
api(platform("org.apache.groovy:groovy-bom:4.0.21"))
1717
api(platform("org.apache.logging.log4j:log4j-bom:2.21.1"))
1818
api(platform("org.assertj:assertj-bom:3.25.3"))
19-
api(platform("org.eclipse.jetty:jetty-bom:12.0.7"))
20-
api(platform("org.eclipse.jetty.ee10:jetty-ee10-bom:12.0.7"))
19+
api(platform("org.eclipse.jetty:jetty-bom:12.0.8"))
20+
api(platform("org.eclipse.jetty.ee10:jetty-ee10-bom:12.0.8"))
2121
api(platform("org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.7.3"))
2222
api(platform("org.jetbrains.kotlinx:kotlinx-serialization-bom:1.6.0"))
2323
api(platform("org.junit:junit-bom:5.10.2"))
@@ -55,9 +55,9 @@ dependencies {
5555
api("io.r2dbc:r2dbc-spi:1.0.0.RELEASE")
5656
api("io.reactivex.rxjava3:rxjava:3.1.8")
5757
api("io.smallrye.reactive:mutiny:1.10.0")
58-
api("io.undertow:undertow-core:2.3.12.Final")
59-
api("io.undertow:undertow-servlet:2.3.12.Final")
60-
api("io.undertow:undertow-websockets-jsr:2.3.12.Final")
58+
api("io.undertow:undertow-core:2.3.13.Final")
59+
api("io.undertow:undertow-servlet:2.3.13.Final")
60+
api("io.undertow:undertow-websockets-jsr:2.3.13.Final")
6161
api("io.vavr:vavr:0.10.4")
6262
api("jakarta.activation:jakarta.activation-api:2.0.1")
6363
api("jakarta.annotation:jakarta.annotation-api:2.0.0")
@@ -102,10 +102,10 @@ dependencies {
102102
api("org.apache.httpcomponents.client5:httpclient5:5.3.1")
103103
api("org.apache.httpcomponents.core5:httpcore5-reactive:5.2.4")
104104
api("org.apache.poi:poi-ooxml:5.2.5")
105-
api("org.apache.tomcat.embed:tomcat-embed-core:10.1.20")
106-
api("org.apache.tomcat.embed:tomcat-embed-websocket:10.1.20")
107-
api("org.apache.tomcat:tomcat-util:10.1.20")
108-
api("org.apache.tomcat:tomcat-websocket:10.1.20")
105+
api("org.apache.tomcat.embed:tomcat-embed-core:10.1.23")
106+
api("org.apache.tomcat.embed:tomcat-embed-websocket:10.1.23")
107+
api("org.apache.tomcat:tomcat-util:10.1.23")
108+
api("org.apache.tomcat:tomcat-websocket:10.1.23")
109109
api("org.aspectj:aspectjrt:1.9.22")
110110
api("org.aspectj:aspectjtools:1.9.22")
111111
api("org.aspectj:aspectjweaver:1.9.22")

spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanFactory.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@ else if (requiredType != null) {
321321
// requested (indicated by required type), not for depends-on cascades.
322322
throw new BeanCreationException(mbd.getResourceDescription(), beanName,
323323
"Failed to initialize dependency '" + ex.getBeanName() + "' of " +
324-
requiredType.getSimpleName() + " bean '" + beanName + "'", ex);
324+
requiredType.getSimpleName() + " bean '" + beanName + "': " +
325+
ex.getMessage(), ex);
325326
}
326327
throw ex;
327328
}

spring-beans/src/main/java/org/springframework/beans/factory/support/RegisteredBean.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,8 @@ public InstantiationDescriptor resolveInstantiationDescriptor() {
227227
if (executable instanceof Method method && !Modifier.isStatic(method.getModifiers())) {
228228
String factoryBeanName = getMergedBeanDefinition().getFactoryBeanName();
229229
if (factoryBeanName != null && this.beanFactory.containsBean(factoryBeanName)) {
230-
Class<?> target = this.beanFactory.getMergedBeanDefinition(factoryBeanName)
231-
.getResolvableType().toClass();
232-
return new InstantiationDescriptor(executable, target);
230+
return new InstantiationDescriptor(executable,
231+
this.beanFactory.getMergedBeanDefinition(factoryBeanName).getResolvableType().toClass());
233232
}
234233
}
235234
return new InstantiationDescriptor(executable, executable.getDeclaringClass());
@@ -260,8 +259,9 @@ public String toString() {
260259
.append("mergedBeanDefinition", getMergedBeanDefinition()).toString();
261260
}
262261

262+
263263
/**
264-
* Describe how a bean should be instantiated. While the {@code targetClass}
264+
* Descriptor for how a bean should be instantiated. While the {@code targetClass}
265265
* is usually the declaring class of the {@code executable}, there are cases
266266
* where retaining the actual concrete type is necessary.
267267
* @param executable the {@link Executable} to invoke
@@ -275,6 +275,7 @@ public InstantiationDescriptor(Executable executable) {
275275
}
276276
}
277277

278+
278279
/**
279280
* Resolver used to obtain inner-bean details.
280281
*/

0 commit comments

Comments
 (0)