rstoyanchev
ac235a0c43
Fix checkstyle violation
2023-11-14 20:00:16 +00:00
rstoyanchev
a4e3af5cbe
Revise HandlerMappingIntrospector caching
...
Expose methods to set and reset cache to use from a Filter instead
of a method to create such a Filter. Also use cached results only
if they match by dispatcher type and requestURI.
See gh-31588
2023-11-14 19:24:29 +00:00
Sam Brannen
e71117dcdf
Polish contribution
...
See gh-31598
2023-11-14 14:46:34 +01:00
Jason
d5874ab99e
Avoid duplicate resources in PathMatchingResourcePatternResolver on Windows
...
This commit updates PathMatchingResourcePatternResolver to avoid
returning duplicate resources on MS Windows when searching using the
`classpath*:` prefix and a wildcard pattern that matches resources
which are directly present in a JAR as well as present via classpath
manifest entries.
Closes gh-31598
2023-11-14 14:39:48 +01:00
Juergen Hoeller
99327b7db1
Preserve nested square brackets within parameter name
...
Closes gh-31596
2023-11-14 12:51:19 +01:00
Juergen Hoeller
3e06441d97
Cache SpEL-loaded types in StandardTypeLocator
...
Closes gh-31579
2023-11-14 12:46:16 +01:00
Brian Clozel
01f2925048
Upgrade to Micrometer 1.10.13
...
Closes gh-31586
2023-11-13 14:28:45 +01:00
rstoyanchev
44a37000ec
HandlerMappingIntrospector exposes Filter for caching
...
Closes gh-31588
2023-11-10 17:43:52 +00:00
rstoyanchev
53fe5fafed
Minor refactoring in HandlerMappingIntrospector
...
See gh-31588
2023-11-10 17:27:54 +00:00
rstoyanchev
b9bd98fc5b
Polishing in HandlerMappingIntrospector
...
See gh-31588
2023-11-10 11:27:44 +00:00
rstoyanchev
7714110940
Polishing in DefaultWebClient
2023-11-09 12:53:15 +00:00
rstoyanchev
75d1278bde
Include port when logging URI in DefaultWebClient
...
Closes gh-30519
2023-11-09 12:53:15 +00:00
Sébastien Deleuze
620f558547
Register hints for superclass in BindingReflectionHintsRegistrar
...
Closes gh-31552
2023-11-09 13:11:36 +01:00
Juergen Hoeller
1e78cc35e5
Log4jLog re-resolves ExtendedLogger on deserialization
...
This is necessary for compatibility with Log4J 2.21, analogous to the existing re-resolution in Spring's SLF4J adapter.
Closes gh-31582
2023-11-09 11:46:22 +01:00
Juergen Hoeller
11fdb5ba17
Upgrade to Log4J 2.21.1, Tomcat 10.1.15, Jetty 11.0.18, Undertow 2.3.10, EclipseLink 3.0.4, Mockito 5.7
2023-11-09 10:53:47 +01:00
Juergen Hoeller
9957bb6918
Check for procedure vs function constants in CallMetaDataContext
...
Closes gh-31550
2023-11-09 10:52:51 +01:00
lorenzsimon
6a7a0bddb7
Restore support for recursive annotations in Kotlin
...
This commit reinstates support for recursive annotations in Kotlin.
See gh-28012
See gh-28618
See gh-31400
Closes gh-31518
2023-11-08 13:28:28 +01:00
rstoyanchev
5c012bbb0c
Set maxAge correctly when expiring WebSession
...
Closes gh-31214
2023-11-08 11:44:36 +00:00
rstoyanchev
5df6e8825d
Polishing in CookieWebSessionIdResolver
...
See gh-31214
2023-11-06 11:31:39 +00:00
rstoyanchev
654e822676
Fix Javadoc link
2023-11-03 14:38:53 +00:00
Stéphane Nicoll
e943058b18
Merge pull request #31571 from izeye
...
* pr/31571:
Add Javadoc since to ProblemDetail.setProperties()
Closes gh-31571
2023-11-08 08:04:10 +01:00
Johnny Lim
cafb38ad1d
Add Javadoc since to ProblemDetail.setProperties()
...
See gh-31571
2023-11-08 08:02:57 +01:00
Sam Brannen
e778d2e908
Polish duplicate key exception error code support for SAP HANA database for R2DBC
...
See gh-31554
2023-11-07 17:12:29 +01:00
Sam Brannen
c5bcfc7682
Polish contribution
...
See gh-31554
2023-11-07 17:08:44 +01:00
Sam Brannen
5752e03d97
Polishing
2023-11-07 16:58:21 +01:00
Arjen Poutsma
dc26d3b0ec
Defer cleanup in DefaultServerWebExchange
...
This commit ensures that the multipartRead flag is read in a deferred
block, and is not evaluated too early.
Closes gh-31567
2023-11-07 15:00:20 +01:00
Stéphane Nicoll
7f94c64b72
Merge pull request #31554 from baratrax
...
* pr/31554:
Polish "Add SAP HANA duplicate key exception error code"
Add SAP HANA duplicate key exception error code
Closes gh-31554
2023-11-07 10:37:14 +01:00
Stéphane Nicoll
50e55d5219
Polish "Add SAP HANA duplicate key exception error code"
...
See gh-31554
2023-11-07 10:33:14 +01:00
Fabrizio De Felice
fcd4ba2f1f
Add SAP HANA duplicate key exception error code
...
See gh-31554
2023-11-07 10:27:51 +01:00
Stéphane Nicoll
e73107341c
Document that `pertypewithin` is supported by Spring AOT
...
Closes gh-25887
2023-11-02 15:39:45 +01:00
rstoyanchev
f8a33cd66e
Remove outdated reference to Netty in rest-clients section
...
Closes gh-31526
2023-11-01 13:25:16 +00:00
CroBurnt
f088d4a05b
Fix link text in @Transactional section of ref docs
...
Closes gh-31519
2023-10-30 13:29:30 +01:00
Stéphane Nicoll
84c28995fb
Improve documentation for the default profile
...
Closes gh-29071
2023-10-25 11:20:21 +02:00
Juergen Hoeller
925fa0272b
Polishing
2023-10-24 22:53:44 +02:00
Juergen Hoeller
09aa59f9e7
Avoid ResolvableType for simple assignability check in copyProperties
...
Closes gh-27246
2023-10-24 22:53:00 +02:00
Sébastien Deleuze
7874a59771
Remove invalid domain integration tests
...
Closes gh-31119
2023-10-24 17:54:39 +02:00
rstoyanchev
4dab35205d
Avoid super.doTrace for ERROR dispatches
...
Closes gh-31457
2023-10-24 12:58:11 +01:00
rstoyanchev
5c6b9be3a1
Send 400 for PathVariable that is null after conversion
...
This implies a value was actually sent, but is not something
that can be converted to the expected type.
Closes gh-31382
2023-10-24 12:53:25 +01:00
Stéphane Nicoll
33fba8ea0c
Merge pull request #31483 from bernie-schelberg-invicara
...
* pr/31483:
Polish "Return consistent collection type for matrix variables"
Return consistent collection type for matrix variables
Closes gh-31483
2023-10-24 10:56:36 +02:00
Stéphane Nicoll
9aa707ec4b
Polish "Return consistent collection type for matrix variables"
...
See gh-31483
2023-10-24 10:55:42 +02:00
Bernie Schelberg
ea30c8fb5b
Return consistent collection type for matrix variables
...
See gh-31483
2023-10-24 10:27:47 +02:00
Juergen Hoeller
6bdf7ad36a
Polishing
2023-10-23 17:32:45 +02:00
Juergen Hoeller
d2108d2db6
Test for @Resource @Lazy fallback type match
...
See gh-31447
2023-10-23 17:32:35 +02:00
Juergen Hoeller
f9be717602
Avoid getObjectType exception for uninitialized ProxyFactoryBean
...
Closes gh-31473
2023-10-23 17:32:25 +02:00
Stéphane Nicoll
bb446a3905
Merge pull request #31433 from martin-lukas
...
* pr/31433:
Polish "Ignore @Value on record property"
Ignore @Value on record property
Closes gh-31433
2023-10-23 11:33:57 +02:00
Stéphane Nicoll
f3dce4bb9a
Polish "Ignore @Value on record property"
...
See gh-31433
2023-10-23 11:20:49 +02:00
Martin Lukas
70cb96c1d8
Ignore @Value on record property
...
See gh-31433
2023-10-23 11:15:24 +02:00
Brian Clozel
6ec264252b
Ensure consistent value count in ConcurrentReferenceHashMap#Segment
...
Prior to this commit, the `ConcurrentReferenceHashMap#Segment` would
recalculate its element count during the restructure phase by
subtracting the number of polled elements from the queue to the current
count.
Later, the newly restructured `references` array would only contain
references that 1) are not in the set of elements to purge and
2) that hold a non-null value.
The issues with this approach are multiple. The newly calculated count
is only an estimate, as some situations can make it invalid, even
temporarily.
* since we initially collected all elements to be purged from the queue,
the GC might have collected new values. This means that we might
filter out more references that we initially intended to
* because the restructure operation re-creates new references for all
elements in the original array, we might later get references from the
queue that are not in the array anymore. This could lead to
"duplicate" removals for the same value
Because several methods in the Segment class have special no-op behavior
when `count == 0`, an invalid count can lead to keys appearing missing
when they are actually still present. In some scenarios, this can
decrease the performance of the cache since values need to be
recalculated.
This commit fixes this inconsistency count issue by first using an
estimate in order to decide whether the array needs a resize and then by
counting the actual numbers of elements inserted in the restructured
array as the new count.
Fixes gh-31373
2023-10-19 15:54:31 +02:00
Brian Clozel
187b4e5ea6
Upgrade CI image to ubuntu:jammy-20231004
2023-10-19 10:02:15 +02:00
Brian Clozel
3bc607df53
Upgrade CI to JDK 17.0.9
2023-10-19 10:01:20 +02:00