Juergen Hoeller
c2f6a98c90
Lenient handling of empty Content-Disposition filename
...
Closes gh-25769
2020-09-14 22:16:12 +02:00
Juergen Hoeller
49d65d5c41
Configurable filename encoding in MimeMessageHelper
...
Closes gh-25755
2020-09-14 22:15:44 +02:00
Rossen Stoyanchev
16d125ce76
Extend Content-Disposition "inline" to error responses
...
We don't expect a browser to save error responses to a file but we
extend this protection anyway since "inline" is only a suggestion
that shouldn't have any side effects.
2020-09-14 15:28:53 +01:00
Rossen Stoyanchev
dccc78146a
Expose defaultCharset in StringDecoder
...
Closes gh-25762
2020-09-14 14:28:02 +01:00
Rossen Stoyanchev
dde79a9b65
Upgrade to Reactor Dysprosium-SR12
...
Closes gh-25730
2020-09-14 14:06:15 +01:00
Rossen Stoyanchev
49356b2c0f
SimpleIdGenerator rolls over at Long.MAX_VALUE
...
Closes gh-25485
2020-09-13 21:09:08 +01:00
Rossen Stoyanchev
852718ec0e
Minor fix in PathResourceResolverTests
...
Closes gh-25671
2020-09-13 21:09:08 +01:00
Arjen Poutsma
07d2c08f48
Do not tokenize Forward header value
...
This commit remove the tokenization previously used in
UriComponentsBuilder#adaptFromForwardedHeaders, in order to support
Forwarded headers that have multiple, comma-separated 'for' elements.
Closes gh-25737
2020-09-09 16:31:24 +02:00
Juergen Hoeller
ed3b7cd10f
Upgrade to HSQLDB 2.5.1 and Woodstox 6.2.1
2020-09-08 17:09:13 +02:00
Juergen Hoeller
4d1d60ac42
Check log level before delegating Supplier-based message to target Log
...
Closes gh-25741
2020-09-08 16:50:40 +02:00
Juergen Hoeller
c6cc6705ef
FileUrlResource.isWritable() exclusively relies on getFile() implementation
...
Closes gh-25584
2020-09-08 12:23:27 +02:00
Juergen Hoeller
ae1d15c8f4
Declare protected getCharset method as non-static
...
See gh-25509
2020-09-08 12:22:25 +02:00
Rossen Stoyanchev
d616c6632d
Remove session on 4xx response from WebSocket handshake
...
Closes gh-25608
2020-09-07 21:27:52 +01:00
Rossen Stoyanchev
94c91c9e9c
Explain how to provide serialization view programmatically
...
Closes gh-25596
2020-09-07 21:27:52 +01:00
Rossen Stoyanchev
b6ff12d2f5
Expose protected method in AbstractJackson2HttpMessageConverter
...
Closes gh-25509
2020-09-07 21:27:52 +01:00
Rossen Stoyanchev
b1d84067cd
UriComponentsBuilder Javadoc update
...
Closes gh-25604
2020-09-07 21:27:52 +01:00
Rossen Stoyanchev
c19fc9d53f
Switch to Reactor Dysprosium snapshots
...
See gh-25730
2020-09-07 21:27:52 +01:00
Rossen Stoyanchev
899761f0a8
Avoid unnecessary parsing of path params
...
See gh-25690
2020-09-07 21:27:52 +01:00
Rossen Stoyanchev
f88759c3c9
Shared read-only instances of UrlPathHelper
...
UrlPathHelper is often created and used without customizations or with
the same customizations. This commit introduces re-usable, instances.
Effectively a backport of commit 23233c.
See gh-25690
2020-09-07 21:27:52 +01:00
Juergen Hoeller
4f0f29880f
Upgrade to AssertJ 3.17.2 and Undertow 2.0.31
2020-09-07 19:25:46 +02:00
Juergen Hoeller
4b211fb18c
Javadoc refinements
2020-09-07 19:20:26 +02:00
Juergen Hoeller
e797398b10
CallParameterMetaData detects function return parameter specifically
...
Closes gh-25588
2020-09-07 17:51:23 +02:00
Juergen Hoeller
613b05d814
Properties loading with ignoreResourceNotFound covers SocketException as well
...
Closes gh-25717
2020-09-07 17:51:14 +02:00
Juergen Hoeller
939c76c4a5
Revise documentation notes on getParameterType performance issues
...
See gh-25679
2020-09-05 13:00:06 +02:00
Juergen Hoeller
40bf83c9e5
Restore original 4.x behavior for initialization of function return name
...
Closes gh-25707
2020-09-05 12:59:34 +02:00
Juergen Hoeller
c368ce8223
Fix SpEL generated code for default method invocation
...
Closes gh-25706
2020-09-05 12:59:12 +02:00
Juergen Hoeller
670b9fd60b
Retry SQLErrorCodesFactory retrieval if DatabaseMetaData access failed
...
Includes deprecation of JdbcUtils.extractDatabaseMetaData(DataSource, String) in favor of the now generified version of extractDatabaseMetaData(DataSource, DatabaseMetaDataCallback).
Closes gh-25681
Closes gh-25686
2020-09-03 19:16:14 +02:00
Stephane Nicoll
c2363a6ef9
Make DataSize serializable
...
Closes gh-25675
2020-09-02 14:39:12 +02:00
Stephane Nicoll
cdfdc340d2
Log cache hit and cache miss for synchronized access
...
Closes gh-25248
2020-09-02 11:29:03 +02:00
Juergen Hoeller
7bd6b8d279
Upgrade to Checkstyle 8.36
2020-09-01 23:41:34 +02:00
Juergen Hoeller
141470ff58
Explicit nullability declarations for getTarget() implementations
2020-09-01 23:26:22 +02:00
Juergen Hoeller
d62202f464
Polishing
2020-09-01 10:27:36 +02:00
Juergen Hoeller
bcdc2503fa
Avoid repeated calls to getPathWithinApplication from getLookupPathForRequest
...
Closes gh-25669
2020-09-01 10:27:04 +02:00
Juergen Hoeller
3a73533b1c
Upgrade Gradle plugins to latest patch releases
2020-08-31 18:01:22 +02:00
Juergen Hoeller
d8c420ab75
Avoid full singleton lock for getSingleton(beanName, false)
...
Closes gh-25667
2020-08-31 18:00:51 +02:00
Juergen Hoeller
97d84d9ab8
Upgrade to AssertJ 3.17.1
2020-08-30 12:16:14 +02:00
Juergen Hoeller
ae4160e131
Avoid direct use of non-exported XStream CompositeClassLoader class
...
Closes gh-25662
2020-08-30 12:15:45 +02:00
Juergen Hoeller
bb9e79daa7
Polishing
2020-08-28 19:58:56 +02:00
Juergen Hoeller
6d9d4157ef
Specifically detect Joda-Time 2.x
...
Closes gh-25655
2020-08-28 19:57:51 +02:00
Juergen Hoeller
387eddcf75
Upgrade to Hibernate ORM 5.4.21, HtmlUnit 2.43, AspectJ 1.9.6
2020-08-27 17:29:06 +02:00
Juergen Hoeller
71e70aed14
Polishing
2020-08-27 17:13:33 +02:00
Juergen Hoeller
a8b295c516
Consistent javadoc for ParseState and its entry classes
2020-08-27 14:37:42 +02:00
Juergen Hoeller
cf2e0c7959
Selected use of ArrayList instead of LinkedList in common places
...
See gh-25652
2020-08-27 14:14:44 +02:00
Juergen Hoeller
589060d10f
Avoid LinkedList performance issues through use of ArrayDeque
...
Closes gh-25652
2020-08-27 14:14:08 +02:00
Juergen Hoeller
60fa704f78
Consistent behavior for overloaded @Bean methods with ASM processing
...
Closes gh-25263
2020-08-27 14:13:33 +02:00
Juergen Hoeller
f43c39c905
Upgrade to Hibernate ORM 5.4.20
2020-08-25 16:17:35 +02:00
Juergen Hoeller
6f0461c569
Polishing
2020-08-25 16:17:22 +02:00
Juergen Hoeller
04df9b8f49
Efficient checks for empty strings and single character matches
...
Closes gh-25552
Closes gh-25553
2020-08-25 16:17:12 +02:00
Juergen Hoeller
0d4040aa63
Avoid potential integer overflow in seconds->millis transformation
...
Closes gh-25613
2020-08-25 16:16:34 +02:00
Sam Brannen
148dc95eb1
Fix regressions in SimpleThreadScope and SimpleTransactionScope
...
PR gh-25038 introduced regressions in SimpleThreadScope and
SimpleTransactionScope in Spring Framework 5.2.7. Specifically, if a
thread-scoped or transaction-scoped bean has a dependency on another
thread-scoped or transaction-scoped bean, respectively, a
ConcurrentModificationException will be thrown on Java 11 or higher.
The reason is that Java 11 introduced a check for concurrent
modification in java.util.HashMap's computeIfAbsent() implementation,
and such a modification can occur when a thread-scoped bean is being
created in order to satisfy a dependency of another thread-scoped bean
that is currently being created.
This commit fixes these regressions by switching from HashMap to
ConcurrentHashMap for the instance maps in SimpleThreadScope and
SimpleTransactionScope.
Closes gh-25618
2020-08-22 23:19:58 +02:00