Abel Salgado Romero
1acbc97b16
Fix minor spacings in webflux docs
...
Closes gh-30078
2023-03-09 11:58:16 +01:00
Arjen Poutsma
e88ec06a36
Disable flaky unit test for undertow
2023-03-09 10:03:07 +01:00
Juergen Hoeller
2302358606
Upgrade to Log4J 2.20, Tomcat 10.1.7, Jetty 11.0.14, Undertow 2.3.4
2023-03-08 16:53:43 +01:00
Juergen Hoeller
d213522dfc
Polishing
2023-03-08 16:49:32 +01:00
Juergen Hoeller
95710646d1
Pass pre-determined merged bean definition into InstanceSupplier (for inner beans)
...
Replaces useless protected obtainFromSupplier method with obtainInstanceFromSupplier.
Moves InstanceSupplier handling to appropriate subclass (DefaultListableBeanFactory).
BeanInstanceSupplier throws BeanInstantiationException instead of BeanCreationException.
Closes gh-29803
2023-03-08 16:49:25 +01:00
Brian Clozel
6cd67412cc
Avoid lock contention in CaffeineCacheManager
...
Prior to this commit, using a dynamic `CaffeineCacheManager` would rely
on `ConcurrentHashMap#computeIfAbsent` for retrieving and creating cache
instances as needed. It turns out that using this method concurrently
can cause lock contention even when all known cache instances are
instantiated.
This commit avoids using this method if the cache instance already
exists and avoid storing `null` entries in the map. This change reduces
lock contention and the overall HashMap size in the non-dynamic case.
Fixes gh-30066
2023-03-08 16:23:32 +01:00
Arjen Poutsma
e427ea8086
Merge pull request #30046 from srivatsa-cfp:main
...
* gh-30046:
Add non-null assertions in DefaultServerRequestBuilder
2023-03-08 15:36:37 +01:00
Vatsa
d8fbd35467
Add non-null assertions in DefaultServerRequestBuilder
...
This commit adds various non-null assertions to
DefaultServerRequestBuilder, in both Spring MVC and WebFlux.
Closes gh-30046
2023-03-08 12:50:02 +01:00
Sam Brannen
a31cfba992
Apply "instanceof pattern matching" in remainder of spring-websocket module
...
See gh-30067
2023-03-07 19:18:25 +01:00
Sébastien Deleuze
14973fd6f3
Unset reproducibleFileOrder and preserveFileTimestamps Gradle flags
...
This commit reverts the changes done via 50a0094a47
in order to ensure consistency across modules (those changes were specific to
spring-core).
Reproducible builds are likely desirable, but it is a complex topic
(see gradle/gradle#14819 ) that needs to be addressed portfolio wide, with
a better control than what Gradle currently allows (for example to allow
using EPOCH instead of the current 1980 date).
Basic tests did not show an obvious impact on testing avoidance with modern
Gradle versions.
Closes gh-29633
2023-03-07 18:54:19 +01:00
Sam Brannen
ffe7ec4a99
Apply "instanceof pattern matching" in remainder of spring-webmvc module
...
See gh-30067
2023-03-07 18:23:15 +01:00
Sam Brannen
9b811a01f6
Polishing
2023-03-07 15:20:10 +01:00
Sam Brannen
2b23d1693d
Remove unused service package
2023-03-07 15:20:10 +01:00
Sam Brannen
9011ce9c68
Apply "instanceof pattern matching" in remainder of spring-web module
...
See gh-30067
2023-03-07 15:20:10 +01:00
Sam Brannen
29fe0a3c6a
Update TODO for linking to JUnit 5 docs
...
See gh-27497
2023-03-07 13:28:25 +01:00
Sébastien Deleuze
c20efba45c
End javadoc generated AOT with a period consistently
...
Closes gh-29357
2023-03-07 11:20:37 +01:00
Sam Brannen
fa95bf4dc1
Apply "instanceof pattern matching" in remainder of spring-test module
...
See gh-30067
2023-03-06 17:49:26 +01:00
Sam Brannen
eea000d034
Apply "instanceof pattern matching" in remainder of spring-r2dbc module
...
See gh-30067
2023-03-06 17:21:28 +01:00
Sam Brannen
a6338fcc43
Update copyright headers
2023-03-06 17:20:42 +01:00
Sam Brannen
dafc7a2aab
Apply "instanceof pattern matching" in remainder of spring-oxm module
...
See gh-30067
2023-03-06 17:07:49 +01:00
Sam Brannen
b7288a4073
Apply "instanceof pattern matching" in remainder of spring-orm module
...
See gh-30067
2023-03-06 17:03:02 +01:00
Sam Brannen
004a144bdc
Apply "instanceof pattern matching" in remainder of spring-messaging module
...
See gh-30067
2023-03-06 16:23:10 +01:00
Sam Brannen
09b60220d8
Apply "instanceof pattern matching" in remainder of spring-jms module
...
See gh-30067
2023-03-06 15:32:07 +01:00
Sam Brannen
7f1b81ff53
Apply "instanceof pattern matching" in remainder of spring-jdbc module
...
See gh-30067
2023-03-06 15:18:05 +01:00
Sam Brannen
8175a3bf09
Polishing
2023-03-06 15:17:39 +01:00
Sam Brannen
7eadedae36
Apply "instanceof pattern matching" in spring-jcl module
...
See gh-30067
2023-03-06 14:56:53 +01:00
Sam Brannen
cb4f93561e
Apply "instanceof pattern matching" in remainder of spring-expression module
...
See gh-30067
2023-03-06 14:45:28 +01:00
Sam Brannen
f3cb331e4e
Optimize find[Getter|Setter]ForProperty() in ReflectivePropertyAccessor
2023-03-06 14:45:28 +01:00
Sam Brannen
74f6725a37
Update copyright headers
2023-03-06 13:56:33 +01:00
Enric Sala
edf0ae77e5
Avoid rollback after a commit failure in TransactionalOperator
...
A failure to commit a reactive transaction will complete the
transaction and clean up resources. Executing a rollback at
that point is invalid, which causes an
IllegalTransactionStateException that masks the cause of the
commit failure.
This change restructures TransactionalOperatorImpl and
ReactiveTransactionSupport to avoid executing a rollback after
a failed commit. While there, the Mono transaction handling in
TransactionalOperator is simplified by moving it to a default
method on the interface.
Closes gh-27572
2023-03-06 10:05:59 +01:00
Sam Brannen
95481018d0
Apply "instanceof pattern matching" in spring-core-test
...
See gh-30067
2023-03-05 19:37:59 +01:00
Sam Brannen
56523d5014
Polishing
2023-03-05 19:37:11 +01:00
Sam Brannen
8ebd746d69
Apply "instanceof pattern matching" in remainder of spring-core module
...
See gh-30067
2023-03-05 19:09:32 +01:00
Sam Brannen
162c09d036
Apply "instanceof pattern matching" in remainder of spring-context-support module
...
See gh-30067
2023-03-05 19:09:32 +01:00
Sam Brannen
7766b518d3
Apply "instanceof pattern matching" in spring-context-indexer module
...
See gh-30067
2023-03-05 19:09:32 +01:00
Sam Brannen
24de8c6f4c
Apply "instanceof pattern matching" in remainder of spring-context module
...
See gh-30067
2023-03-05 19:09:32 +01:00
Sam Brannen
d9500e60a1
Apply "instanceof pattern matching" in remainder of spring-beans module
...
See gh-30067
2023-03-05 19:09:32 +01:00
Sam Brannen
e5d20a4f9d
Convert EventExpressionRootObject to a record
2023-03-05 19:09:32 +01:00
Sam Brannen
37458d28d9
Covert InterceptorAndDynamicMethodMatcher to a record
2023-03-05 19:09:32 +01:00
Juergen Hoeller
c9aba1eaad
Enable Jetty 12 support in WebFlux
...
Closes gh-29575
2023-03-04 17:37:26 +01:00
Sam Brannen
3854861a8a
Polishing
2023-03-03 15:39:24 +01:00
Spring Builds
3dd0fbfb57
Next development version (v6.0.7-SNAPSHOT)
2023-03-02 17:45:24 +00:00
Sam Brannen
57b838ddda
Upgrade to spring-asciidoctor-backends 0.0.5
2023-03-02 16:50:48 +01:00
Sam Brannen
8c784085d2
Update copyright dates
2023-03-02 16:22:53 +01:00
Sam Brannen
c0a1e1718e
Polishing
2023-03-02 16:22:42 +01:00
Sam Brannen
fe29e734ae
Revise documentation for @AspectJ argument name resolution algorithm
...
Closes gh-30026
2023-03-02 15:26:21 +01:00
rstoyanchev
50c3a62589
Upgrade to Reactor Netty 2022.0.4
...
Closes gh-30063
2023-03-02 13:58:57 +00:00
Juergen Hoeller
a936a6a8ce
Javadoc-only reference to SubscribeMapping from simp package (-> package dependency cycle)
...
See gh-30002
2023-03-02 13:57:17 +01:00
Juergen Hoeller
8d112b8514
Test for explicit URI decoding in convertClassLoaderURL
...
See gh-30031
2023-03-02 13:33:53 +01:00
Juergen Hoeller
f8cb0fa2a0
Custom resolution of preferred constructors for createBean(Class)
...
Avoids side effects of traditional AUTOWIRE_CONSTRUCTOR algorithm.
Closes gh-30041
2023-03-02 12:54:26 +01:00