Commit Graph

11586 Commits

Author SHA1 Message Date
Stephane Nicoll 1314aaa368 Avoid early init of CacheManager
This commit restructures the Cache auto-configuration to avoid an early
init on CacheManager (and potentially all its infrastructure). Rather
than adding a dependency on the validator bean, this commit relies on
the fact CacheAspectSupport checks if a CacheManager is available in the
afterSingletonsInstantiated callback. In this case, a simple bean with
a postconstruct callback is enough.

Closes gh-13038
2018-05-04 16:25:06 +02:00
Stephane Nicoll 7392c57343 Fix nested class binding example
Closes gh-13060
2018-05-04 16:13:13 +02:00
Andy Wilkinson ed9ac53acd Revert "Upgrade to Ehcache 2.10.5"
This reverts commit f78fd74bb9.

See gh-13056
2018-05-04 14:01:17 +01:00
Andy Wilkinson bea353962c Align Undertow tests with changes made to fix UNDERTOW-1260
Closes gh-13055
2018-05-04 13:45:01 +01:00
Andy Wilkinson bcd2b7d60f Upgrade to Infinispan 8.2.11.Final
Closes gh-13058
2018-05-04 09:46:29 +01:00
Andy Wilkinson ebf1622b3a Upgrade to Tomcat 8.5.31
Closes gh-13057
2018-05-04 09:46:28 +01:00
Andy Wilkinson f78fd74bb9 Upgrade to Ehcache 2.10.5
Closes gh-13056
2018-05-04 09:46:27 +01:00
Andy Wilkinson f1ec54b3b6 Upgrade to Undertow 1.4.25.Final
Closes gh-13055
2018-05-04 09:46:27 +01:00
Andy Wilkinson 0fd5ef1632 Upgrade to Gson 2.8.4
Closes gh-13054
2018-05-04 09:46:26 +01:00
Andy Wilkinson a45d05347f Upgrade to Jackson 2.8.11.20180405
Closes gh-13053
2018-05-04 09:46:26 +01:00
Andy Wilkinson 208c4b9a35 Upgrade to GemFire 8.2.11
Closes gh-13052
2018-05-04 09:42:14 +01:00
Phillip Webb 4e96587dc8 Polish modifier declaration ordering
Follow that Java language specification.
2018-05-03 09:46:15 -07:00
Phillip Webb 64930d4e5b Polish caught exception names
Prefer `ex` over `e`.
2018-05-03 09:46:15 -07:00
Phillip Webb 3ee777e142 Polish ternary expressions
Consistently format ternary expressions and always favor `!=` as the
the check.
2018-05-03 09:46:15 -07:00
Phillip Webb 690f946b6d Polish 2018-05-03 09:46:14 -07:00
Stephane Nicoll 830e523531 Clarify behavior of JMX in @SpringBootTest
Closes gh-13008
2018-05-03 11:06:55 +02:00
Stephane Nicoll dd3f57d816 Avoid potentially mutating item metadata collection
Closes gh-13027
2018-05-02 15:55:29 +02:00
Andy Wilkinson d0f329caa4 Break circular dependency in DevTools without using field injection 2018-05-02 13:43:19 +01:00
Andy Wilkinson 06cf698387 Polish 2018-05-02 12:12:47 +01:00
Andy Wilkinson 31c6281e96 Start building against Spring Integration 4.3.16 snapshots
See gh-13015
2018-05-02 11:27:50 +01:00
Andy Wilkinson b6926c9bca Start building against Spring Data Ingalls SR12 snapshots
See gh-13014
2018-05-02 11:26:47 +01:00
Andy Wilkinson 9bd46ca8f8 Start building against Spring Framework 4.3.17 snapshots
See gh-13013
2018-05-02 11:21:40 +01:00
Andy Wilkinson a29a70d2f4 Fix handling of static resource jar paths containing a +
Closes gh-12942
2018-05-02 10:23:42 +01:00
Stephane Nicoll 08bc306a61 Guard IntegrationJmxConfiguration if no mBeanServer is available
Closes gh-12966
2018-05-02 10:35:17 +02:00
Andy Wilkinson 4585bc846a Restore RestartClassLoader's Java 6 compatibility
Closes gh-12826
2018-05-02 08:27:38 +01:00
Stephane Nicoll 6047a2c0b0 Fix typo
See gh-12996
2018-04-30 16:41:34 +02:00
Stephane Nicoll 587e3f4046 Polish
See gh-12796
2018-04-27 10:18:34 +02:00
Andy Wilkinson df2372cd93 Avoid Kafka 0.10 destabilising the Windows build
Closes gh-12963
2018-04-25 15:03:40 +01:00
Andy Wilkinson c78bc0585c Make tests' detection of SSL handshake failures more robust
Closes gh-12961
2018-04-25 11:47:36 +01:00
Phillip Webb 370915f8f0 Fixup version numbers following release 2018-04-09 18:20:41 -07:00
Spring Buildmaster c10aad165f Next Development Version 2018-04-09 23:14:33 +00:00
Stephane Nicoll ba5ed5b97c Upgrade to Spring Framework 4.3.16
Closes gh-12806
2018-04-09 19:43:31 +02:00
Andy Wilkinson cd0e4fe945 Sanitize sun.java.command by default
Closes gh-12796
2018-04-09 17:44:51 +01:00
Andy Wilkinson a06de4d997 Stop error page filter from commiting response prematurely
Previously, the error page filter used sendError to set the response
status when handling an exception and before forwarding the request
to the error controller. Following the fix for gh-11814, this meant
that the error controller was unable to write its response and the
containers default error page was returned instead.

