Juergen Hoeller
49cc5f2f81
MockMvcResultMatchers.forwardedUrl argument declared as nullable
...
Issue: SPR-17623
(cherry picked from commit 7a7958f275 )
2019-01-08 18:43:07 +01:00
Sam Brannen
7ba5ee35df
Link explicitly to JUnit 5.0.3 instead of current version
2019-01-08 18:12:54 +01:00
Rossen Stoyanchev
c6e50087a0
Adjust UriComponentsBuilder#toUriString behavior
...
Commit #93b7a4 added support for pre-configuring URI variables at the
UriComponentsBuilder level, and also changed toUriString to encode
template and URI variables separately. However this went a bit too far
causing side effects for URLs with curly braces that don't represent
URI variables.
This commit restores the original toUriString behavior which is to
encode template and URI variables sepraately only if URI variables have
been pre-configured.
Issue: SPR-17630
2019-01-08 11:07:00 -05:00
Sam Brannen
7a88e6dbb7
Link explicitly to JUnit 4.12 instead of beta version
...
For details, see: https://github.com/junit-team/junit4/issues/1585
2019-01-08 16:28:22 +01:00
Sam Brannen
e15b96a198
Provide external links to JUnit in published Javadoc API
2019-01-08 16:20:03 +01:00
Michel Schudel
cba355a4d2
Fix XML parser default value handling
...
The xml parser does not fill in defaults provided in the XSD when
validation is disabled. As a result, attributes like default-lazy-init
will not receive the value "default" but an empty string.
With this commit, BeanDefinitionParserDelegate now takes this into
account, checking default values against empty string as well as
"default".
As a consequence, default-lazy-init attribute should now work correctly
even when the XSD validation is disabled.
Issue: SPR-8335
2019-01-08 12:23:49 +01:00
Rossen Stoyanchev
124e8179b2
Lenient URI template encoding
...
URI template encoding ignores mismatched curly braces, treating them as
literal parts instead.
Issue: SPR-17630
2019-01-02 16:42:01 -05:00
Violeta Georgieva
0742160821
Propagate the cancel signal to the downstream
2018-12-18 15:01:35 -05:00
Juergen Hoeller
03fb343528
Upgrade to Jackson 2.9.8 and Groovy 2.4.16
...
Includes upgrade to AspectJ 1.9.2 for spring-aspects compilation.
2018-12-17 17:56:08 +01:00
Juergen Hoeller
8de86b7fb3
Revised backport version 5.0.11
...
Issue: SPR-17410
Issue: SPR-17433
2018-12-17 17:55:54 +01:00
Juergen Hoeller
62885a1922
Revised format annotation docs
...
(cherry picked from commit aab421167b )
2018-12-17 17:38:52 +01:00
Juergen Hoeller
1b26f2fb31
ParameterNameDiscoverer may return individual null entries in an array
...
Issue: SPR-17565
(cherry picked from commit c48672c4c7 )
2018-12-12 22:36:50 +01:00
Juergen Hoeller
6ca2cb5917
Polishing
...
(cherry picked from commit 106ae0cc5b )
2018-12-12 13:23:51 +01:00
Juergen Hoeller
ce57d4ad58
Revised HttpHeaders javadoc
2018-12-12 12:54:01 +01:00
Juergen Hoeller
7377764d02
Polishing
2018-12-12 12:40:14 +01:00
Juergen Hoeller
288c97bd2d
Revised SimpleEvaluationContext example
...
Issue: SPR-17581
2018-12-12 12:39:50 +01:00
Juergen Hoeller
e95c1b3153
Relaxed assertion in NotificationPublisherAwareLazyTargetSource
...
Issue: SPR-17592
(cherry picked from commit 2c98c1b81a )
2018-12-12 12:39:38 +01:00
Juergen Hoeller
6505cb93ed
Explicit documentation notes on JMS 2.0 vs 1.1 compatibility
...
Issue: SPR-17583
(cherry picked from commit 7b9c30f26e )
2018-12-12 12:39:22 +01:00
Juergen Hoeller
a9b453d79f
Polishing
2018-12-11 11:14:23 +01:00
Juergen Hoeller
693ad3c1f5
StandardEvaluationContext.setVariable leniently ignores null name
...
Issue: SPR-17565
(cherry picked from commit db63f7dd4a )
2018-12-05 14:16:56 +01:00
Juergen Hoeller
340d320696
Clarified VfsResource constructor
...
Issue: SPR-17563
(cherry picked from commit 50e5bdb813 )
2018-12-04 22:28:04 +01:00
Juergen Hoeller
bc864dc161
MockHttpServletRequest preserves original Accept-Language header value
...
Issue: SPR-17566
(cherry picked from commit 9efea7eb73 )
2018-12-04 22:27:58 +01:00
Juergen Hoeller
d73b027021
Upgrade to Rome 1.12
2018-12-04 02:38:10 +01:00
Juergen Hoeller
4a87262b24
Cleanup after unexpected exception from external delegation call
...
Issue: SPR-17559
(cherry picked from commit c024bdcc6f )
2018-12-04 02:38:00 +01:00
Juergen Hoeller
c5428e63b4
NettyDataBufferFactory.join returns single-element buffer as-is
...
Issue: SPR-17560
(cherry picked from commit d5dab12909 )
2018-12-04 00:13:34 +01:00
Juergen Hoeller
76fd1793a8
Avoid log statements between resource opening and returning
...
Issue: SPR-17559
(cherry picked from commit 7854b7ac40 )
2018-12-04 00:13:22 +01:00
Juergen Hoeller
d175d280a0
Backported decoder optimizations and related polishing
...
Includes downgrade to Netty 4.1.31 for StringDecoderTests.
2018-12-03 22:57:00 +01:00
Juergen Hoeller
8bc06d20ac
Polishing
2018-12-03 22:18:43 +01:00
Juergen Hoeller
ab2314f52d
Upgrade javadoc links to Jackson 2.9
...
Includes upgrade to Netty 4.1.32.
2018-12-03 22:10:45 +01:00
Juergen Hoeller
7a45d5fdae
Revised section on custom BeanPostProcessors
...
Issue: SPR-17556
2018-12-03 22:10:09 +01:00
Juergen Hoeller
2efac5ad6b
JavaMailSenderImpl calls sendMessage with empty array instead of null
...
Issue: SPR-17540
(cherry picked from commit 16e9b83d43 )
2018-12-03 22:09:51 +01:00
Spring Buildmaster
22df12e03c
Next Development Version
2018-11-27 08:54:09 +00:00
Juergen Hoeller
0761446c04
Revised alias definition example in reference documentation
...
Issue: SPR-17536
2018-11-25 22:18:26 +01:00
Juergen Hoeller
7b2eebe99f
ResolvableType-based matching consistently respects generic factory method return type (even for pre-initialized raw singleton instance)
...
Issue: SPR-17524
(cherry picked from commit ebbe14c363 )
2018-11-25 22:18:09 +01:00
Juergen Hoeller
cf31f020a2
Upgrade to Hibernate Validator 6.0.13 and EclipseLink 2.7.3
...
Also includes Hibernate ORM 5.1.16 for integration tests.
2018-11-24 15:12:02 +01:00
Juergen Hoeller
02616fbabd
Upgrade to Kotlin 1.2.71, OkHttp 3.12, FreeMarker 2.3.28
...
Also includes Apache HttpClient 4.5.6 and HttpAsyncClient 4.1.4.
2018-11-24 14:44:57 +01:00
Juergen Hoeller
4a51acbeb2
DefaultResponseErrorHandler detects non-standard error code as well
...
Issue: SPR-17439
2018-11-23 19:12:41 +01:00
Juergen Hoeller
3d7e373e5a
Polishing
...
(cherry picked from commit 77ab88b144 )
2018-11-23 19:12:30 +01:00
Sam Brannen
f0e69e06b7
Ensure that MethodParameter.findParameterIndex() is thread-safe
...
Prior to this commit, parallel invocations of
MethodParameter.findParameterIndex() (invoked indirectly via
SynthesizingMethodParameter.forParameter() and
MethodParameter.forParameter()) could intermittently lead to an
IllegalArgumentException being thrown due to a race condition in the
internal implementation of the JDK's
java.lang.reflect.Executable.getParameters() method.
This commit addresses this issue by introducing a fallback for-loop
that iterates over the candidate parameters a second time using
equality checks instead of identity checks.
Issue: SPR-17534
(cherry-picked from commit 81fde5ec41 )
2018-11-23 17:38:42 +01:00
Sam Brannen
cd67b285e1
Ensure that parameter resolution in SpringExtension is thread-safe
...
Prior to this commit, parallel execution of @BeforeEach and @AfterEach
methods that accepted @Autowired arguments would fail intermittently
due to a race condition in the internal implementation of the JDK's
java.lang.reflect.Executable.getParameters() method.
This commit addresses this issue by creating instances of
SynthesizingMethodParameter via
SynthesizingMethodParameter.forExecutable(Executable, int) instead of
SynthesizingMethodParameter.forParameter(Parameter), since the latter
looks up the parameter index by iterating over the array returned by
Executable.getParameters() (which is not thread-safe).
Issue: SPR-17533
2018-11-23 17:00:38 +01:00
Juergen Hoeller
39925c334d
Polishing
2018-11-22 20:38:26 +01:00
Juergen Hoeller
2e55486cc3
Upgrade to Reactor Bismuth SR14, Tomcat 8.5.35, Jetty 9.4.14
2018-11-22 17:45:16 +01:00
Juergen Hoeller
e2b74e6943
Polishing
2018-11-22 17:44:29 +01:00
Juergen Hoeller
5382260f30
Client/ServerRequest defensively accesses internal attribute map
...
Issue: SPR-17486
2018-11-22 17:43:53 +01:00
Juergen Hoeller
35da9f1ddf
FastByteArrayOutputStream.read byte-to-int conversion
...
Issue: SPR-17492
2018-11-22 17:43:31 +01:00
Juergen Hoeller
e6c979606c
Nullability fine-tuning based on IntelliJ IDEA 2018.3 inspection
...
Issue: SPR-15540
(cherry picked from commit bf272b0b21 )
2018-11-22 17:43:13 +01:00
Juergen Hoeller
23d1049363
CachingMetadataReaderFactory releases shared cache Map on clearCache()
...
LocalResourceCache properly initializes cacheLimit on construction.
Issue: SPR-17527
(cherry picked from commit 262c702da4 )
2018-11-22 17:42:27 +01:00
Juergen Hoeller
37a50d701e
SerializedBeanFactoryReference falls back to dummy with specific id
...
Issue: SPR-17508
(cherry picked from commit f5aeb81473 )
2018-11-22 17:42:06 +01:00
Rossen Stoyanchev
567fcc41cc
ForwardedHeaderTransformer handles encoding correctly
...
Issue: SPR-17525
2018-11-21 11:17:10 -05:00
Rossen Stoyanchev
97dac8a45d
Update @since version after backport
2018-11-21 09:36:34 -05:00