Skip to content

Commit 69eaf8f

Browse files
committed
Merge branch '6.1.x'
2 parents 649a537 + 25cedcf commit 69eaf8f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,7 @@ public Scope getRegisteredScope(String scopeName) {
10971097

10981098
@Override
10991099
public void setApplicationStartup(ApplicationStartup applicationStartup) {
1100-
Assert.notNull(applicationStartup, "applicationStartup must not be null");
1100+
Assert.notNull(applicationStartup, "ApplicationStartup must not be null");
11011101
this.applicationStartup = applicationStartup;
11021102
}
11031103

spring-context/src/main/java/org/springframework/context/support/AbstractRefreshableApplicationContext.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -126,6 +126,7 @@ protected final void refreshBeanFactory() throws BeansException {
126126
try {
127127
DefaultListableBeanFactory beanFactory = createBeanFactory();
128128
beanFactory.setSerializationId(getId());
129+
beanFactory.setApplicationStartup(getApplicationStartup());
129130
customizeBeanFactory(beanFactory);
130131
loadBeanDefinitions(beanFactory);
131132
this.beanFactory = beanFactory;

0 commit comments

Comments
 (0)