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 )
3 years ago
Juergen Hoeller
9d7154901f
Polishing
...
(cherry picked from commit 6e5af9dccb )
3 years ago
Juergen Hoeller
24893d038f
Polishing
3 years ago
Juergen Hoeller
b9482375b7
Sort multiple @Autowired methods on same bean class via ASM
...
Closes gh-30359
(cherry picked from commit 7e6612a920 )
3 years ago
Juergen Hoeller
ad61fb75da
Polishing
3 years ago
Juergen Hoeller
c5aa7830bc
Polishing
...
(cherry picked from commit abbea39855 )
3 years ago
Juergen Hoeller
790abeda1c
Polishing
3 years ago
Juergen Hoeller
340b32a3cb
Polishing
3 years ago
Juergen Hoeller
a7b7466274
Polishing
3 years ago
Juergen Hoeller
3a8c0dbd8a
Decouple exception messages for sync=true from @Cacheable
...
(cherry picked from commit bbcc788f60 )
3 years ago
Juergen Hoeller
b387d9bf10
MethodIntrospector handles overriding bridge method correctly
...
Closes gh-30906
(cherry picked from commit 616f728afa )
3 years ago
Juergen Hoeller
355fa258bd
Polishing
3 years ago
Juergen Hoeller
53319381d0
Polishing
...
(cherry picked from commit c873a597c7 )
3 years ago
Juergen Hoeller
ac94d2bd54
Polishing
...
(cherry picked from commit f19433f2d8 )
3 years ago
Juergen Hoeller
16fd70ae35
Avoid illegal reflective access in ContextOverridingClassLoader
...
Closes gh-22791
(cherry picked from commit 0b02a5e073 )
3 years ago
Juergen Hoeller
3444892aea
Polishing
...
(cherry picked from commit a17cf742b2 )
3 years ago
Juergen Hoeller
0961bc546a
Polishing
...
(cherry picked from commit 0b7a24fc14 )
3 years ago
Juergen Hoeller
f2df10c7fe
Polishing
3 years ago
Juergen Hoeller
5d4c2846d9
Polishing
3 years ago
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 )
3 years ago
Vladyslav Baidak
258bd3f73c
Fix typo in Javadoc for BeanDefinitionDsl.kt
...
Closes gh-30798
3 years ago
Juergen Hoeller
ef699b6a9e
Align ConcurrentMapCacheManager locking behavior with CaffeineCacheManager
...
Closes gh-30780
(cherry picked from commit 60865eae4b )
3 years ago
Sam Brannen
2e51aa250e
Update copyright headers
3 years ago
Juergen Hoeller
ec2957afc8
Test for supportsEventType mismatch with unrelated event type
...
See gh-30712
3 years ago
Juergen Hoeller
4b55333b0e
Document which @Scheduled attributes support SpEL expressions
...
Closes gh-29290
(cherry picked from commit f8c8873c99 )
3 years ago
Juergen Hoeller
210e47d65e
Polishing
3 years ago
Juergen Hoeller
06411831e8
Consistent ProxyCallbackFilter#equals/hashCode methods
...
Opaque check in equals instead; no consideration of optimize flag.
Closes gh-30616
3 years ago
Juergen Hoeller
8c7daa807a
Polishing
3 years ago
Juergen Hoeller
9decbf2158
Polishing
3 years ago
Juergen Hoeller
1240fb6b9a
Consistently publish events from CompletableFuture
...
Closes gh-30578
(cherry picked from commit b738a20233 )
3 years ago
Juergen Hoeller
1dbe0ee6db
Respect TaskDecorator configuration on DefaultManagedTaskExecutor
...
Closes gh-30442
3 years ago
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
3 years ago
Juergen Hoeller
78ba946266
Clarify postProcessBeanFactory lifecycle state
...
Closes gh-29064
(cherry picked from commit b8827d8e11 )
3 years ago
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.
3 years ago
Sam Brannen
c838bcff3a
Fix/Disable JMX & JNDI tests on JDK 16+
3 years ago
Sam Brannen
f7f73439ab
Modify MBeanTestUtils to work on JDK 17+
3 years ago
Sam Brannen
dedbbf0a79
Avoid warnings in tests
3 years ago
Juergen Hoeller
4c38777064
Explain logger name semantics (see AbstractTraceInterceptor.setLoggerName)
...
See gh-28678
3 years ago
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.
3 years ago
Juergen Hoeller
8e25e32eb8
Polishing
3 years ago
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
4 years ago
Sam Brannen
50dff77d01
Polish contribution
4 years ago
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
4 years ago
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
4 years ago
Sam Brannen
0389fcca7e
Fix sporadically failing SpEL test
4 years ago
Stephane Nicoll
6685e78c36
Deprecate NestedIOException
...
NestedIOException has been removed in Spring Framework 6 and this commit
marks it as deprecated in 5.x. Users that were relying on this exception
should use IOException directly.
Closes gh-28929
4 years ago
Stephane Nicoll
04209def46
Polish "Improve documentation of Cacheable"
...
Apply the same improvements to CacheEvict and CachePut.
See gh-28183
4 years ago
luvarqpp
3a61930bd0
Improve documentation of Cacheable
...
See gh-28183
4 years ago
Marc Wrobel
bd3499671c
Fix typos in test code
...
This commit fixes typos in test class names, test method names, and
test variable names.
Closes gh-28807
4 years ago
Marc Wrobel
c48c5e7691
Fix and improve Javadoc in spring-context
...
Closes gh-28802
4 years ago