Juergen Hoeller
33c031df4f
Restore original 4.x behavior for initialization of function return name
...
Closes gh-25707
5 years ago
Juergen Hoeller
c266c520d6
Fix SpEL generated code for default method invocation
...
Closes gh-25706
5 years ago
Juergen Hoeller
5f51728761
Retry DatabaseMetaData retrieval if access to transactional connection fails
...
Closes gh-25681
5 years ago
Juergen Hoeller
9f2d8d4099
Explicit nullability declarations for getTarget() implementations
5 years ago
Juergen Hoeller
8bd40dcf04
Polishing
5 years ago
Juergen Hoeller
94f3c96bc1
Polishing
5 years ago
Juergen Hoeller
1be3213747
Specifically detect Joda-Time 2.x
...
Closes gh-25655
5 years ago
Juergen Hoeller
e6c01470cf
Polishing
5 years ago
Juergen Hoeller
f4973c9035
Polishing
5 years ago
Juergen Hoeller
e4bf015ce1
Avoid potential integer overflow in seconds->millis transformation
...
Closes gh-25613
5 years ago
Juergen Hoeller
dc26030412
Populate dependencies metadata for resolved target behind lazy dependency proxy
...
Closes gh-25562
5 years ago
Juergen Hoeller
b883c0fc05
Polishing
5 years ago
Juergen Hoeller
c0bd19aab5
Refine use of substring operations
...
Closes gh-25445
5 years ago
Juergen Hoeller
14b1d20822
Reset charset field in MockHttpServletResponse
...
Closes gh-25501
5 years ago
Juergen Hoeller
ce0832ae92
Avoid unnecessary computation of cleaned URL
...
Closes gh-25531
(cherry picked from commit 96a4e1150e )
5 years ago
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
5 years ago
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
5 years ago
Spring Buildmaster
eaed3bb80d
Next Development Version
6 years ago
Juergen Hoeller
e66141beb9
Defer creating logger in StandardWebSocketHandlerAdapter to instantiation time
...
Closes gh-25427
(cherry picked from commit 64f4703445 )
6 years ago
Juergen Hoeller
c82f35aa1a
Copy queryParams MultiValueMap through addAll (for independent List entries)
...
Closes gh-25423
6 years ago
Juergen Hoeller
e5227ee53c
Defensively access existing beanDefinitionMap entries
...
See gh-22263
(cherry picked from commit f1345aadf5 )
6 years ago
Juergen Hoeller
eb4f91a249
Unwrap SqlParameterValue for disposable value detection in cleanupParameters
...
Closes gh-22972
(cherry picked from commit 43e315f10c )
6 years ago
Juergen Hoeller
824ffce135
Defensively catch NoSuchBeanDefinitionException on beanDefinitionNames traversal
...
Closes gh-22263
(cherry picked from commit 30bc5e09e7 )
6 years ago
Juergen Hoeller
04a2cd49d4
Polishing
6 years ago
Juergen Hoeller
b904d5268a
Clarify enforceInitMethod/enforceDestroyMethod default values
...
Closes gh-25402
(cherry picked from commit 5846d9c2ea )
6 years ago
Juergen Hoeller
ac74de91f8
Polishing
6 years ago
Juergen Hoeller
7a8fc0e256
Avoid misleading log message for commit-triggering exception
...
Closes gh-25253
6 years ago
Juergen Hoeller
3db0bd2309
Polishing
6 years ago
Juergen Hoeller
a37fda5253
Consistent abstract declaration of "Abstract" base classes
...
Closes gh-25240
6 years ago
Juergen Hoeller
c2457b960f
Document exception handling limitations in TaskDecorator implementations
...
Closes gh-25231
6 years ago
Juergen Hoeller
a045574418
Polishing
6 years ago
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
6 years ago
Juergen Hoeller
b2916392fa
WebSphereUowTransactionManager sets timeout for actual transaction only
...
Closes gh-25132
6 years ago
Juergen Hoeller
ffe08aeca0
Avoid ClassCastException on IllegalArgumentException from sync invocation
...
Closes gh-25110
6 years ago
Juergen Hoeller
f4d33a6dfe
Consistent not-null assertions for configured interceptors
...
Closes gh-25089
6 years ago
Juergen Hoeller
4798da05ae
Avoid full synchronization in refreshable getBeanFactory() implementation
...
Closes gh-25081
6 years ago
Spring Buildmaster
705157ea5b
Next Development Version
6 years ago
Juergen Hoeller
5587262fcd
Polishing
6 years ago
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
6 years ago
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
6 years ago
Juergen Hoeller
4ec2844646
Honor overridden AcceptHeaderLocaleContextResolver.getDefaultLocale()
...
Closes gh-24871
6 years ago
Juergen Hoeller
d9eacaa7e8
Recursively copy directory with symbolic link
...
Closes gh-24823
6 years ago
Juergen Hoeller
a33b7bbadb
Close-suppressing Connection proxy exposes target isClosed() state
...
Closes gh-24853
6 years ago
Juergen Hoeller
56e7d73491
Clear by-type cache in case of no pre-existing bean definition as well
...
Closes gh-24852
6 years ago
Rossen Stoyanchev
11aaf6a90b
UriComponentsBuilder.cloneBuilder copies uriVariables
...
Closes gh-24772
6 years ago
Juergen Hoeller
701f54b185
Polishing
6 years ago
Juergen Hoeller
f20027f75f
Thread-safe access to WebSocketServerFactory and WebSocketExtensions
...
Closes gh-24745
6 years ago
Juergen Hoeller
4d9d814b4f
Mark MediaTypeNotSupportedStatusException as deprecated
...
Closes gh-24743
6 years ago
Juergen Hoeller
528fc662f0
Polishing
6 years ago
Juergen Hoeller
1a81aed1eb
Create ScannedGenericBeanDefinitions for index-derived components as well
...
Closes gh-24638
6 years ago