Commit 8bcab02
Use beanClassLoader when checking excluded auto-configuration classes
When validating exclusions, prefer the selector's beanClassLoader for
ClassUtils.isPresent checks and fall back to the selector class loader
if the beanClassLoader is not set.
This makes presence checks consistent with the classloader context used
for loading auto-configuration candidates.
See gh-48129
Signed-off-by: linw-bai <107357009+linw-bai@users.noreply.github.com>1 parent 2f1f964 commit 8bcab02
File tree
1 file changed
+2
-1
lines changed- spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| 208 | + | |
208 | 209 | | |
209 | | - | |
| 210 | + | |
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
| |||
0 commit comments