Sam Brannen
669b05dc1d
Allow AutowiredAnnotationBeanPostProcessor to compile on JDK 11
2022-02-08 14:06:27 +01:00
Stephane Nicoll
a0c97e4c36
Polish
...
See gh-27829
2022-02-07 12:51:53 +01:00
Stephane Nicoll
6936f7e0cb
Relocate runtime hints to aot package
...
See gh-27829
2022-02-07 12:51:43 +01:00
Sam Brannen
e077a753f8
Polish JsonContentTests
2022-02-05 20:37:42 +01:00
Sam Brannen
2ae6431a50
Merge branch '5.3.x'
2022-02-05 20:26:10 +01:00
Sam Brannen
038b88e2a1
Polishing
2022-02-05 20:23:45 +01:00
Sam Brannen
eb84c84373
Polish contribution
...
See gh-27993
2022-02-05 20:15:30 +01:00
Gleidson Leopoldo
920be8e1b2
Add support for strict JSON comparison in WebTestClient
...
Prior to this commit, WebTestClient only supported "lenient" comparison
of the expected JSON body.
This commit introduces an overloaded variant of `json()` in the
BodyContentSpec that accepts an additional boolean flag to specify
whether a "strict" comparison should be performed.
This new feature is analogous to the existing support in MockMvc.
Closes gh-27993
2022-02-05 20:15:30 +01:00
Sam Brannen
a13ad3e969
Polishing
2022-02-05 20:15:30 +01:00
Sam Brannen
04fbfddb13
Polish contribution
...
See gh-28011
2022-02-05 19:12:13 +01:00
lijun695
1e0e477833
Apply "instanceof pattern matching" in AbstractRoutingDataSource
...
Closes gh-28011
2022-02-05 18:58:08 +01:00
Stephane Nicoll
9a0f691e86
Merge branch '5.3.x'
2022-02-05 13:59:45 +01:00
Stephane Nicoll
874432b38a
Merge pull request #28010 from izeye
...
* pr/28010:
Fix Javadoc since for AopProxyUtils.isLambda()
Closes gh-28010
2022-02-05 13:59:33 +01:00
izeye
4ab03fede8
Fix Javadoc since for AopProxyUtils.isLambda()
...
See gh-28010
2022-02-05 13:59:01 +01:00
Juergen Hoeller
b0bca7f5ae
Merge branch '5.3.x'
...
# Conflicts:
# build.gradle
2022-02-04 23:55:18 +01:00
Juergen Hoeller
5bbdd36e19
Upgrade to Checkstyle 9.3, HtmlUnit 2.58, Apache HttpClient 5.1.3
2022-02-04 23:51:23 +01:00
Juergen Hoeller
a22feac803
Update license header for https (nohttp rule)
...
See gh-27802
2022-02-04 23:51:05 +01:00
Juergen Hoeller
3eb9886724
Merge branch '5.3.x'
...
# Conflicts:
# spring-context-support/src/main/java/org/springframework/scheduling/commonj/WorkManagerTaskExecutor.java
# spring-core/src/main/java/org/springframework/core/task/SimpleAsyncTaskExecutor.java
# spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectivePropertyAccessor.java
# spring-tx/src/main/java/org/springframework/jca/work/SimpleTaskWorkManager.java
# spring-tx/src/main/java/org/springframework/jca/work/WorkManagerTaskExecutor.java
2022-02-04 23:24:21 +01:00
Juergen Hoeller
bc9cd9a687
Find interface method even for late-bound interface declaration in subclass
...
Closes gh-27995
2022-02-04 23:21:27 +01:00
Juergen Hoeller
a71a45e719
Deprecate AsyncTaskExecutor.execute(Runnable task, long startTimeout)
...
Closes gh-27959
2022-02-04 23:21:00 +01:00
Juergen Hoeller
132d8c7f45
Support for CGLIB BeanMap utility on JDK 17
...
Closes gh-27802
2022-02-04 23:19:06 +01:00
Juergen Hoeller
d07e1be623
Retrieve JDBC Connection via JdbcCoordinator (for compatibility with Hibernate 6)
...
Closes gh-28007
2022-02-04 22:24:50 +01:00
Juergen Hoeller
6b1c2dc944
Consistently override (and prevent overriding for) aliases with bean definitions
...
Closes gh-27866
2022-02-04 21:12:42 +01:00
Juergen Hoeller
e5af4aa608
Initial upgrade to R2DBC Borca
...
See gh-27976
2022-02-04 21:09:02 +01:00
Juergen Hoeller
9688e61e20
Upgrade to Groovy 4.0
...
Closes gh-27985
2022-02-04 21:01:02 +01:00
Sam Brannen
4358b48b08
Merge branch '5.3.x'
2022-02-04 20:01:48 +01:00
Sam Brannen
5d7a632965
Ensure Spring AOP generates JDK dynamic proxies for lambdas
...
Prior to this commit, if AOP proxy generation was configured with
proxyTargetClass=true (which is the default behavior in recent versions
of Spring Boot), beans implemented as lambda expressions or method
references could not be proxied with CGLIB on Java 16 or higher without
specifying `--add-opens java.base/java.lang=ALL-UNNAMED`.
This commit addresses this shortcoming by ensuring that beans
implemented as lambda expressions or method references are always
proxied using a JDK dynamic proxy even if proxyTargetClass=true.
Closes gh-27971
2022-02-04 19:59:35 +01:00
Stephane Nicoll
c064e90697
Merge branch '5.3.x'
2022-02-04 09:24:50 +01:00
Stephane Nicoll
6bc7d41734
Merge pull request #28004 from An1s9n
...
* pr/28004:
Polish reference to ManagedBean annotation
Closes gh-28004
2022-02-04 09:24:30 +01:00
Pavel Anisimov
05d3e820f9
Polish reference to ManagedBean annotation
...
See gh-28004
2022-02-04 09:23:32 +01:00
Sam Brannen
b3f786728e
Use modern language features in tests
2022-02-03 15:35:32 +01:00
Sam Brannen
32cd73261a
Apply "switch expressions" where applicable
2022-02-03 15:21:18 +01:00
Sam Brannen
9a5ecd0c46
Apply "instanceof pattern matching" in spring-r2dbc
2022-02-03 15:21:09 +01:00
Sam Brannen
12342d7f8e
Sync ScriptUtilsUnitTests implementations
2022-02-03 15:20:54 +01:00
Sam Brannen
c263cbfbe4
Fix broken test missed in merge
2022-02-03 15:16:27 +01:00
Sam Brannen
54565e95b5
Merge branch '5.3.x'
2022-02-03 14:58:36 +01:00
Sam Brannen
f8a5a8d7be
Use modern language features in tests
2022-02-03 14:50:10 +01:00
Brian Clozel
5ad261228d
Upgrade JDK 17 and JDK 18 versions in CI image
2022-02-03 10:22:43 +01:00
Stephane Nicoll
d94298aae5
Merge branch '5.3.x'
2022-02-03 09:58:21 +01:00
Stephane Nicoll
82a2544918
Upgrade to spring javaformat 0.0.31
2022-02-03 08:49:16 +01:00
Stephane Nicoll
e702c22da4
Upgrade Ubuntu version in CI image
2022-02-03 08:48:52 +01:00
rstoyanchev
823958bcc5
Merge branch '5.3.x' into main
...
Remove use of Mockito spy proxies, which don't work on Java 17.
2022-02-02 17:35:54 +00:00
rstoyanchev
c4e362500b
Polishing tests
2022-02-02 17:09:04 +00:00
rstoyanchev
8d5a6520ce
Ensure all converters don't close InputStream
...
Closes gh-27969
2022-02-02 15:55:13 +00:00
rstoyanchev
4effca35b5
Ignore Content-Type that is invalid (not concrete)
...
Closes gh-27957
2022-02-02 15:55:07 +00:00
Arjen Poutsma
6e4551131d
Merge branch '5.3.x'
2022-02-01 13:52:52 +01:00
Arjen Poutsma
8f9a1cdc0c
Consider current date in "1W" cron expressions
...
Prior to this commit, the QuartzCronField::weekdayNearestTo would elapse
until the next month before checking if the current day matched.
After this commit, the current day is checked before we elapse until
the next month.
Closes gh-27966
2022-02-01 13:51:40 +01:00
Stephane Nicoll
84ebbdd38e
Merge branch '5.3.x'
2022-01-31 09:34:54 +01:00
Stephane Nicoll
136bd2002e
Upgrade to spring javaformat 0.0.30
2022-01-31 09:34:12 +01:00
Sam Brannen
5378f2040d
Merge branch '5.3.x'
2022-01-30 15:51:58 +01:00