Sébastien Deleuze
9d9383aaeb
Specify generic type nullness in spring-core
...
Also in spring-core-test.
See gh-34140
2025-01-14 12:35:02 +01:00
Sébastien Deleuze
435cb0c7d6
Specify generic type nullness in spring-context
...
Also in spring-context-support.
See gh-34140
2025-01-14 12:35:02 +01:00
Sébastien Deleuze
928a3c7184
Specify generic type nullness in spring-beans
...
See gh-34140
2025-01-14 12:35:01 +01:00
Sébastien Deleuze
f52f83349c
Specify generic type nullness in spring-aop
...
See gh-34140
2025-01-14 12:35:01 +01:00
Sébastien Deleuze
c0039fb624
Enable NullAway JSpecify mode
...
See gh-34140
2025-01-14 12:26:20 +01:00
Sam Brannen
b9c1aec62f
Merge branch '6.2.x'
2025-01-14 11:38:45 +01:00
Sam Brannen
3c3b8c7aac
Track only qualifier annotations in BeanOverrideHandler
...
Closes gh-34260
2025-01-14 11:35:00 +01:00
Sam Brannen
5a68d1f029
Remove @FunctionalInterface declaration from BeanOverrideProcessor
...
Closes gh-34259
2025-01-14 11:29:45 +01:00
Sam Brannen
ff9b7678a7
Polish Bean Override internals and tests
2025-01-14 11:25:37 +01:00
Brian Clozel
c02251672e
Polishing RuntimeHintsPredicates deprecations
...
This commit also deprecates the types returned by deprecated methods as
they will be removed as well in the future.
See gh-34239
2025-01-14 10:28:39 +01:00
Brian Clozel
9b17928143
Merge branch '6.2.x'
2025-01-13 20:21:40 +01:00
Brian Clozel
799566573a
Fix Wrong parentId tracking in JFR application startup
...
This commit fixes the tracking of the main event parentId for the Java
Flight Recorder implementation variant.
Fixes gh-34128
2025-01-13 19:03:43 +01:00
Juergen Hoeller
ae9abc8545
Merge branch '6.2.x'
2025-01-13 17:49:25 +01:00
Juergen Hoeller
467d5f3ca3
Try late locking for waiting on specific bean to be finished
...
Closes gh-34186
2025-01-13 17:48:13 +01:00
Brian Clozel
d28c0396c9
Update runtime hints predicates after GraalVM changes
...
As of gh-33847, method and field introspection is included by default
when a type is registered for reflection.
Many methods in ReflectionHintsPredicates are now mostly useless as their
default behavior checks for introspection.
This commit deprecates those methods and promotes instead invocation
variants. During the upgrade, developers should replace it for an
`onType` check if only reflection is required. If they were checking for
invocation, they should use the new 'onXInvocation` method.
Closes gh-34239
2025-01-13 15:34:34 +01:00
Stéphane Nicoll
6be811119e
Merge branch '6.2.x'
2025-01-13 13:58:16 +01:00
Stéphane Nicoll
172c25fb0e
Upgrade to Micrometer 1.14.3
...
Closes gh-34251
2025-01-13 13:54:47 +01:00
Juergen Hoeller
87da67165a
Merge branch '6.2.x'
...
# Conflicts:
# spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractAutowireCapableBeanFactory.java
2025-01-13 13:06:14 +01:00
Juergen Hoeller
8771b9ea21
Defensively acquire singleton lock for FactoryBean type check
...
Closes gh-34247
2025-01-13 13:04:42 +01:00
Juergen Hoeller
ff72652890
Defensively check expected type for qualified bean
...
Closes gh-34187
2025-01-13 13:03:25 +01:00
Stéphane Nicoll
6888137cb6
Merge branch '6.2.x'
2025-01-13 09:12:32 +01:00
Stéphane Nicoll
a1503a59ee
Start building against Reactor 2024.0.2 snapshots
...
See gh-34252
2025-01-13 09:09:19 +01:00
Stéphane Nicoll
5f29df3ac3
Start building against Micrometer 1.14.3 snapshots
...
See gh-34251
2025-01-13 09:08:06 +01:00
Juergen Hoeller
b8c3f03ec0
Merge branch '6.2.x'
2025-01-12 18:13:04 +01:00
Juergen Hoeller
25287205ba
Use ReentrantLock for compilation without synchronization
...
Closes gh-34133
2025-01-12 18:11:47 +01:00
Juergen Hoeller
2bb4df79c3
Ignore SQLServerException with "not supported" message
...
Closes gh-34233
2025-01-12 18:08:54 +01:00
Juergen Hoeller
36fd82f32f
Defensively resolve JarFile from JarURLConnection
...
Closes gh-34216
2025-01-12 18:07:09 +01:00
Juergen Hoeller
0f26f42da7
Defensively check for jar separator in jar entry names
...
Closes gh-34126
2025-01-12 18:05:49 +01:00
Juergen Hoeller
c48fec885c
Avoid caching invalid root directories
...
Closes gh-34111
2025-01-12 18:00:10 +01:00
Stéphane Nicoll
92ede84ea3
Merge branch '6.2.x'
2025-01-11 12:36:54 +01:00
Stéphane Nicoll
7c4351ab0a
Polish
...
See gh-34231
2025-01-11 12:35:42 +01:00
rstoyanchev
8c03d55905
Deprecate HandlerMappingIntrospector
...
Closes gh-34019
2025-01-10 18:50:47 +00:00
Mengqi Xu
dc98a7960a
Remove the catch of NPE because this issue had resolved at Jetty 12.0.2.
...
Closes gh-34235
Signed-off-by: Mengqi Xu <2663479778@qq.com >
2025-01-10 18:12:51 +01:00
Stéphane Nicoll
4d0f1729cb
Restore deprecated constructor for binary compatibility support
...
Code that compiles against the non-deprecated version does not see the
new constructor that has been introduced. As such, there is no way for
them to migrate to it without resorting to reflection.
This commit restores the deprecated constructor so that people can try
the latest version more easily.
Closes gh-34238
2025-01-10 18:07:53 +01:00
Brian Clozel
c85e56aac9
Polishing
...
See gh-34237
2025-01-10 18:06:46 +01:00
Brian Clozel
f2a18e5920
Upgrade to Jetty 12.1.0.alpha0
...
Closes gh-34237
2025-01-10 18:03:10 +01:00
rstoyanchev
2561a60968
Update MockRestServiceServer bufferContent
...
Connect the existing bufferContent option to the new RestClient and
RestTemplate equivalent feature.
See gh-33785
2025-01-10 14:39:24 +00:00
rstoyanchev
39bb751546
Polishing
2025-01-10 14:39:24 +00:00
rstoyanchev
be5542a7a7
Add buffering predicate to RestTemplate
...
See gh-33785
2025-01-10 14:39:24 +00:00
Sébastien Deleuze
ec48c47886
Make URI template variables nullable
...
Closes gh-34221
2025-01-10 11:39:21 +01:00
Brian Clozel
bce7d87151
Merge branch '6.2.x'
2025-01-10 11:22:38 +01:00
rstoyanchev
07455b10f3
Use response decorator to check if error handled
...
Closes gh-34231
2025-01-10 10:51:39 +01:00
rstoyanchev
a72855b2b3
DefaultResponseErrorHandler updates
...
Deprecate handleError(response), and ensure it continues to be invoked
if overridden.
See gh-34231
2025-01-10 10:51:11 +01:00
rstoyanchev
cdddf09c20
Polishing in DefaultResponseErrorHandler
...
See gh-34231
2025-01-10 10:50:41 +01:00
Sébastien Deleuze
87f1961c3e
Polishing
2025-01-09 17:53:28 +01:00
Sébastien Deleuze
52f325db82
Fix javadoc Gradle task
...
This commit refines the javadoc options and removes aspectj broken link.
See gh-34220
2025-01-09 17:28:09 +01:00
Sébastien Deleuze
262a3130d4
Upgrade SDK env to Java 23.0.1
...
See gh-34220
2025-01-09 16:08:44 +01:00
Sébastien Deleuze
df1ed0a4dc
Refine dependencies to fix compilation with Java 23
...
Closes gh-34220
2025-01-09 16:01:39 +01:00
Sébastien Deleuze
483985b173
Suppress serialization warnings
...
This commit suppresses serialization warnings triggered by the upgrade
of javac from 17 to 23.
See gh-34220
2025-01-09 16:01:30 +01:00
Sébastien Deleuze
b85a76f983
Configure the Gradle toolchain to use Java 23
...
In order to be able to fix gh-34140 which requires using at least a
Java 22 compiler, this commit intends to change the configuration of
the Gradle toolchain to use Java 23, while setting the Java release to
Java 17 (or other versions when using MRJARs) when relevant in order to
keep the current Java 17 baseline.
See gh-34220
2025-01-09 15:59:34 +01:00