- 15 Jul, 2020 9 commits
-
-
Scott Frederick authored
Closes gh-22349
-
Scott Frederick authored
-
Scott Frederick authored
This commit adds a check to the support code for the Gradle plugin bootBuildImage task to ensure that the jar file that will be passed to a builder is readable and has a valid directory. This prevents a situation where the jar file cannot be read because it is prepended with a launch script, and the builder does not receive any files to process. Notes have also been added to the Gradle plugin documentation to warn against using a bootJar launchScript configuration and bootBuildImage together, as well as caveats about launchScript that match the Maven plugin documentation. Fixes gh-22223
-
Andy Wilkinson authored
* gh-22329: Polish "Avoid using reflection when configuring Tomcat listener" Avoid using reflection when configuring Tomcat listener Closes gh-22329
-
Andy Wilkinson authored
See gh-22329
-
Filip Hanik authored
This benefits native image building and AOT compilation, as reflection requires manual configuration. See gh-22329
-
Andy Wilkinson authored
Closes gh-22340
-
Andy Wilkinson authored
Closes gh-22339
-
Andy Wilkinson authored
Closes gh-22337
-
- 14 Jul, 2020 21 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-22318
-
Stephane Nicoll authored
Closes gh-22331
-
Stephane Nicoll authored
* pr/22330: Avoid unnecessary allocations in ConditionMessage for NORMAL style Closes gh-22330
-
dreis2211 authored
See gh-22330
-
Andy Wilkinson authored
Closes gh-22318
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
* pr/21219: Polish "Add additional properties to configure R2DBC pool" Add additional properties to configure R2DBC pool Closes gh-21219
-
Stephane Nicoll authored
See gh-21219
-
Rodolpho Couto authored
See gh-21219
-
Andy Wilkinson authored
Closes gh-22328
-
Andy Wilkinson authored
* gh-22112: Cleanup temporary files after Maven plugin execution Closes gh-22112
-
dreis2211 authored
See gh-22112
-
Andy Wilkinson authored
Closes gh-22327
-
Andy Wilkinson authored
* gh-22294: Reduce started threads in OnClassCondition Closes gh-22294
-
dreis2211 authored
Prior to this commit, OnClassCondition started a thread even if the number of passed autoconfiguration class candidates never exceeded 1. This commit only starts a thread if there is actually work to split in half. See gh-22294
-
Andy Wilkinson authored
Closes gh-22318
-
Andy Wilkinson authored
Closes gh-22326
-
Andy Wilkinson authored
Closes gh-22325
-
Andy Wilkinson authored
Previously, regular bean definitions for configuration properties classes that attempt to use constructor binding were detected in a bean factory post-processor, ConfigurationPropertiesBeanDefinitionValidator. This validation examined every standard bean definition and failed if it encountered one for a class that should have used constructor binding. There were two downsides to this approach: 1. Reflection used to identify if the bean should be using constructor binding triggered class loading that could prevent subsequent instrumentation by a load-time weaver. 2. The cost of the validation was incurred when there was no misconfiguration to report. This commit replaces ConfigurationPropertiesBeanDefinitionValidator with a failure analyzer. This failure analyzer only runs once a failure has occurred and the application context is not going to complete refresh. This avoids causing problems with subsequent instrumentation and also avoids the cost of validation and error reporting unless there is an error. Fixes gh-20798
-
- 13 Jul, 2020 2 commits
-
-
Andy Wilkinson authored
Closes gh-22316
-
Andy Wilkinson authored
Closes gh-22277
-
- 10 Jul, 2020 2 commits
-
-
Andy Wilkinson authored
Closes gh-22304
-
Andy Wilkinson authored
Fixes gh-22300
-
- 09 Jul, 2020 6 commits
-
-
Brian Clozel authored
As of Spring Framework 5.3, it is now possible to use `PathPatternParser` to parse and match request mapping path patterns, as an alternative to the current default `AntPathMatcher`. This new implementation has been used for a while in Spring WebFlux and it’s been designed for consistency and performance. This commit introduces a new configuration property for opting-in this new variant: `spring.mvc.pathmatch.matching-strategy=path_pattern_parser` The default option is still `ant_path_matcher` for now, but we might change the default in future versions since Spring Framework considers it the best choice for modern applications. There are several behavior differences with this new variant: * double wildcards `"**"` are rejected when used in the middle patterns, this is only allowed as the last matching segment in a pattern. * it is incompatible with some path matching options, like suffix-pattern, registered-suffix-pattern or configuring a Servlet prefix on the `DispatcherServlet` (`spring.mvc.servlet.path=/test`) This commit introduces two `FailureAnalyzer` implementations to guide developers when facing those issues. Closes gh-21694
-
Andy Wilkinson authored
Closes gh-22293
-
Andy Wilkinson authored
Closes gh-22292
-
Andy Wilkinson authored
Closes gh-22291
-
Andy Wilkinson authored
Closes gh-22290
-
Andy Wilkinson authored
Closes gh-22289
-