Stephane Nicoll
0992f855e6
Add base infra for Web controllers hints
...
See gh-28518
2 years ago
Arjen Poutsma
472af9c25f
Merge branch '5.3.x'
2 years ago
Arjen Poutsma
c278d8c656
Do not ignore charset in Jaxb2XmlDecoder
...
This commit makes sure that the charset, if defined in the mimetype, is
used when decoding XML to JAXB2 objects.
Closes gh-28599
2 years ago
Stephane Nicoll
b19db4d118
Merge branch '5.3.x'
2 years ago
Stephane Nicoll
e3b288716d
Upgrade to Reactor 2020.0.20
...
Closes gh-28612
2 years ago
Brian Clozel
9c9b2356ce
Add RuntimeHints predicates generator
...
The `RuntimeHints` API allows to describe hints for the reflection,
proxies and resources behavior at runtime. The need for a particular
behavior can be covered by several types of hints, at different levels.
This knowledge can be important in several cases:
* before contributing additional hints, infrastructure can check if an
existing hint already covers the behavior
* this can be used in test suites and test infrastructure
This commit adds a new RuntimeHintsPredicates that generates `Predicate`
instances for testing `RuntimeHints` against a desired runtime behavior
for reflection, resources or proxies.
Closes gh-28555
2 years ago
Stephane Nicoll
100ce9642a
Use TypeReference consistently in hints writer
...
Closes gh-28606
2 years ago
Arjen Poutsma
405e5921a6
Merge branch '5.3.x'
2 years ago
Arjen Poutsma
27738cc20f
Fix code samples for nested router functions
...
Closes gh-28603
2 years ago
Stephane Nicoll
1e5f4f8b44
Polish
2 years ago
Stephane Nicoll
363722893b
Make sure RuntimeHintsRegistrar are invoked only once
...
Close gh-28594
2 years ago
Sam Brannen
74d1be9bd8
Remove obsolete references to @Required
...
Since the @Required annotation was removed in a previous 6.0 milestone,
this commit removes all remaining references to it.
Closes gh-28600
2 years ago
Sébastien Deleuze
b9f85627a1
Improve ResourcePatternHint documentation
...
Closes gh-28598
2 years ago
Sébastien Deleuze
99ffd97a72
Fix ResourceHintsWriter for leading/trailing wildcards
...
Closes gh-28597
2 years ago
Sam Brannen
40ab20e14a
Merge branch '5.3.x'
2 years ago
Sam Brannen
babff8e635
Fix Kotlin example for dependency injection with static factory method
...
Closes gh-28589
2 years ago
Sam Brannen
290cc73d3d
Fix Kotlin example for @Required
...
Since @Required can only be declared on a method, this commit moves the
@Required declaration from the field to the "set" method.
Closes gh-28590
2 years ago
Stephane Nicoll
48e8bf1cba
Merge branch '5.3.x'
2 years ago
Stephane Nicoll
8a30bc2993
Upgrade Java 18 version in CI image
2 years ago
Stephane Nicoll
aa8be28a01
Upgrade Java 17 version in CI image
2 years ago
Stephane Nicoll
f43b28e7ba
Upgrade Java 11 version in CI image
2 years ago
Stephane Nicoll
1476867ee7
Upgrade Java 18 version in CI image
2 years ago
Stephane Nicoll
4d9dc61f5d
Polish
2 years ago
Stephane Nicoll
7eebc48a6e
Upgrade Ubuntu version in CI image
2 years ago
Arjen Poutsma
283bc9ede9
Merge pull request #28569 from christophejan:fix/28567
...
* gh-28567:
Polish
Add minimal Kotlin DSL RouterFunction attributes support
Add test case on nested RouterFunction attributes
2 years ago
Arjen Poutsma
216a266856
Polish
2 years ago
christophejan
bbabf8d855
Add minimal Kotlin DSL RouterFunction attributes support
...
Closes gh-28567
2 years ago
christophejan
5b1bda5c7c
Add test case on nested RouterFunction attributes
2 years ago
Sam Brannen
282c3bc952
Merge branch '5.3.x'
2 years ago
Sam Brannen
8478e8e70a
Polish contribution
...
This commit:
- fixes Checkstyle violations
- improves Javadoc
- adds missing @since tags
- renames getCurrentQueueSize() to getQueueSize()
- avoids NullPointerExceptions in getQueueSize()
- introduces tests for queue size and queue capacity
Closes gh-28583
2 years ago
Rémy
e386bdb82c
Expose ThreadPoolTaskExecutor queue size and capacity for metrics
...
We use Grafana to monitor our app via Spring's JMX exporter, and we
think it could be interesting to have at least the current queue size
for this purpose since the queue size directly affects the app memory
load. Having the queue capacity seems also interesting to set up
triggers whose values are calculated based on the maximum capacity of
the queue.
This commit introduces new getCurrentQueueSize() and getQueueCapacity()
methods in ThreadPoolTaskExecutor.
See gh-28583
2 years ago
Stephane Nicoll
571543285a
Polish
2 years ago
Arjen Poutsma
c9053e4d9b
Merge branch '5.3.x'
2 years ago
Arjen Poutsma
4912c3c455
Updated sdkmanrc
2 years ago
Stephane Nicoll
16eff68357
Fix package tangle between o.s.core and o.s.aot
...
Closes gh-28496
2 years ago
rstoyanchev
875ee546e5
Merge branch '5.3.x'
2 years ago
rstoyanchev
8fcc7ab9d1
CompositeLog respects log level changes at runtime
...
Closes gh-28477
2 years ago
rstoyanchev
7c47b470ff
MockMvc allows HttpMethod input for multipart request
...
Closes gh-28545
2 years ago
Sam Brannen
90e0bd146a
Merge branch '5.3.x'
...
# Conflicts:
# spring-test/src/main/java/org/springframework/test/context/ContextConfiguration.java
# spring-test/src/main/java/org/springframework/test/context/TestPropertySource.java
# spring-test/src/main/java/org/springframework/test/context/jdbc/Sql.java
# spring-test/src/main/java/org/springframework/test/context/support/AbstractTestContextBootstrapper.java
2 years ago
Sam Brannen
479ef3f3fd
Update documentation regarding nested test class support
...
Closes gh-28579
2 years ago
Scott Frederick
45ef21f900
Add support for annotation processors with TestCompiler
...
Closes gh-28582
2 years ago
Scott Frederick
4128a71657
Polish javadoc
2 years ago
Phillip Webb
7119d420ce
Define compiled classes when @CompileWithTargetClassAccess is used
...
Update `DynamicClassLoader` to load classes eagerly if they are being
defined in the parent classloader.
See gh-28580
2 years ago
Phillip Webb
46a2f2d71c
Allow @CompileWithTargetClassAccess to work with all classes
...
Switch from `MethodHandles.privateLookupIn` to a reflection based
approach to that target classes to not need to be explicitly listed.
Closes gh-28580
2 years ago
Phillip Webb
c01a2e897d
Fix null assignment to non-nullable field
...
Update `BeanRegistrationCodeFragments` package-private constructor
to set `codeFragments` to `this` rather than `null`. The field
is never actually read by `DefaultBeanRegistrationCodeFragments` since
all methods are overridden.
Closes gh-28578
2 years ago
Sam Brannen
22ef3ec783
Merge branch '5.3.x'
...
# Conflicts:
# .mailmap
2 years ago
Sam Brannen
be1b7da12f
Add entries for "Sam Brannen" to .mailmap
2 years ago
Phillip Webb
89360b18f4
Update '.mailmap` to consistently use @vmware.com emails
...
(cherry picked from commit 83063a7269
)
2 years ago
Stephane Nicoll
92961d75f0
Polish tests
2 years ago
Stephane Nicoll
ad0573a91e
Polish
2 years ago