Juergen Hoeller
d8c420ab75
Avoid full singleton lock for getSingleton(beanName, false)
...
Closes gh-25667
2020-08-31 18:00:51 +02:00
Сергей Цыпанов
1f3e52d932
gh-25650 Replace remaining usage of LinkedList with ArrayList in tests
2020-08-31 14:33:14 +02:00
Juergen Hoeller
79cf6b4353
Merge branch '5.2.x'
2020-08-30 12:18:49 +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
Сергей Цыпанов
a033660425
Improve performance of JdkDynamicAopProxy.getProxy()
2020-08-30 11:40:08 +02:00
Rossen Stoyanchev
7bc8035989
Replace http with https in docs sample
2020-08-28 22:30:57 +01:00
Rossen Stoyanchev
42aeb6cd93
Update docs on timeouts with WebClient
...
Closes gh-25115
2020-08-28 22:19:01 +01:00
Rossen Stoyanchev
c4e1e4ee1e
WebFlux AbstractUrlHandlerMapping support URI vars
...
Closes gh-25648
2020-08-28 21:56:28 +01:00
Rossen Stoyanchev
a8d953afa4
CloseStatus implements Serializable
...
Closes gh-25507
2020-08-28 20:43:45 +01:00
Rossen Stoyanchev
bb941b6180
OrderedMessageChannelDecorator doesn't preclude send limits
...
Closes gh-25581
2020-08-28 20:40:55 +01:00
Juergen Hoeller
c4f4fbc003
Polishing
2020-08-28 20:14:24 +02:00
Juergen Hoeller
00c5dbf11a
Merge branch '5.2.x'
...
# Conflicts:
# spring-beans/src/main/java/org/springframework/beans/CachedIntrospectionResults.java
2020-08-28 20:01:17 +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
d37eaa5941
Introduce DataClassRowMapper with record-style constructor binding support
...
Closes gh-24695
2020-08-28 18:52:35 +02:00
Juergen Hoeller
d4192b9d35
Expose record-style accessor methods for instance fields as bean properties
...
Closes gh-24391
2020-08-28 18:51:27 +02:00
Violeta Georgieva
1fe2ea5a87
Add logPrefix to the log statement
...
Add logPrefix to the log statement to provide better debugging experience
2020-08-28 10:53:07 +01:00
Rossen Stoyanchev
f4f1abb27a
Revert "OrderedMessageSender throughput improvement"
...
This reverts commit f5c287a6e6 .
See gh-25581
2020-08-28 09:43:51 +01:00
Rossen Stoyanchev
f98719902b
Revert "Polishing OrderedMessageSender"
...
This reverts commit d014d88937 .
See gh-25581
2020-08-28 09:43:01 +01:00
Juergen Hoeller
7288ae1c16
Upgrade to Protobuf 3.13, JRuby 9.2.13, Mockito 3.5.7
2020-08-27 17:49:14 +02:00
Juergen Hoeller
0f2cc53be7
Merge branch '5.2.x'
...
# Conflicts:
# build.gradle
2020-08-27 17:32:20 +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
2080878d82
Merge branch '5.2.x'
...
# Conflicts:
# spring-beans/src/main/java/org/springframework/beans/factory/parsing/ParseState.java
2020-08-27 14:40:54 +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
Rossen Stoyanchev
d014d88937
Polishing OrderedMessageSender
...
See gh-25581
2020-08-27 13:08:41 +01:00
Rossen Stoyanchev
f5c287a6e6
OrderedMessageSender throughput improvement
...
Before this change messages were sent serially across sessions but
ordering is important only within a session. This leads to head of
line blocking when a session is slow to send, and also enforcement of
send buffer size and time limits is precluded because it happens at
a lower level in the transport.
This change ensures messages are held up only if there is another
from the same session is being sent. This allows messages from each
session to flow independent of other.
See gh-25581
2020-08-27 13:08:41 +01:00
Rossen Stoyanchev
568b44eb9d
Consistent generics in spring-test Matcher declarations
...
Closes gh-25610
2020-08-27 10:50:30 +01:00
Rossen Stoyanchev
21d25b23d9
WebFlux extension point to decorate the HttpHandler
...
Closes gh-25633
2020-08-27 10:50:30 +01:00
Rossen Stoyanchev
9c7b4ff9ba
Public method to register RSocket handler methods
...
Closes gh-25639
2020-08-27 10:50:30 +01:00
Juergen Hoeller
874574513c
Replace remaining usage of LinkedList with ArrayList/ArrayDeque
...
Closes gh-25650
2020-08-26 18:32:08 +02:00
Juergen Hoeller
d198c4426f
Extract ConcurrentLruCache for reuse in NamedParameterJdbcTemplate
...
Closes gh-24197
2020-08-26 14:35:01 +02:00
Riley Park
6884a3ac56
Fix appendix typos in ContentDisposition
2020-08-26 11:33:27 +01:00
Juergen Hoeller
2b47e779ac
Explicit explanation that no resize/rehash operations will be needed
...
See gh-25349
2020-08-26 11:48:50 +02:00
Juergen Hoeller
ff11467a0c
Avoid resizing of fixed-size HashMap/LinkedHashMap variants
...
Closes gh-25349
2020-08-25 19:26:18 +02:00
Juergen Hoeller
241afeb1b7
Upgrade to JUnit 5.7 RC1 (and RxJava 3.0.6)
...
See gh-25527
2020-08-25 16:26:57 +02:00
Juergen Hoeller
5d96a2dc9e
Defensive null handling for exception message
...
See gh-24878
2020-08-25 16:26:23 +02:00
Juergen Hoeller
7324140d20
Merge branch '5.2.x'
2020-08-25 16:21:00 +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
Marten Deinum
74a014743a
Call StartupStep.end in finally block
...
Prior to this commit it was possible that a StartupStep was
started but never ended. This was the case when an exception
occured during bean initializing. To always call the method
regardless of the outcome, the call to StartupStep.end has
been moved to a finally block.
When an exception occurs the StartupStep is also enriched with
the exception class and message for diagnostic purposes.
See gh-22776
Closes gh-25572
2020-08-24 09:48:54 +02:00
Rossen Stoyanchev
7adeb461e0
WebClient exposes API for access to native request
...
Closes gh-25115, gh-25493
2020-08-24 07:58:35 +01:00
Sam Brannen
0f7ad1b5bf
Merge branch '5.2.x'
2020-08-22 23:50:28 +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