Brian Clozel
7ecbdc19a5
Merge branch '6.0.x'
3 years ago
Brian Clozel
227049824c
Fix RuntimeHintsPredicates matching rules
...
Prior to this commit, the `RuntimeHintsPredicates` would assume that
registering introspection or invocation hints for "all declared methods"
on a type would also include "all public methods". This is not true, as
the Java reflection API itself behaves differently.
`getDeclaredMethods()` does not return a superset of `getMethods()`, as
the latter can return inherited methods, but not the former.
Same reasoning applies to fields.
This commit fixes the hints predicates to only match if the correct hint
has been registered.
Fixes gh-31224
3 years ago
Juergen Hoeller
aa1360b154
Complete set of constructors with consistent javadoc
...
Closes gh-31234
3 years ago
Marten Deinum
e42e89c04f
Add constructors to take ObjectMapper
...
Prior to this commit in the message converters it was possible
to set a pre-configured ObjectMapper. However the constructor
would still create and configure an ObjectMapper.
With the added constructor it is now possible to directly
construct the message converter with the proper ObjectMapper.
This prevents the this additional ObjectMapper to be constructed.
3 years ago
Stéphane Nicoll
f628c601a7
Merge pull request #28132 from ctailor2
...
* pr/28132:
Polish "Allow batch update to take a KeyHolder"
Allow batch update to take a KeyHolder
Closes gh-28132
3 years ago
Stéphane Nicoll
c21a9b94c5
Polish "Allow batch update to take a KeyHolder"
...
See gh-28132
3 years ago
Chirag Tailor
78db5dd516
Allow batch update to take a KeyHolder
...
See gh-28132
3 years ago
Arjen Poutsma
056de7e898
Enable disabled multi-part Netty 2 tests
...
See gh-31110
3 years ago
Arjen Poutsma
81ebc3a6f3
MultipartParser should respect read position
...
This commit ensures that the MultipartParser takes a buffer's read
position into account.
Closes gh-31110
3 years ago
Arjen Poutsma
8f130316d2
MultipartParser should respect read position
...
This commit ensures that the MultipartParser takes a buffer's read
position into account.
Closes gh-31110
3 years ago
Stéphane Nicoll
6d948d03e5
Remove outdated declaration
...
See gh-25933
3 years ago
Stéphane Nicoll
c3d1a886de
Merge pull request #23651 from runeflobakk
...
* pr/23651:
Polish contribution
Add default methods to MailSender and JavaMailSender when appropriate
Closes gh-23651
3 years ago
Stéphane Nicoll
978c409d85
Polish contribution
...
See gh-23651
3 years ago
Rune Flobakk
f67fad4c14
Add default methods to MailSender and JavaMailSender when appropriate
...
send(..) -methods of JavaMailSenderImpl which is only delegating to
other methods are pulled up as default methods in the interfaces
JavaMailSender and MailSender, to make these interfaces require fewer
methods to implement.
See gh-23651
3 years ago
Stéphane Nicoll
3c4eef1d73
Merge pull request #31237 from ghainesii
...
* pr/31237:
Add missing period in RestClient documentation
Closes gh-31237
3 years ago
ghainesii
0a324ea9a7
Add missing period in RestClient documentation
...
See gh-31237
3 years ago
Niharika Tiwari
9d7f9b5284
Improve wording in Javadoc for @Autowired
...
#31235
3 years ago
Juergen Hoeller
4746f587ea
Merge branch '6.0.x'
...
# Conflicts:
# gradle.properties
3 years ago
Juergen Hoeller
54c4f1b226
Reset findLoadedClassMethod in case of makeAccessible failing
...
Closes gh-31232
3 years ago
Yanming Zhou
46397381ba
Eliminate synchronized block to avoid thread pinning in SingletonSupplier
3 years ago
Sam Brannen
09b1e5edf6
Extract instantiateComponents() method in AbstractTestContextBootstrapper
3 years ago
Spring Builds
062c6241e1
Next development version (v6.0.13-SNAPSHOT)
3 years ago
Juergen Hoeller
59961960dd
Merge branch '6.0.x'
3 years ago
Juergen Hoeller
a51eb29e50
Clarify IN clause resolution with List/Iterable parameter
...
Closes gh-31228
3 years ago
Stephane Nicoll
727f69ae70
Merge branch '6.0.x'
3 years ago
Stephane Nicoll
92b6c5df4f
Upgrade to Context Propagation 1.1.0-M4
...
Closes gh-31220
3 years ago
Stephane Nicoll
e109c55192
Upgrade to Reactor 2023.0.0-M3
...
Closes gh-31219
3 years ago
Stephane Nicoll
8f21c228b8
Upgrade to Micrometer 1.12.0-M3
...
Closes gh-31218
3 years ago
Sam Brannen
a220c545fc
Support declarative ContextCustomizerFactory registration in the TCF
...
Prior to this commit, it was only possible to register a
ContextCustomizerFactory in the TestContext framework (TCF) via the
SpringFactoriesLoader mechanism.
This commit introduces support for declarative registration of a
ContextCustomizerFactory local to a test class via a new
@ContextCustomizerFactories annotation.
Closes gh-26148
3 years ago
Sam Brannen
99a50e7cea
Polishing
3 years ago
Sébastien Deleuze
68ba55bea9
Fix ModelInitializerKotlinTests
...
See gh-30894
3 years ago
Stephane Nicoll
50d4a44dfc
Upgrade to Context Propagation 1.0.5
...
Closes gh-31223
3 years ago
Stephane Nicoll
ebf2cef94e
Upgrade to Reactor 2022.0.11
...
Closes gh-31222
3 years ago
Stephane Nicoll
c89002a0fb
Upgrade to Micrometer 1.10.11
...
Closes gh-31221
3 years ago
Sébastien Deleuze
bb85d9b5e4
Merge branch '6.0.x'
3 years ago
Sébastien Deleuze
29a4dabbe7
Support @ModelAttribute with suspending function in WebFlux
...
Closes gh-30894
3 years ago
Sam Brannen
a678be80ea
Merge branch '6.0.x'
3 years ago
Sam Brannen
f5f8eab405
Remove duplicated section links for test annotations
...
Since the auto-generated "Section Summary" includes the exact same
links, there's no need to manually duplicate them.
3 years ago
Juergen Hoeller
550f05c9dc
Merge branch '6.0.x'
...
# Conflicts:
# spring-context/src/main/java/org/springframework/scheduling/annotation/ScheduledAnnotationBeanPostProcessor.java
3 years ago
Juergen Hoeller
659500bc1f
Polishing
3 years ago
Juergen Hoeller
4235a11c4f
Throw IllegalArgumentException for unsupported Duration values
...
Closes gh-31210
3 years ago
Juergen Hoeller
966b0a92c6
Defensively call Resource.getFile() for fallback resolution
...
Closes gh-31216
3 years ago
Sam Brannen
5bcbcb3049
Simplify SynthesizedMergedAnnotationInvocationHandler.invoke()
3 years ago
Sam Brannen
fe7355d5b0
Polishing
3 years ago
Sam Brannen
a271d5ec15
Use nullSafeHashCode() in SynthesizedMergedAnnotationInvocationHandler
...
In light of the refinements to ObjectUtils, this commit updates
SynthesizedMergedAnnotationInvocationHandler to use
ObjectUtils.nullSafeHashCode() and removes the now obsolete code in
SynthesizedMergedAnnotationInvocationHandler.
See gh-29051
3 years ago
Sam Brannen
af13967e2a
Polishing
3 years ago
Juergen Hoeller
ae8a353041
Reject iterable/collection value for positional parameter
...
Closes gh-31215
3 years ago
Juergen Hoeller
8f6c56fe9a
Support for one-time tasks with just @Scheduled(initialDelay=...)
...
Closes gh-31211
3 years ago
Sam Brannen
e63e3a6d28
Delete obsolete constants
3 years ago
Sam Brannen
fa1dd74aff
Merge branch '6.0.x'
3 years ago