This commit updates the error page filter to use setStatus rather than
sendError. This ensures that the response has the correct status code
while allowing the error controller to write its body. Tests have
been added to the Tomcat deployment test suite to verify that the
error page filter behaves as intended when dealing with a sent error
and an exception for requests accepting HTML, JSON, or anything.

Closes gh-12787
2018-04-09 16:14:27 +01:00
Stephane Nicoll 3634a1d9d1 Fixup version numbers following release 2018-04-05 11:23:15 +02:00
Spring Buildmaster ade4760842 Next Development Version 2018-04-05 09:01:52 +00:00
Andy Wilkinson 61ab4f6ca8 Upgrade to Spring Kafka 1.1.8.RELEASE
Closes gh-12772
2018-04-05 07:42:19 +01:00
Andy Wilkinson 88a18a635a Upgrade to Spring Amqp 1.7.7.RELEASE
Closes gh-12771
2018-04-05 07:42:18 +01:00
Andy Wilkinson 89638d6807 Upgrade to Freemarker 2.3.28
Closes gh-12770
2018-04-05 07:42:17 +01:00
Andy Wilkinson e066558601 Upgrade to Dependency Management Plugin 1.0.5.RELEASE
Closes gh-12406
2018-04-05 07:10:38 +01:00
Phillip Webb 6b59814cbc Switch error views to use SimpleEvaluationContext
Update `ErrorMvcAutoConfiguration` to use `SimpleEvaluationContext`
rather than `StandardEvaluationContext`.

Fixes gh-12507
2018-04-04 15:34:02 -07:00
Phillip Webb 624a5f8260 Apply URL decoding for nested jar entry names
Update `JarURLConnection` to apply URL decoding to nested jar entry
names.

Fixes gh-12765
2018-04-04 14:49:06 -07:00
Phillip Webb f08c496858 Upgrade to Spring Integration 4.3.15
Closes gh-12692
2018-04-04 12:33:45 -07:00
Phillip Webb 3563baf36b Update to Spring Data Ingalls SR11
Closes gh-12695
2018-04-04 12:33:04 -07:00
Phillip Webb dd0866000f Revert "Add text/plain error response support"
This reverts commit 23892e33d6.
2018-04-04 12:06:13 -07:00
Phillip Webb 7242ddae3c Polish 2018-04-04 12:05:08 -07:00
Andy Wilkinson c4923d6273 Ignore existing output when asserting captured log output
Closes gh-12734
2018-04-04 14:14:45 +01:00
Andy Wilkinson ac88a60071 Ensure error is sent before Writer or OutputStream is used
Previously, ErrorPageFilter's ErrorResponseWrapper would delaying
sending an error back to the client. In cases where the response's
Writer or OutputStream was accessed and flushed or closed, this could
lead to the wrong response status being sent.

This commit updates ErrorResponseWrapper so that it will send any
capture error to the client before returning the response's Writer or
OutputStream. This ensures that closing the Writer or OutputStream
does not cause the response to be committed with the default response
status rather than the previously captured error status.

Such responses will now include the correct status, but will not be
forwarded to the error controller. Such forwarding is not possible
due to the response already having been committed.

Closes gh-11814
2018-04-04 13:49:08 +01:00
Stephane Nicoll 1805cc5696 Clarify optional use of ComponentScan
Closes gh-12739
2018-04-04 11:16:11 +02:00
Stephane Nicoll 249af7d5aa Upgrade to Spring Framework 4.3.15
Closes gh-12344
2018-04-03 22:58:13 +02:00