Juergen Hoeller
33c031df4f
Restore original 4.x behavior for initialization of function return name
...
Closes gh-25707
2020-09-05 13:54:45 +02:00
Juergen Hoeller
c266c520d6
Fix SpEL generated code for default method invocation
...
Closes gh-25706
2020-09-05 13:53:46 +02:00
Juergen Hoeller
5f51728761
Retry DatabaseMetaData retrieval if access to transactional connection fails
...
Closes gh-25681
2020-09-03 23:21:56 +02:00
Juergen Hoeller
9f2d8d4099
Explicit nullability declarations for getTarget() implementations
2020-09-01 23:33:27 +02:00
Juergen Hoeller
8bd40dcf04
Polishing
2020-09-01 10:57:21 +02:00
Juergen Hoeller
94f3c96bc1
Polishing
2020-08-28 22:47:28 +02:00
Juergen Hoeller
1be3213747
Specifically detect Joda-Time 2.x
...
Closes gh-25655
2020-08-28 22:44:28 +02:00
Juergen Hoeller
e6c01470cf
Polishing
2020-08-27 16:27:04 +02:00
Juergen Hoeller
f4973c9035
Polishing
2020-08-27 15:57:23 +02:00
Juergen Hoeller
e4bf015ce1
Avoid potential integer overflow in seconds->millis transformation
...
Closes gh-25613
2020-08-27 15:36:51 +02:00
Juergen Hoeller
dc26030412
Populate dependencies metadata for resolved target behind lazy dependency proxy
...
Closes gh-25562
2020-08-07 21:57:33 +02:00
Juergen Hoeller
b883c0fc05
Polishing
2020-08-07 15:15:40 +02:00
Juergen Hoeller
c0bd19aab5
Refine use of substring operations
...
Closes gh-25445
2020-08-07 15:13:45 +02:00
Juergen Hoeller
14b1d20822
Reset charset field in MockHttpServletResponse
...
Closes gh-25501
2020-08-07 15:03:41 +02:00
Juergen Hoeller
ce0832ae92
Avoid unnecessary computation of cleaned URL
...
Closes gh-25531
(cherry picked from commit 96a4e1150e )
2020-08-07 14:57:43 +02:00
Sam Brannen
286be6d210
Regression tests for @RestControllerAdvice support in MockMvc
...
This commit introduces regression tests for @RestControllerAdvice
support in standalone MockMvc configurations.
See gh-25520
2020-08-05 18:24:04 +02:00
Sam Brannen
7e7018efe3
Fix bug in StaticListableBeanFactory.isSingleton()
...
Prior to this commit, StaticListableBeanFactory.isSingleton() returned
false for singleton beans unless they were created by a FactoryBean.
StaticListableBeanFactory.isSingleton() now properly returns true for
all beans not created by a FactoryBean.
Closes gh-25522
2020-08-04 15:55:17 +02:00
Spring Buildmaster
eaed3bb80d
Next Development Version
2020-07-21 07:05:41 +00:00
Juergen Hoeller
e66141beb9
Defer creating logger in StandardWebSocketHandlerAdapter to instantiation time
...
Closes gh-25427
(cherry picked from commit 64f4703445 )
2020-07-20 17:17:46 +02:00
Juergen Hoeller
c82f35aa1a
Copy queryParams MultiValueMap through addAll (for independent List entries)
...
Closes gh-25423
2020-07-20 07:40:01 +02:00
Juergen Hoeller
e5227ee53c
Defensively access existing beanDefinitionMap entries
...
See gh-22263
(cherry picked from commit f1345aadf5 )
2020-07-20 07:39:55 +02:00
Juergen Hoeller
eb4f91a249
Unwrap SqlParameterValue for disposable value detection in cleanupParameters
...
Closes gh-22972
(cherry picked from commit 43e315f10c )
2020-07-19 20:16:17 +02:00
Juergen Hoeller
824ffce135
Defensively catch NoSuchBeanDefinitionException on beanDefinitionNames traversal
...
Closes gh-22263
(cherry picked from commit 30bc5e09e7 )
2020-07-19 20:16:06 +02:00
Juergen Hoeller
04a2cd49d4
Polishing
2020-07-17 19:01:00 +02:00
Juergen Hoeller
b904d5268a
Clarify enforceInitMethod/enforceDestroyMethod default values
...
Closes gh-25402
(cherry picked from commit 5846d9c2ea )
2020-07-17 18:37:04 +02:00
Juergen Hoeller
ac74de91f8
Polishing
2020-06-23 11:52:27 +02:00
Juergen Hoeller
7a8fc0e256
Avoid misleading log message for commit-triggering exception
...
Closes gh-25253
2020-06-17 16:17:47 +02:00
Juergen Hoeller
3db0bd2309
Polishing
2020-06-12 00:26:25 +02:00
Juergen Hoeller
a37fda5253
Consistent abstract declaration of "Abstract" base classes
...
Closes gh-25240
2020-06-12 00:15:10 +02:00
Juergen Hoeller
c2457b960f
Document exception handling limitations in TaskDecorator implementations
...
Closes gh-25231
2020-06-10 23:05:39 +02:00
Juergen Hoeller
a045574418
Polishing
2020-06-10 11:19:52 +02:00
Juergen Hoeller
7f87eb56d9
Consistent MultiValueMap behavior for empty list values
...
This commit extracts MultiValueMapAdapter from CollectionUtils and reuses its implementation as base class of LinkedMultiValueMap.
Closes gh-25140
2020-06-10 10:13:30 +02:00
Juergen Hoeller
b2916392fa
WebSphereUowTransactionManager sets timeout for actual transaction only
...
Closes gh-25132
2020-06-10 10:09:50 +02:00
Juergen Hoeller
ffe08aeca0
Avoid ClassCastException on IllegalArgumentException from sync invocation
...
Closes gh-25110
2020-06-10 10:09:46 +02:00
Juergen Hoeller
f4d33a6dfe
Consistent not-null assertions for configured interceptors
...
Closes gh-25089
2020-06-10 10:09:36 +02:00
Juergen Hoeller
4798da05ae
Avoid full synchronization in refreshable getBeanFactory() implementation
...
Closes gh-25081
2020-06-10 10:09:31 +02:00
Spring Buildmaster
705157ea5b
Next Development Version
2020-04-28 09:08:38 +00:00
Juergen Hoeller
5587262fcd
Polishing
2020-04-27 14:50:02 +02:00
Juergen Hoeller
6dcabd8a89
Store source in index-derived ScannedGenericBeanDefinition as well
...
Includes consistent constructor-level storage of derived resource in ScannedGenericBeanDefinition and ConfigurationClassBeanDefinition.
See gh-24978
2020-04-27 14:49:55 +02:00
Sam Brannen
6a6ad05aa7
Retain brackets for IPV6 address in MockHttpServletRequest
...
According to the Javadoc for ServletRequest's getServerName() method,
when the `Host` header is set, the server name is "the value of the
part before ':' in the Host header value ...". For a value representing
an IPV6 address such as `[::ffff:abcd:abcd]`, the enclosing square
brackets should therefore not be stripped from the enclosed IPV6
address.
However, the changes made in conjunction with gh-16704 introduced a
regression in Spring Framework 4.1 for the getServerName() method in
MockHttpServletRequest by stripping the enclosing brackets from the
IPV6 address in the `Host` header. Similarly, the changes made in
conjunction with gh-20686 introduced a regression in Spring Framework
4.3.13 and 5.0.2 in the getRequestURL() method in
MockHttpServletRequest by delegating to the getServerName() method
which strips the enclosing brackets.
This commit fixes the implementation of getServerName() so that the
enclosing brackets are no longer stripped from an IPV6 address in the
`Host` header. The implementation of getRequestURL() is therefore also
fixed.
In addition, in order to avoid a NullPointerException, the
implementations of getServerName() and getServerPort() now assert that
an IPV6 address present in the `Host` header correctly contains an
opening and closing bracket and throw an IllegalStateException if that
is not the case.
Closes gh-24916
2020-04-17 16:30:03 +02:00
Juergen Hoeller
4ec2844646
Honor overridden AcceptHeaderLocaleContextResolver.getDefaultLocale()
...
Closes gh-24871
2020-04-09 12:04:33 +02:00
Juergen Hoeller
d9eacaa7e8
Recursively copy directory with symbolic link
...
Closes gh-24823
2020-04-03 21:54:49 +02:00
Juergen Hoeller
a33b7bbadb
Close-suppressing Connection proxy exposes target isClosed() state
...
Closes gh-24853
2020-04-03 21:54:44 +02:00
Juergen Hoeller
56e7d73491
Clear by-type cache in case of no pre-existing bean definition as well
...
Closes gh-24852
2020-04-03 21:54:17 +02:00
Rossen Stoyanchev
11aaf6a90b
UriComponentsBuilder.cloneBuilder copies uriVariables
...
Closes gh-24772
2020-03-26 16:42:23 +00:00
Juergen Hoeller
701f54b185
Polishing
2020-03-24 01:23:07 +01:00
Juergen Hoeller
f20027f75f
Thread-safe access to WebSocketServerFactory and WebSocketExtensions
...
Closes gh-24745
2020-03-24 01:21:16 +01:00
Juergen Hoeller
4d9d814b4f
Mark MediaTypeNotSupportedStatusException as deprecated
...
Closes gh-24743
2020-03-24 01:06:08 +01:00
Juergen Hoeller
528fc662f0
Polishing
2020-03-13 23:49:03 +01:00
Juergen Hoeller
1a81aed1eb
Create ScannedGenericBeanDefinitions for index-derived components as well
...
Closes gh-24638
2020-03-13 23:43:24 +01:00