- 26 Jan, 2017 8 commits
-
-
Spring Buildmaster authored
-
Stephane Nicoll authored
Closes gh-8112
-
Stephane Nicoll authored
See gh-8112
-
Stephane Nicoll authored
Closes gh-8032
-
Phillip Webb authored
Closes gh-7703
-
Phillip Webb authored
Update all `EmbeddedServletContainer` implementations to ensure that the `start()` method can be called multiple times, with the second call being ignored. Fixes gh-8036
-
Phillip Webb authored
Update `Log4J2LoggingSystem` and `LogbackLoggingSystem` to ensure that filters are removed when the `cleanUp` method is called. Prior to this commit application failures would not remove the filter and no log messages would appear. The `LoggingApplicationListener` has also been updated since it previously failed to handle `ApplicationFailureEvents`. Finally `EventPublishingRunListener` and `DelegatingApplicationListener` have been updated to deal with `null` parameters and to cope with listener errors. Fixes gh-7758
-
Phillip Webb authored
-
- 25 Jan, 2017 4 commits
-
-
Andy Wilkinson authored
This reverts commit 70cd5c42. See gh-8083
-
Stephane Nicoll authored
Closes gh-7774
-
Andy Wilkinson authored
Previously, AbstractEmbeddedServletContainerFactory detected an exploded war by looking for `/WEB-INF/` in the path of its code source's location. This failed on Windows due to the use of `\` rather than `/` separators. This commit updates AbstractEmbeddedServletContainerFactory to uses the OS's separator rather than hardcoding `/`. Closes gh-8100
-
Stephane Nicoll authored
Closes gh-8102
-
- 24 Jan, 2017 12 commits
-
-
Andy Wilkinson authored
Closes gh-8086
-
Andy Wilkinson authored
Closes gh-8085
-
Andy Wilkinson authored
Closes gh-8084
-
Andy Wilkinson authored
Closes gh-8083
-
Andy Wilkinson authored
Closes gh-8082
-
Andy Wilkinson authored
Closes gh-8081
-
Andy Wilkinson authored
Closes gh-8080
-
Andy Wilkinson authored
Closes gh-8079
-
Andy Wilkinson authored
Closes gh-8078
-
Andy Wilkinson authored
Closes gh-69
-
Andy Wilkinson authored
See gh-7774
-
Stephane Nicoll authored
Closes gh-7652
-
- 22 Jan, 2017 2 commits
-
-
Stephane Nicoll authored
* pr/8057: Fix entry in broken-initialization.factories
-
Johnny Lim authored
Closes gh-8057
-
- 20 Jan, 2017 6 commits
-
-
Andy Wilkinson authored
Closes gh-7360
-
Andy Wilkinson authored
Closes gh-2753
-
Stephane Nicoll authored
* pr/8039: Indenting SpringApplication javadoc code
-
Rafael Rollo authored
Closes gh-8039
-
Stephane Nicoll authored
Closes gh-8040
-
Stephane Nicoll authored
Closes gh-8033
-
- 19 Jan, 2017 8 commits
-
-
Phillip Webb authored
-
Andy Wilkinson authored
Previously, when the ExpectedException JUnit rule was used with FilteredClassPathRunner a LinkageError would occur if any of ExpectedException's methods that take a Hamcrest Matcher were called. This was due to the FilteredClassLoader delegating loading of org.junit classes to its parent but not org.hamcrest classes. This resulted in JUnit classes loading one version of the Hamcrest class and the test class loading another. This commit ensures that both the JUnit classes and the test class use the same version of Hamcrest classes by also delegating the loading of org.hamcrest classes to FilteredClassLoader's parent.
-
Stephane Nicoll authored
* pr/8030: Fix closing parentheses
-
Michael J. Simons authored
Closes gh-8030
-
Stephane Nicoll authored
By default, `@DataJpaTest` (and `@AutoConfigureTestDatabase`) attempt to replace any existing `DataSource` by an embedded one. Previously, if there is was no embedded database on the classpath, the exception message did not provide that context in the error message. This commit clarifies the error message to conduct `TestDatabaseAutoConfiguration` (that is replacing the existing `DataSource`). Closes gh-7797
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, TestRestTemplate would only apply the UriTemplateHandler to Strings and not to URIs. When using the auto-configured TestRestTemplate, this prevented relative URIs from being made absolute using LocalHostUriTemplateHandler. The commit updates TestRestTemplate to turn URIs into Strings before passing them to the delegate RestTemplate. Turning them into Strings ensures that the delegate calls the UriTemplateHandler. Closes gh-7891
-
Andy Wilkinson authored
Previously, when DevTools' was used it would set the application context's ResourceLoader and overwrite any custom ResourceLoader that had been configured. On the rare occasion when the user had customized the ResourceLoader this meant that the customization was lost and certain resources would become unavailable. This commit updates DevTools' ResourceLoader to delegate a custom ResourceLoader if one has been configured. If one has not been configured it delegates as before, i.e. to WebApplicationContextResourceLoader for web applications and to DefaultResourceLoader for all others apps. Closes gh-8010
-