Start building against Spring Framework 6.2.4 snapshots

See gh-44517
This commit is contained in:
Stéphane Nicoll 2025-03-04 13:05:20 +01:00
parent 39bc496a8e
commit 2911d1a22a
2 changed files with 5 additions and 2 deletions

View File

@ -19,7 +19,7 @@ mavenVersion=3.9.4
mockitoVersion=5.15.2
nativeBuildToolsVersion=0.10.5
snakeYamlVersion=2.4
springFrameworkVersion=6.2.3
springFrameworkVersion=6.2.4-SNAPSHOT
springFramework60xVersion=6.0.23
tomcatVersion=10.1.36

View File

@ -46,6 +46,7 @@ import reactor.core.publisher.Mono;
import org.springframework.aot.AotDetector;
import org.springframework.beans.factory.BeanCreationException;
import org.springframework.beans.factory.BeanCurrentlyInCreationException;
import org.springframework.beans.factory.BeanDefinitionStoreException;
import org.springframework.beans.factory.ObjectProvider;
import org.springframework.beans.factory.UnsatisfiedDependencyException;
import org.springframework.beans.factory.annotation.Autowired;
@ -221,8 +222,10 @@ class SpringApplicationTests {
@Test
void sourcesMustBeAccessible() {
assertThatIllegalArgumentException()
assertThatExceptionOfType(BeanDefinitionStoreException.class)
.isThrownBy(() -> new SpringApplication(InaccessibleConfiguration.class).run())
.havingRootCause()
.isInstanceOf(IllegalArgumentException.class)
.withMessageContaining("No visible constructors");
}