- 24 Jun, 2021 40 commits
-
-
Andy Wilkinson authored
Previously, SpringApplicationShutdownHook would call close() on any registered application context even if it wasn't active as it had already been closed. This could lead to deadlock if the context was closed and System.exit was called during application context refresh. This commit updates SpringApplicationShutdownHook so that it only calls close() on active contexts. This prevents deadlock as it avoids trying to sychronize on the context's startupShutdownMonitor on the shutdown hook thread while it's still held on the main thread which called System.exit and is waiting for all of the shutdown hooks to complete. Fixes gh-27049
-
Andy Wilkinson authored
-
Spring Buildmaster authored
-
Andy Wilkinson authored
See gh-27046
-
Andy Wilkinson authored
See gh-27045
-
Andy Wilkinson authored
See gh-27044
-
Andy Wilkinson authored
See gh-27072
-
Andy Wilkinson authored
See gh-27043
-
Phillip Webb authored
Update calls to `Instantiator` to that they also include `ResourceLoader.getClassLoader()`. Closes gh-27071
-
Phillip Webb authored
Fixes gh-27072
-
Phillip Webb authored
Update `Instantiator` so that it can accept a `ClassLoader` when creating instances and rework `EnvironmentPostProcessorsFactory` to use the new methods. Prior to this commit we would use the `ClassLoader` to get the class names from `SpringFactories` but not when actually creating the instances. Fixes gh-27043
-
Stephane Nicoll authored
See gh-26978
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-27070
-
Stephane Nicoll authored
Closes gh-27069
-
Stephane Nicoll authored
Closes gh-27068
-
Stephane Nicoll authored
Closes gh-27067
-
Stephane Nicoll authored
Closes gh-27066
-
Stephane Nicoll authored
Closes gh-26978
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-26974
-
Stephane Nicoll authored
Closes gh-26973
-
Stephane Nicoll authored
Closes gh-26972
-
Stephane Nicoll authored
Closes gh-26967
-
Stephane Nicoll authored
Closes gh-26966
-
Phillip Webb authored
* pr/26930: Avoid illegal reflective access in CLI tests Closes gh-26930
-
dreis2211 authored
See gh-26930
-
Phillip Webb authored
Closes gh-27062
-
Phillip Webb authored
Closes gh-27026
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
Closes gh-27060
-
Phillip Webb authored
Update `BindFailureAnalyzer` so that the "Reason" message includes the root cause exception type and message. Closes gh-27028
-
Phillip Webb authored
Update `BindConverter` to throw the first `ConversionFailedException` rather than always throwing `ConverterNotFoundException`. See gh-27028
-
Phillip Webb authored
Closes gh-27053
-
Phillip Webb authored
Closes gh-27055
-
Phillip Webb authored
Closes gh-27054
-
Phillip Webb authored
Closes gh-27058
-
Phillip Webb authored
* pr/27017: Add additional ConfigDataProperties tests Fix typo in ConfigDataPropertiesTests Closes gh-27017
-
Phillip Webb authored
Add more `isActive` tests to cover negative cases. See gh-27017
-