Skip to content

Commit 2911d1a

Browse files
committed
Start building against Spring Framework 6.2.4 snapshots
See spring-projectsgh-44517
1 parent 39bc496 commit 2911d1a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ mavenVersion=3.9.4
1919
mockitoVersion=5.15.2
2020
nativeBuildToolsVersion=0.10.5
2121
snakeYamlVersion=2.4
22-
springFrameworkVersion=6.2.3
22+
springFrameworkVersion=6.2.4-SNAPSHOT
2323
springFramework60xVersion=6.0.23
2424
tomcatVersion=10.1.36
2525

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
import org.springframework.aot.AotDetector;
4747
import org.springframework.beans.factory.BeanCreationException;
4848
import org.springframework.beans.factory.BeanCurrentlyInCreationException;
49+
import org.springframework.beans.factory.BeanDefinitionStoreException;
4950
import org.springframework.beans.factory.ObjectProvider;
5051
import org.springframework.beans.factory.UnsatisfiedDependencyException;
5152
import org.springframework.beans.factory.annotation.Autowired;
@@ -221,8 +222,10 @@ void sourcesMustNotBeEmpty() {
221222

222223
@Test
223224
void sourcesMustBeAccessible() {
224-
assertThatIllegalArgumentException()
225+
assertThatExceptionOfType(BeanDefinitionStoreException.class)
225226
.isThrownBy(() -> new SpringApplication(InaccessibleConfiguration.class).run())
227+
.havingRootCause()
228+
.isInstanceOf(IllegalArgumentException.class)
226229
.withMessageContaining("No visible constructors");
227230
}
228231

0 commit comments

Comments
 (0)