Merge branch '6.1.x'
# Conflicts: # framework-platform/framework-platform.gradle
This commit is contained in:
commit
dfc053ad65
|
|
@ -50,7 +50,7 @@ public class CheckstyleConventions {
|
||||||
project.getPlugins().apply(CheckstylePlugin.class);
|
project.getPlugins().apply(CheckstylePlugin.class);
|
||||||
project.getTasks().withType(Checkstyle.class).forEach(checkstyle -> checkstyle.getMaxHeapSize().set("1g"));
|
project.getTasks().withType(Checkstyle.class).forEach(checkstyle -> checkstyle.getMaxHeapSize().set("1g"));
|
||||||
CheckstyleExtension checkstyle = project.getExtensions().getByType(CheckstyleExtension.class);
|
CheckstyleExtension checkstyle = project.getExtensions().getByType(CheckstyleExtension.class);
|
||||||
checkstyle.setToolVersion("10.15.0");
|
checkstyle.setToolVersion("10.16.0");
|
||||||
checkstyle.getConfigDirectory().set(project.getRootProject().file("src/checkstyle"));
|
checkstyle.getConfigDirectory().set(project.getRootProject().file("src/checkstyle"));
|
||||||
String version = SpringJavaFormatPlugin.class.getPackage().getImplementationVersion();
|
String version = SpringJavaFormatPlugin.class.getPackage().getImplementationVersion();
|
||||||
DependencySet checkstyleDependencies = project.getConfigurations().getByName("checkstyle").getDependencies();
|
DependencySet checkstyleDependencies = project.getConfigurations().getByName("checkstyle").getDependencies();
|
||||||
|
|
|
||||||
|
|
@ -9,15 +9,15 @@ javaPlatform {
|
||||||
dependencies {
|
dependencies {
|
||||||
api(platform("com.fasterxml.jackson:jackson-bom:2.15.4"))
|
api(platform("com.fasterxml.jackson:jackson-bom:2.15.4"))
|
||||||
api(platform("io.micrometer:micrometer-bom:1.13.0-RC1"))
|
api(platform("io.micrometer:micrometer-bom:1.13.0-RC1"))
|
||||||
api(platform("io.netty:netty-bom:4.1.108.Final"))
|
api(platform("io.netty:netty-bom:4.1.109.Final"))
|
||||||
api(platform("io.netty:netty5-bom:5.0.0.Alpha5"))
|
api(platform("io.netty:netty5-bom:5.0.0.Alpha5"))
|
||||||
api(platform("io.projectreactor:reactor-bom:2024.0.0-M1"))
|
api(platform("io.projectreactor:reactor-bom:2024.0.0-M1"))
|
||||||
api(platform("io.rsocket:rsocket-bom:1.1.3"))
|
api(platform("io.rsocket:rsocket-bom:1.1.3"))
|
||||||
api(platform("org.apache.groovy:groovy-bom:4.0.20"))
|
api(platform("org.apache.groovy:groovy-bom:4.0.21"))
|
||||||
api(platform("org.apache.logging.log4j:log4j-bom:2.21.1"))
|
api(platform("org.apache.logging.log4j:log4j-bom:2.21.1"))
|
||||||
api(platform("org.assertj:assertj-bom:3.25.3"))
|
api(platform("org.assertj:assertj-bom:3.25.3"))
|
||||||
api(platform("org.eclipse.jetty:jetty-bom:12.0.7"))
|
api(platform("org.eclipse.jetty:jetty-bom:12.0.8"))
|
||||||
api(platform("org.eclipse.jetty.ee10:jetty-ee10-bom:12.0.7"))
|
api(platform("org.eclipse.jetty.ee10:jetty-ee10-bom:12.0.8"))
|
||||||
api(platform("org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.7.3"))
|
api(platform("org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.7.3"))
|
||||||
api(platform("org.jetbrains.kotlinx:kotlinx-serialization-bom:1.6.0"))
|
api(platform("org.jetbrains.kotlinx:kotlinx-serialization-bom:1.6.0"))
|
||||||
api(platform("org.junit:junit-bom:5.10.2"))
|
api(platform("org.junit:junit-bom:5.10.2"))
|
||||||
|
|
@ -55,9 +55,9 @@ dependencies {
|
||||||
api("io.r2dbc:r2dbc-spi:1.0.0.RELEASE")
|
api("io.r2dbc:r2dbc-spi:1.0.0.RELEASE")
|
||||||
api("io.reactivex.rxjava3:rxjava:3.1.8")
|
api("io.reactivex.rxjava3:rxjava:3.1.8")
|
||||||
api("io.smallrye.reactive:mutiny:1.10.0")
|
api("io.smallrye.reactive:mutiny:1.10.0")
|
||||||
api("io.undertow:undertow-core:2.3.12.Final")
|
api("io.undertow:undertow-core:2.3.13.Final")
|
||||||
api("io.undertow:undertow-servlet:2.3.12.Final")
|
api("io.undertow:undertow-servlet:2.3.13.Final")
|
||||||
api("io.undertow:undertow-websockets-jsr:2.3.12.Final")
|
api("io.undertow:undertow-websockets-jsr:2.3.13.Final")
|
||||||
api("io.vavr:vavr:0.10.4")
|
api("io.vavr:vavr:0.10.4")
|
||||||
api("jakarta.activation:jakarta.activation-api:2.0.1")
|
api("jakarta.activation:jakarta.activation-api:2.0.1")
|
||||||
api("jakarta.annotation:jakarta.annotation-api:2.0.0")
|
api("jakarta.annotation:jakarta.annotation-api:2.0.0")
|
||||||
|
|
@ -102,10 +102,10 @@ dependencies {
|
||||||
api("org.apache.httpcomponents.client5:httpclient5:5.3.1")
|
api("org.apache.httpcomponents.client5:httpclient5:5.3.1")
|
||||||
api("org.apache.httpcomponents.core5:httpcore5-reactive:5.2.4")
|
api("org.apache.httpcomponents.core5:httpcore5-reactive:5.2.4")
|
||||||
api("org.apache.poi:poi-ooxml:5.2.5")
|
api("org.apache.poi:poi-ooxml:5.2.5")
|
||||||
api("org.apache.tomcat.embed:tomcat-embed-core:10.1.20")
|
api("org.apache.tomcat.embed:tomcat-embed-core:10.1.23")
|
||||||
api("org.apache.tomcat.embed:tomcat-embed-websocket:10.1.20")
|
api("org.apache.tomcat.embed:tomcat-embed-websocket:10.1.23")
|
||||||
api("org.apache.tomcat:tomcat-util:10.1.20")
|
api("org.apache.tomcat:tomcat-util:10.1.23")
|
||||||
api("org.apache.tomcat:tomcat-websocket:10.1.20")
|
api("org.apache.tomcat:tomcat-websocket:10.1.23")
|
||||||
api("org.aspectj:aspectjrt:1.9.22")
|
api("org.aspectj:aspectjrt:1.9.22")
|
||||||
api("org.aspectj:aspectjtools:1.9.22")
|
api("org.aspectj:aspectjtools:1.9.22")
|
||||||
api("org.aspectj:aspectjweaver:1.9.22")
|
api("org.aspectj:aspectjweaver:1.9.22")
|
||||||
|
|
|
||||||
|
|
@ -321,7 +321,8 @@ public abstract class AbstractBeanFactory extends FactoryBeanRegistrySupport imp
|
||||||
// requested (indicated by required type), not for depends-on cascades.
|
// requested (indicated by required type), not for depends-on cascades.
|
||||||
throw new BeanCreationException(mbd.getResourceDescription(), beanName,
|
throw new BeanCreationException(mbd.getResourceDescription(), beanName,
|
||||||
"Failed to initialize dependency '" + ex.getBeanName() + "' of " +
|
"Failed to initialize dependency '" + ex.getBeanName() + "' of " +
|
||||||
requiredType.getSimpleName() + " bean '" + beanName + "'", ex);
|
requiredType.getSimpleName() + " bean '" + beanName + "': " +
|
||||||
|
ex.getMessage(), ex);
|
||||||
}
|
}
|
||||||
throw ex;
|
throw ex;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -227,9 +227,8 @@ public final class RegisteredBean {
|
||||||
if (executable instanceof Method method && !Modifier.isStatic(method.getModifiers())) {
|
if (executable instanceof Method method && !Modifier.isStatic(method.getModifiers())) {
|
||||||
String factoryBeanName = getMergedBeanDefinition().getFactoryBeanName();
|
String factoryBeanName = getMergedBeanDefinition().getFactoryBeanName();
|
||||||
if (factoryBeanName != null && this.beanFactory.containsBean(factoryBeanName)) {
|
if (factoryBeanName != null && this.beanFactory.containsBean(factoryBeanName)) {
|
||||||
Class<?> target = this.beanFactory.getMergedBeanDefinition(factoryBeanName)
|
return new InstantiationDescriptor(executable,
|
||||||
.getResolvableType().toClass();
|
this.beanFactory.getMergedBeanDefinition(factoryBeanName).getResolvableType().toClass());
|
||||||
return new InstantiationDescriptor(executable, target);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return new InstantiationDescriptor(executable, executable.getDeclaringClass());
|
return new InstantiationDescriptor(executable, executable.getDeclaringClass());
|
||||||
|
|
@ -260,8 +259,9 @@ public final class RegisteredBean {
|
||||||
.append("mergedBeanDefinition", getMergedBeanDefinition()).toString();
|
.append("mergedBeanDefinition", getMergedBeanDefinition()).toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Describe how a bean should be instantiated. While the {@code targetClass}
|
* Descriptor for how a bean should be instantiated. While the {@code targetClass}
|
||||||
* is usually the declaring class of the {@code executable}, there are cases
|
* is usually the declaring class of the {@code executable}, there are cases
|
||||||
* where retaining the actual concrete type is necessary.
|
* where retaining the actual concrete type is necessary.
|
||||||
* @param executable the {@link Executable} to invoke
|
* @param executable the {@link Executable} to invoke
|
||||||
|
|
@ -275,6 +275,7 @@ public final class RegisteredBean {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Resolver used to obtain inner-bean details.
|
* Resolver used to obtain inner-bean details.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue