Juergen Hoeller
355fa258bd
Polishing
3 years ago
Spring Builds
60337738d8
Next development version (v5.3.30-SNAPSHOT)
3 years ago
Juergen Hoeller
53319381d0
Polishing
...
(cherry picked from commit c873a597c764492b0de917cb2f41adf67b6cfc67)
3 years ago
Juergen Hoeller
e1e7fa489b
Upgrade to Reactor 2020.0.34 (and Tomcat 9.0.78)
...
Closes gh-30873
3 years ago
Brian Clozel
e1351a5cb5
Update OS version in CI image
3 years ago
Juergen Hoeller
ac94d2bd54
Polishing
...
(cherry picked from commit f19433f2d8235c808ef78d92afbe2716dc3b9d22)
3 years ago
Juergen Hoeller
16fd70ae35
Avoid illegal reflective access in ContextOverridingClassLoader
...
Closes gh-22791
(cherry picked from commit 0b02a5e073dd01df34e69c304d06fee83eb24dd5)
3 years ago
Juergen Hoeller
c1bf09952b
Improve diagnostics for LinkageError in case of ClassLoader mismatch
...
Closes gh-25940
3 years ago
Juergen Hoeller
9e7ee0cb8e
Deprecate setAllowResultAccessAfterCompletion and document it as broken
...
Closes gh-26557
3 years ago
rstoyanchev
1cd994d3a8
Encapsulate full path initialization
3 years ago
Juergen Hoeller
3d28c024c5
Handle JDBC warnings in case of a statement exception as well
...
Closes gh-23106
(cherry picked from commit 3b899fe7e256e1c46ed083d58f949f04f0846ea2)
3 years ago
Juergen Hoeller
3444892aea
Polishing
...
(cherry picked from commit a17cf742b25348cc6d46f85a35aaf98b9ba25fc6)
3 years ago
Juergen Hoeller
14a7983eef
Tolerate isCandidateClass call with null as annotation type
...
Closes gh-30842
(cherry picked from commit a102cd5f327108d25e0665f601222add85daf47b)
3 years ago
Sam Brannen
0a4f290f0f
Polish DefaultSingletonBeanRegistryTests
3 years ago
Sam Brannen
6ea4d3794a
Further simplify DefaultSingletonBeanRegistry.isDependent()
...
See gh-30841
3 years ago
bnbakp0582
85eec5d344
Simplify DefaultSingletonBeanRegistry.isDependent()
...
Move `alreadySeen` handling out of for-loop.
Closes gh-30841
3 years ago
Juergen Hoeller
0961bc546a
Polishing
...
(cherry picked from commit 0b7a24fc145f6bc3a0611fae9c4c39f4378a9206)
3 years ago
Juergen Hoeller
f2df10c7fe
Polishing
3 years ago
Sam Brannen
03f1fabbdb
Improve assertions in DefaultConversionServiceTests
...
Specifically, we now check the actual type of a converted collection in
various assertions to ensure that converters adhere to their contracts.
3 years ago
Sam Brannen
2ada2b77f6
Update Javadoc for ObjectUtils.nullSafeConciseToString()
...
See gh-30811
3 years ago
Juergen Hoeller
d5380b3070
Expand tests for array to Collection/Set/List interface
...
See gh-28048
3 years ago
Sam Brannen
a3907a64e5
Support arrays, collections, & maps in ObjectUtils.nullSafeConciseToString()
...
Prior to this commit, there was no explicit support for arrays,
collections, and maps in nullSafeConciseToString(). This lead to string
representations such as the following, regardless of whether the array,
collection, or map was empty.
- char[]@1623b78d
- java.util.ImmutableCollections$List12@74fe5c40
- java.util.ImmutableCollections$MapN@10e31a9a
This commit introduces explicit support for arrays, collections, and
maps in nullSafeConciseToString(), which results in the following
empty/non-empty string representations.
- array: {} / {...}
- collection: [] / [...]
- map: {} / {...}
The reason a string representation of an array uses "{}" instead of
"[]" (like in Arrays.toString(...)) is that
ObjectUtils.nullSafeToString(<array>) already follows that convention,
and the implementation of nullSafeConciseToString() aligns with that
for the sake of consistency.
Closes gh-30811
3 years ago
Juergen Hoeller
dd16e012ba
Clarify ReactiveTransactionManager exception declarations
...
Avoid misleading "throws TransactionException" declarations but preserve javadoc "@throws" notes for specific exceptions (with reactive propagation semantics).
Closes gh-30817
3 years ago
Juergen Hoeller
d4cd358c76
Discuss JdbcTransactionManager vs DataSourceTransactionManager
...
Closes gh-30802
3 years ago
Juergen Hoeller
da814e01c7
Polishing
3 years ago
Juergen Hoeller
5d4c2846d9
Polishing
3 years ago
Juergen Hoeller
a3daee6ad8
Make File/Path tests pass on Windows
...
See gh-30806
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 1dc9dffc70308252a00bb56b1b37c67b52ba1ed2)
3 years ago
Juergen Hoeller
6dde13f597
Refresh cached value after unexpected mismatch (e.g. null vs non-null)
...
In addition to the previously addressed removal of bean definitions, this is able to deal with prototype factory methods returning non-null after null or also null after non-null. Stale cached values are getting refreshed rather than bypassed.
Closes gh-30794
(cherry picked from commit 0226580773 )
3 years ago
Sam Brannen
c057da23ec
Extend supported types in ObjectUtils.nullSafeConciseToString()
...
This commit extends the list of explicitly supported types in
ObjectUtils.nullSafeConciseToString() with the following.
- Optional
- File
- Path
- InetAddress
- Charset
- Currency
- TimeZone
- ZoneId
- Pattern
Closes gh-30806
3 years ago
Sam Brannen
a7f07328ab
Add tests for status quo in ObjectUtils.nullSafeConciseToString()
3 years ago
Sam Brannen
45f747fae1
Clean up warnings in tests
3 years ago
Vladyslav Baidak
258bd3f73c
Fix typo in Javadoc for BeanDefinitionDsl.kt
...
Closes gh-30798
3 years ago
Juergen Hoeller
97b95d9d01
Upgrade to Tomcat 9.0.76, Netty 4.1.94, Undertow 2.2.25, Checkstyle 10.12.1
3 years ago
Juergen Hoeller
69827a2f21
Raise beforeCompletion/afterCompletion exception log level to error
...
Closes gh-30776
(cherry picked from commit f1567fb21ab7b093304063a27b11729f431b035b)
3 years ago
Juergen Hoeller
ef699b6a9e
Align ConcurrentMapCacheManager locking behavior with CaffeineCacheManager
...
Closes gh-30780
(cherry picked from commit 60865eae4b48863e8f19884d0c2bd46d98ff85d4)
3 years ago
Juergen Hoeller
e440eb8365
Consistently handle invocation exceptions in TypeProxyInvocationHandler
...
Closes gh-30764
(cherry picked from commit 3cb746c3587e626b37760a3cc713cc80aa63763d)
3 years ago
Juergen Hoeller
02cbee560d
Polishing
...
(cherry picked from commit 6526e79eea450e49558035fc22b1c8d11ef2c285)
3 years ago
Juergen Hoeller
14da1aca2f
Adapt no-arg value from interface-based InvocationHandler callback
...
Closes gh-30756
(cherry picked from commit b77d4d01c5fe30e8d8a5e40293bcd71e1841fa7b)
3 years ago
Juergen Hoeller
ce97342fee
Consistently use mutable ArrayList for modulesToInstall vs modules
...
Closes gh-30751
(cherry picked from commit 062d701ae1d29ee1a6e62ca0379a7ee9bb6f3d25)
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
d3df45d8fe
Avoid ResolvableType creation for interface/superclass check
...
See gh-30713
(cherry picked from commit 1dfe737d0e57e8634d3bf48a9e49b001bd106cc3)
3 years ago
Juergen Hoeller
5375f62dc1
Cache hasUnresolvableGenerics result for repeated checks
...
Closes gh-30713
(cherry picked from commit 93218a06baa528401f2baeeb5e02b0582ae44d43)
3 years ago
Juergen Hoeller
c7bc40d3ba
Ensure Spring LogFactory contains all public methods from Apache LogFactory
...
Closes gh-30668
(cherry picked from commit 20bbebb29921815ec11ec4dc289419d50a5cd319)
3 years ago
Juergen Hoeller
1071778aa9
Fall back to type-based creation if no bean of the given name exists
...
Closes gh-30683
(cherry picked from commit dff7aa4d4b6aee490c559e153a8024bc8c05ec97)
3 years ago
Juergen Hoeller
40a9ae9d14
Recognize error code 2628 as data integrity violation (MSSQL 2019)
...
Closes gh-30681
(cherry picked from commit c634acd9ff8531f0e6f36dc46df1567e6ef00ac6)
3 years ago
Sam Brannen
e34a7baeb3
Remove code duplication in RootBeanDefinition
3 years ago
Brian Clozel
62eb9b391d
Use Docker hub credentials for CI tasks
3 years ago
Spring Builds
ea89bf2c91
Next development version (v5.3.29-SNAPSHOT)
3 years ago