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
Juergen Hoeller
5eb8430688
Polishing
2020-02-12 18:14:08 +01:00
Rossen Stoyanchev
dc561aee02
Update advice on RestTemplate
...
Closes gh-24503
2020-02-12 18:13:45 +01:00
Juergen Hoeller
f90acdf42f
Consistent ROLE_INFRASTRUCTURE declarations for configuration classes
...
Closes gh-24509
2020-02-12 18:03:43 +01:00
Juergen Hoeller
844619ccf1
Use local LoggerContext in Log4jLog when static field not initialized yet
...
Closes gh-24440
2020-01-28 21:30:52 +01:00
Sam Brannen
cf1d5216da
Include Objenesis NOTICE file contents in binary distributions
...
Closes gh-24326
2020-01-16 10:55:10 +01:00
Spring Buildmaster
3334f2089a
Next Development Version
2020-01-14 10:37:45 +00:00
Sam Brannen
1cfa95418a
Document Objenesis license in license.txt
...
Closes gh-24340
2020-01-13 16:09:28 +01:00
Sam Brannen
573139e455
Update ASM and CBLIB versions in license.txt
2020-01-13 13:23:13 +01:00
Juergen Hoeller
7c52397220
Polishing
2020-01-10 14:30:05 +01:00
Juergen Hoeller
2c0a505213
Thread-safe compiled expression evaluation in SpelExpression
...
Closes gh-24265
2020-01-10 14:20:04 +01:00
Rossen Stoyanchev
0583b334b4
Escape quotes in filename
...
Also sync up to master and 5.1.x on refactorings in ContentDisposition
and ContentDispositionTests.
Closes gh-24230
2020-01-07 07:17:55 +00:00
Juergen Hoeller
8356762316
Polishing
2019-12-12 16:54:43 +01:00
Juergen Hoeller
c526fc2a5f
Polishing
2019-12-09 15:51:21 +01:00
Juergen Hoeller
14ecc0357e
Polishing
2019-12-09 15:26:15 +01:00
Juergen Hoeller
c9fa62751b
Cleanup of "varaible" typos in ResolvableTypeTests
2019-12-09 15:25:34 +01:00
Juergen Hoeller
e144b3a73c
Polishing
2019-12-01 10:58:53 +01:00
Juergen Hoeller
ea1992c8d1
Backport of recent ExtendedBeanInfo refinements from 5.1.x
...
Closes gh-24109
2019-12-01 10:58:36 +01:00
Juergen Hoeller
b86b0797f5
Mark SqlRowSet accessor methods as nullable (for alignment with JDBC)
...
Closes gh-24042
2019-11-20 18:01:25 +01:00
Juergen Hoeller
2a63147446
Avoid substring allocation in StringUtils.replace
...
Closes gh-24023
2019-11-19 15:08:11 +01:00
Juergen Hoeller
41072e3451
Revise getElementTypeDescriptor javadoc (no IllegalStateException)
...
Closes gh-23996
2019-11-14 18:42:01 +01:00
Juergen Hoeller
a20d7fa119
Polishing
2019-11-13 23:56:44 +01:00
Juergen Hoeller
be0e0f6e48
Minor internal refinements (backported from master)
2019-11-13 17:45:02 +01:00
Juergen Hoeller
d1a01f2675
Support for new MySQL 8 error code 3572
...
Closes gh-23972
2019-11-13 17:28:35 +01:00