Juergen Hoeller
2ec32a4e2f
Polishing
2023-09-29 15:39:11 +02:00
Juergen Hoeller
2b4c1e265c
Reset findLoadedClassMethod in case of makeAccessible failing
...
Closes gh-31232
2023-09-14 16:46:17 +02:00
Juergen Hoeller
39c225c813
AnnotationUtils.clearCache() includes all annotation caches
...
Closes gh-31170
(cherry picked from commit 78fce80c43 )
2023-09-11 17:49:56 +02:00
Sam Brannen
88c3a788f3
Update copyright headers
2023-08-21 15:12:54 +02:00
Juergen Hoeller
5f7a6a0f38
Align validation metadata handling in PayloadMethodArgumentResolver
...
Reuses ValidationAnnotationUtils which is slightly optimized for the detection of Spring's Validated annotation now, also to the benefit of common web scenarios.
Closes gh-21852
(cherry picked from commit c7269feeaa )
2023-08-16 13:02:31 +02:00
Juergen Hoeller
0c275107ea
Cancel without interruption of currently running tasks
...
Leave potential interruption up to scheduler shutdown.
Closes gh-31019
(cherry picked from commit 6fc5a78252 )
2023-08-10 00:08:39 +02:00
Juergen Hoeller
9d7154901f
Polishing
...
(cherry picked from commit 6e5af9dccb )
2023-08-06 14:50:24 +02:00
Juergen Hoeller
24893d038f
Polishing
2023-08-04 10:35:51 +02:00
Juergen Hoeller
b9482375b7
Sort multiple @Autowired methods on same bean class via ASM
...
Closes gh-30359
(cherry picked from commit 7e6612a920 )
2023-08-04 01:31:49 +02:00
Juergen Hoeller
ad61fb75da
Polishing
2023-08-02 01:24:11 +02:00
Juergen Hoeller
c5aa7830bc
Polishing
...
(cherry picked from commit abbea39855 )
2023-07-27 21:58:22 +02:00
Juergen Hoeller
790abeda1c
Polishing
2023-07-21 20:40:06 +02:00
Juergen Hoeller
340b32a3cb
Polishing
2023-07-19 23:31:38 +02:00
Juergen Hoeller
a7b7466274
Polishing
2023-07-19 01:17:25 +02:00
Juergen Hoeller
3a8c0dbd8a
Decouple exception messages for sync=true from @Cacheable
...
(cherry picked from commit bbcc788f60 )
2023-07-18 22:12:58 +02:00
Juergen Hoeller
b387d9bf10
MethodIntrospector handles overriding bridge method correctly
...
Closes gh-30906
(cherry picked from commit 616f728afa )
2023-07-18 13:27:15 +02:00
Juergen Hoeller
355fa258bd
Polishing
2023-07-14 14:52:15 +02:00
Juergen Hoeller
53319381d0
Polishing
...
(cherry picked from commit c873a597c7 )
2023-07-12 19:25:26 +02:00
Juergen Hoeller
ac94d2bd54
Polishing
...
(cherry picked from commit f19433f2d8 )
2023-07-11 18:40:40 +02:00
Juergen Hoeller
16fd70ae35
Avoid illegal reflective access in ContextOverridingClassLoader
...
Closes gh-22791
(cherry picked from commit 0b02a5e073 )
2023-07-11 18:36:19 +02:00
Juergen Hoeller
3444892aea
Polishing
...
(cherry picked from commit a17cf742b2 )
2023-07-09 17:13:49 +02:00
Juergen Hoeller
0961bc546a
Polishing
...
(cherry picked from commit 0b7a24fc14 )
2023-07-08 01:10:31 +02:00
Juergen Hoeller
f2df10c7fe
Polishing
2023-07-07 13:26:06 +02:00
Juergen Hoeller
5d4c2846d9
Polishing
2023-07-04 16:43:29 +02:00
Juergen Hoeller
5614e5bc18
Restore full representation of rejected value in FieldError.toString()
...
We would preferably use ObjectUtils.nullSafeConciseToString(rejectedValue) here but revert to the full nullSafeToString representation for strict backwards compatibility (programmatic toString calls as well as exception messages).
Closes gh-30799
(cherry picked from commit 1dc9dffc70 )
2023-07-04 16:13:48 +02:00
Vladyslav Baidak
258bd3f73c
Fix typo in Javadoc for BeanDefinitionDsl.kt
...
Closes gh-30798
2023-07-03 15:53:09 +02:00
Juergen Hoeller
ef699b6a9e
Align ConcurrentMapCacheManager locking behavior with CaffeineCacheManager
...
Closes gh-30780
(cherry picked from commit 60865eae4b )
2023-06-30 10:53:21 +02:00
Sam Brannen
2e51aa250e
Update copyright headers
2023-06-22 14:54:43 +02:00
Juergen Hoeller
ec2957afc8
Test for supportsEventType mismatch with unrelated event type
...
See gh-30712
2023-06-21 18:01:15 +02:00
Juergen Hoeller
4b55333b0e
Document which @Scheduled attributes support SpEL expressions
...
Closes gh-29290
(cherry picked from commit f8c8873c99 )
2023-06-12 13:08:02 +02:00
Juergen Hoeller
210e47d65e
Polishing
2023-06-08 18:31:31 +02:00
Juergen Hoeller
06411831e8
Consistent ProxyCallbackFilter#equals/hashCode methods
...
Opaque check in equals instead; no consideration of optimize flag.
Closes gh-30616
2023-06-08 18:31:26 +02:00
Juergen Hoeller
8c7daa807a
Polishing
2023-06-07 20:14:41 +02:00
Juergen Hoeller
9decbf2158
Polishing
2023-06-03 00:01:18 +02:00
Juergen Hoeller
1240fb6b9a
Consistently publish events from CompletableFuture
...
Closes gh-30578
(cherry picked from commit b738a20233 )
2023-06-02 23:36:13 +02:00
Juergen Hoeller
1dbe0ee6db
Respect TaskDecorator configuration on DefaultManagedTaskExecutor
...
Closes gh-30442
2023-05-08 12:18:53 +02:00
Sam Brannen
91c58af7af
Introduce ObjectUtils.nullSafeConciseToString()
...
ObjectUtils.nullSafeToString(Object) exists for generating a string
representation of various objects in a "null-safe" manner, including
support for object graphs, collections, etc.
However, there are times when we would like to generate a "concise",
null-safe string representation that does not include an entire object
graph (or potentially a collection of object graphs).
This commit introduces ObjectUtils.nullSafeConciseToString(Object) to
address this need and makes use of the new feature in FieldError and
ConversionFailedException.
Closes gh-30286
2023-04-05 15:25:59 +02:00
Juergen Hoeller
78ba946266
Clarify postProcessBeanFactory lifecycle state
...
Closes gh-29064
(cherry picked from commit b8827d8e11 )
2023-02-01 18:21:16 +01:00
Sam Brannen
41a6b7ec20
Update copyright headers for source code changed since August 2022
...
The changes in this commit were performed using the newly introduced
update_copyright_headers.sh script.
2022-12-03 17:23:21 -05:00
Sam Brannen
c838bcff3a
Fix/Disable JMX & JNDI tests on JDK 16+
2022-12-03 17:23:21 -05:00
Sam Brannen
f7f73439ab
Modify MBeanTestUtils to work on JDK 17+
2022-11-30 14:55:15 +01:00
Sam Brannen
dedbbf0a79
Avoid warnings in tests
2022-11-08 12:04:56 +01:00
Juergen Hoeller
4c38777064
Explain logger name semantics (see AbstractTraceInterceptor.setLoggerName)
...
See gh-28678
2022-10-19 14:49:27 +02:00
Vedran Pavic
fb291379e4
Avoid use of Commons Logging in LoggingCacheErrorHandler public API
...
At present, creating LoggingCacheErrorHandler with custom logger requires use of Commons Logging API, as the appropriate constructor expects org.apache.commons.logging.Log instance. As Commons Logging is rarely the logging framework of choice in applications these days, interaction with its API might not be desirable.
This commit adds LoggingCacheErrorHandler constructor that accepts logger name and thus avoids leaking out any details about the underlying logging framework.
2022-10-19 13:48:59 +02:00
Juergen Hoeller
8e25e32eb8
Polishing
2022-10-18 16:17:30 +02:00
Marc Wrobel
ce49068ff9
Fix links in Javadoc and reference docs
...
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349 : this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up nohttp allowlist.lines
Closes gh-28876
2022-09-14 17:00:11 +02:00
Sam Brannen
50dff77d01
Polish contribution
2022-09-14 16:08:01 +02:00
Marc Wrobel
0f479293b1
Replace use of the <tt> HTML tag in Javadoc
...
The <tt> HTML tag was used in HTML 4 to define teletype text. It is not
supported in HTML5, and its use is discouraged.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tt
Closes gh-28819
2022-09-14 15:56:16 +02:00
Stephane Nicoll
0d2bfc926f
Apply consistent ordering in hierarchical contexts
...
Previously, if `@Order` is specified on a `@Bean` method, and the
candidate bean is defined in a parent context, its order wasn't taken
into account when retrieving the bean from a child context.
This commit makes sure the metadata of a bean is taken into
consideration in all cases.
Closes gh-29105
2022-09-13 07:23:22 +02:00
Sam Brannen
0389fcca7e
Fix sporadically failing SpEL test
2022-09-02 16:41:44 +02:00