Stéphane Nicoll
b68f76c86e
Polish
...
See gh-32502
2024-04-04 14:42:41 +02:00
Simon Baslé
521cda009b
Use non-blocking thread in WebFlux controller with RequestBody parameter
...
This commit ensures that `InvocableHandlerMethod` executes the method
on the desired thread if a non-blocking thread is specified, even in the
case where arguments resolution happens on a different thread. This is
notably the case if the method body is resolved as an input argument to
the controller method (`@RequestBody`).
Closes gh-32502
2024-04-04 14:20:16 +02:00
Stéphane Nicoll
08c9b5c96c
Upgrade to Gradle 8.7
...
Closes gh-32566
2024-04-02 18:01:37 +02:00
Stéphane Nicoll
a942a6e172
Document behavior of profiles enabled for AOT optimizations
...
Closes gh-32543
2024-04-02 15:47:43 +02:00
Stéphane Nicoll
9b1d5ea6e0
Merge pull request #32557 from Banuelorigni
...
* pr/32557:
Polish reference guide
Closes gh-32557
2024-04-02 09:33:00 +02:00
kexin.an
640b97f33c
Polish reference guide
...
See gh-32557
2024-04-02 09:29:55 +02:00
Stéphane Nicoll
1fb99e4192
Merge pull request #32560 from quaff
...
* pr/32560:
Polish javadoc of AnnotatedBeanDefinitionReader
Closes gh-32560
2024-04-01 12:14:51 +02:00
Yanming Zhou
23d89362b0
Polish javadoc of AnnotatedBeanDefinitionReader
...
See gh-32560
2024-04-01 12:12:02 +02:00
Sébastien Deleuze
048e4f0aa2
Invoke KCallablesJvm.setAccessible only when required
...
Closes-32536
2024-03-28 11:12:50 +01:00
T45K
b28153e1d7
Fix handling of value class with private constructor
...
See gh-32536
2024-03-28 11:11:58 +01:00
Sébastien Deleuze
88b9c0567d
Refine null-safety in spring-test
...
See gh-32475
2024-03-26 18:09:55 +01:00
Stéphane Nicoll
c7c9da56da
Consistent atMost period for Awaitility-based tests
...
Closes gh-32537
2024-03-26 17:45:14 +01:00
Sébastien Deleuze
290a41d398
Refine null-safety in more modules
...
This commit refines the null-safety in all remaining modules
except spring-test.
See gh-32475
2024-03-26 15:39:18 +01:00
Sébastien Deleuze
1b563f8ba4
Refine null-safety in more modules
...
This commit refines the null-safety in:
- spring-jdbc
- spring-r2dbc
- spring-orm
- spring-beans
- spring-aop
See gh-32475
2024-03-26 09:46:34 +01:00
Sébastien Deleuze
dea31dd55e
Refine null-safety in spring-messaging
...
See gh-32475
2024-03-25 12:24:53 +01:00
Sébastien Deleuze
06b91c4ea5
Refine null-safety in spring-jms
...
See gh-32475
2024-03-25 11:28:00 +01:00
Sébastien Deleuze
a63ebe7e9d
Refine null-safety in spring-web and spring-websocket
...
See gh-32475
2024-03-25 11:02:44 +01:00
Stéphane Nicoll
c4b615052e
Merge pull request #32517 from izeye
...
* pr/32517:
Add Javadoc since to KotlinSerializationStringEncoder.setStreamingMediaTypes()
Closes gh-32517
2024-03-24 09:23:05 +01:00
Johnny Lim
dca5f1dcd8
Add Javadoc since to KotlinSerializationStringEncoder.setStreamingMediaTypes()
...
See gh-32517
2024-03-24 09:21:36 +01:00
Sébastien Deleuze
a16e8c34b2
Refine null-safety in spring-webmvc
...
See gh-32475
2024-03-22 17:44:35 +01:00
Sam Brannen
52b8c71dcd
Retain null-safe syntax in AST representation of selection & projection
...
Prior to this commit, SpEL's CompoundExpression omitted the null-safe
syntax in AST string representations of the selection and projection
operators.
To address this, this commit implements isNullSafe() in Projection and
Selection.
Closes gh-32515
2024-03-22 17:05:48 +01:00
Sam Brannen
f941754db6
Introduce isNullSafe() in SpelNodeImpl
...
Prior to this commit, MethodReference and PropertyOrFieldReference
already defined local isNullSafe() methods, but we need identical
methods in Selection, Projection, and Indexer, and we may potentially
need null-safe support for additional operators in the future.
To address the common need for an is-null-safe check, this commit
introduces an isNullSafe() method in SpelNodeImpl with a default
implementation that returns false.
Closes gh-32516
2024-03-22 16:37:08 +01:00
Sam Brannen
d4495a5654
Revise PropertyOrFieldReference since isNullSafe() is not final
2024-03-22 16:37:08 +01:00
Stéphane Nicoll
c7c61e13e1
Merge pull request #32514 from izeye
...
* pr/32514:
Apply UnnecessarySemicolonInEnumeration Checkstyle module
Closes gh-32514
2024-03-22 16:31:54 +01:00
Johnny Lim
4d722414da
Apply UnnecessarySemicolonInEnumeration Checkstyle module
...
This commit also fixes its violation.
See gh-32514
2024-03-22 16:30:06 +01:00
Sébastien Deleuze
87dfa492af
Refine null-safety in spring-webflux
...
See gh-32475
2024-03-22 16:05:17 +01:00
Sébastien Deleuze
cf9033a60d
Polishing
2024-03-22 16:04:03 +01:00
Sébastien Deleuze
1e80694daf
Fix a regression with Kotlin generic controllers
...
This commit reintroduces a more defensive parameter type check that
skips KClass casting for generic parameters.
Closes gh-32510
2024-03-21 17:55:57 +01:00
Stéphane Nicoll
e17c3d3be4
Upgrade actions that use deprecated features
2024-03-20 10:16:09 +01:00
Sébastien Deleuze
2e98a8a2a4
Refine null-safety in spring-expression
...
See gh-32475
2024-03-20 10:07:56 +01:00
Stéphane Nicoll
592f23674d
Merge pull request #32494 from qww1552
...
* pr/32494:
Fix link to vavr in the reference guide
Closes gh-32494
2024-03-20 10:01:47 +01:00
Minsung Oh
0b3a05b463
Fix link to vavr in the reference guide
...
See gh-32494
2024-03-20 09:48:00 +01:00
Sam Brannen
ef02f0bad8
Wrap InvalidMimeTypeException in HttpMediaTypeNotAcceptableException
...
The fix for #31254 resulted in an InvalidMimeTypeException being thrown
by MimeTypeUtils.sortBySpecificity() instead of an
IllegalArgumentException. However, InvalidMimeTypeException extends
IllegalArgumentException. Consequently, the change from
IllegalArgumentException to InvalidMimeTypeException did not result in
the desired effect in HeaderContentNegotiationStrategy.
HeaderContentNegotiationStrategy.resolveMediaTypes() still allows the
InvalidMimeTypeException to propagate as-is without wrapping it in an
HttpMediaTypeNotAcceptableException.
To address this issue, this commit catches InvalidMediaTypeException
and InvalidMimeTypeException in HeaderContentNegotiationStrategy and
wraps the exception in an HttpMediaTypeNotAcceptableException.
See gh-31254
See gh-31769
Closes gh-32483
2024-03-19 15:51:27 +01:00
Sam Brannen
836a0b3a40
Polishing
2024-03-19 14:19:01 +01:00
Sam Brannen
09f210f5f7
Polish wording in reference manual
2024-03-19 14:15:19 +01:00
Sébastien Deleuze
aa0fb97ba5
Nullability refinements
...
See gh-32475
2024-03-19 13:32:13 +01:00
Sébastien Deleuze
71a117c0fd
Document AOT limitations related to Kotlin backticks
...
Closes gh-32487
2024-03-19 11:03:56 +01:00
Juergen Hoeller
bd27ddf83a
Polishing (aligned with main)
2024-03-19 10:05:32 +01:00
Juergen Hoeller
c531a8a705
Nullability refinements and related polishing
...
See gh-32475
2024-03-19 09:58:44 +01:00
Juergen Hoeller
cd7ba1835c
Propagate JMS IllegalStateException from commit/rollbackIfNecessary
...
Closes gh-32473
2024-03-18 16:03:13 +01:00
Juergen Hoeller
5dc6a16c0b
Nullability refinements
...
See gh-32475
2024-03-18 16:03:00 +01:00
Sam Brannen
42a4f28962
Avoid unnecessary Annotation array cloning in TypeDescriptor
...
Closes gh-32476
2024-03-18 15:17:04 +01:00
Brian Clozel
521d4f24d0
Remove flaky test in JMS observation
...
There is no way to consistently test this use case because listener
container implementations have different behavior for unhandled errors
and might retry or close the container altogether.
See gh-32458
2024-03-18 14:35:42 +01:00
Stéphane Nicoll
039cbb3466
Merge pull request #32474 from izeye
...
* pr/32474:
Add Javadoc since to AbstractClientHttpRequestFactoryWrapper.getDelegate()
Closes gh-32474
2024-03-18 14:10:58 +01:00
Johnny Lim
d50c94fca9
Add Javadoc since to AbstractClientHttpRequestFactoryWrapper.getDelegate()
...
See gh-32474
2024-03-18 14:08:59 +01:00
Brian Clozel
c1424acb94
Fix flaky test in JMS observability
...
See gh-32458
2024-03-18 12:17:57 +01:00
Juergen Hoeller
36d1bc57d7
Upgrade to Checkstyle 10.14.2
2024-03-17 20:54:54 +01:00
Juergen Hoeller
b1c3b6e34b
Restore original toString representation (revert accidental backport)
...
See gh-32405
2024-03-17 20:42:29 +01:00
Juergen Hoeller
eb8b7c4331
Remove superfluous @NonNull declarations
2024-03-16 14:22:17 +01:00
Juergen Hoeller
58bd057a24
Avoid cloning empty Annotation array in TypeDescriptor (backport)
...
Closes gh-32405
2024-03-16 14:21:34 +01:00