Juergen Hoeller
02cbee560d
Polishing
...
(cherry picked from commit 6526e79eea )
2023-06-26 20:06:12 +02:00
Juergen Hoeller
14da1aca2f
Adapt no-arg value from interface-based InvocationHandler callback
...
Closes gh-30756
(cherry picked from commit b77d4d01c5 )
2023-06-26 20:06:06 +02:00
Juergen Hoeller
ce97342fee
Consistently use mutable ArrayList for modulesToInstall vs modules
...
Closes gh-30751
(cherry picked from commit 062d701ae1 )
2023-06-26 12:39:01 +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
d3df45d8fe
Avoid ResolvableType creation for interface/superclass check
...
See gh-30713
(cherry picked from commit 1dfe737d0e )
2023-06-21 17:46:59 +02:00
Juergen Hoeller
5375f62dc1
Cache hasUnresolvableGenerics result for repeated checks
...
Closes gh-30713
(cherry picked from commit 93218a06ba )
2023-06-21 13:24:42 +02:00
Juergen Hoeller
c7bc40d3ba
Ensure Spring LogFactory contains all public methods from Apache LogFactory
...
Closes gh-30668
(cherry picked from commit 20bbebb299 )
2023-06-21 09:58:23 +02:00
Juergen Hoeller
1071778aa9
Fall back to type-based creation if no bean of the given name exists
...
Closes gh-30683
(cherry picked from commit dff7aa4d4b )
2023-06-17 11:46:48 +02:00
Juergen Hoeller
40a9ae9d14
Recognize error code 2628 as data integrity violation (MSSQL 2019)
...
Closes gh-30681
(cherry picked from commit c634acd9ff )
2023-06-17 11:44:11 +02:00
Sam Brannen
e34a7baeb3
Remove code duplication in RootBeanDefinition
2023-06-15 16:12:31 +02:00
Brian Clozel
62eb9b391d
Use Docker hub credentials for CI tasks
2023-06-15 13:20:51 +02:00
Spring Builds
ea89bf2c91
Next development version (v5.3.29-SNAPSHOT)
2023-06-15 07:32:26 +00:00
Juergen Hoeller
99ae6e70bb
Declare ClassLoader for DeserializingConverter constructor as nullable
...
Closes gh-30670
(cherry picked from commit b9221656cc )
2023-06-14 22:34:28 +02:00
Juergen Hoeller
c2cc55eacc
Consider UUID as simple value type with concise toString output
...
Closes gh-30661
(cherry picked from commit 927d27b121 )
2023-06-14 10:47:54 +02:00
Juergen Hoeller
9cff2ace97
Upgrade to Reactor 2020.0.33
...
Closes gh-30656
2023-06-13 18:40:46 +02:00
Juergen Hoeller
3c2590d339
Document limited isolation level support for concurrent transactions
...
See gh-29997
2023-06-13 12:57:52 +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
c27acad616
Specific check for parent of MethodInvocationInfo ClassLoader
...
See gh-30389
2023-06-12 11:33:54 +02:00
Juergen Hoeller
70be9afdc6
Reuse method cache from original proxy factory (aligned with 6.0.x)
...
See gh-30616
2023-06-12 11:11:07 +02:00
Juergen Hoeller
d4450a8702
Specific check for parent of spring-aop ClassLoader
...
Closes gh-30389
(cherry picked from commit 0a5aff1b60 )
2023-06-12 11:08:37 +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
46d171a8fd
Restore creation of plain HashSet/HashMap for direct HashSet/HashMap type
...
Closes gh-30596
(cherry picked from commit cdc4497664 )
2023-06-05 14:03:15 +02:00
Juergen Hoeller
259bd5250d
Consistent javadoc references to JdbcTransactionManager
2023-06-05 11:12:38 +02:00
Juergen Hoeller
cef046218c
Upgrade to Tomcat 9.0.75, Netty 4.1.93, Undertow 2.2.24, EclipseLink 2.7.12
2023-06-04 18:13:00 +02:00
Juergen Hoeller
e4bd1344e2
Set and reset shared isolation value within synchronized transaction begin
...
Since EclipseLink applies a custom transaction isolation value to its shared DatabasePlatform instance, we need to immediately restore the original value after the current value got picked up for JDBC Connection access inside of EclipseLink. In order to not interfere with concurrent transactions, we need to use synchronization around the transaction begin sequence in such a case.
Closes gh-29997
2023-06-04 18:12:40 +02:00
Juergen Hoeller
9decbf2158
Polishing
2023-06-03 00:01:18 +02:00
Juergen Hoeller
268b7a8931
Revise TargetSource implementations for proper nullability
...
Includes hashCode optimization in AbstractBeanFactoryBasedTargetSource.
Includes ThreadLocal naming fix in ThreadLocalTargetSource.
Closes gh-30576
Closes gh-30581
(cherry picked from commit c68552556f )
2023-06-02 23:48:41 +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
Brian Clozel
7dae3afb4b
Resolve Asciidoctor extensions from Central
...
This commit upgrades spring-asciidoctor-extensions-block-switch to 0.6.1
as this version is available on Maven Central.
2023-05-30 09:49:23 +02:00
Stephane Nicoll
d9de36b5ee
Merge branch 'gh-30555' into 5.3.x
...
Closes gh-30555
2023-05-30 09:18:41 +02:00
Stephane Nicoll
4e696db922
Update copyright year of changed file
...
See gh-30554
2023-05-30 09:18:06 +02:00
Stefano Cordio
0adad10595
Fix FileSystemUtils::deleteRecursively Javadoc
...
See gh-30554
2023-05-30 09:17:54 +02:00
Juergen Hoeller
540d0d9345
Avoid Autowired shortcut resolution for NullBean values
...
Includes getBean documentation against NullBean values.
Closes gh-30485
(cherry picked from commit 8b8d147480 )
2023-05-26 11:16:09 +02:00
Brian Clozel
572bbeeba3
Use spring-doc-resources SNAPSHOT version
2023-05-25 20:04:08 +02:00
Brian Clozel
77cd44dd20
Update CI pipeline
2023-05-25 19:13:58 +02:00
rstoyanchev
65e7b4a279
Add ignore rule for cached-antora-playbook.yml
...
In case of checking out the 5.3.x branch after 6.0.x or main
2023-05-23 15:14:01 +01:00
Sam Brannen
7d95a24573
Make maximum SpEL expression length configurable
...
Closes gh-30446
2023-05-10 15:12:36 +02:00
Juergen Hoeller
1dbe0ee6db
Respect TaskDecorator configuration on DefaultManagedTaskExecutor
...
Closes gh-30442
2023-05-08 12:18:53 +02:00
Juergen Hoeller
0211016957
Consistent support for MultiValueMap and common Map implementations
...
Closes gh-30440
2023-05-08 12:13:44 +02:00
Sam Brannen
08fe123930
Introduce Environment.matchesProfiles() for profile expressions
...
Environment.acceptsProfiles(String...) was deprecated in 5.1 in
conjunction with gh-17063 which introduced a new
acceptsProfiles(Profiles) method to replace it. The deprecated method
only supports OR semantics; whereas, the new method supports profile
expressions. Thus, the goal was to encourage people to use the more
powerful profile expressions instead of the limited OR support with
profile names.
However, there are use cases where it is difficult (if not impossible)
to provide a Profiles instance, and there are use cases where it is
simply preferable to provide profile expressions directly as strings.
To address these issues, this commit introduces a new matchesProfiles()
method in Environment that accepts a var-args list of profile
expressions.
See gh-30206
Closes gh-30226
2023-04-25 19:19:22 +02:00
Sam Brannen
219448796f
Polish Environment and StandardEnvironmentTests
...
See gh-30206
See gh-30226
2023-04-25 19:19:03 +02:00
Sam Brannen
0956c144c9
Polish ProfilesParser internals
2023-04-25 18:56:08 +02:00
Sam Brannen
964950a8b9
Reject null and empty SpEL expressions
...
Prior to gh-30325, supplying a null reference for a SpEL expression was
effectively equivalent to supplying the String "null" as the
expression. Consequently, evaluation of a null reference expression
always evaluated to a null reference. However, that was accidental
rather than by design.
Due to the introduction of the checkExpressionLength(String) method in
InternalSpelExpressionParser (in conjunction with gh-30325), an attempt
to evaluate a null reference as a SpEL expression now results in a
NullPointerException.
To address both of these issues,
TemplateAwareExpressionParser.parseExpression() and
SpelExpressionParser.parseRaw() now reject null and empty SpEL
expressions.
See gh-30371
Closes gh-30373
2023-04-25 14:31:35 +02:00
Sam Brannen
5afd94f90f
Polish SpelParserTests and TemplateExpressionParsingTests
2023-04-25 14:29:01 +02:00
Arjen Poutsma
ec5f7644e4
Updated CI image JDK
2023-04-24 13:00:06 +02:00
Arjen Poutsma
0c8ef4c671
Updated sdkmanrc
2023-04-24 12:37:15 +02:00
Spring Builds
a851b7309a
Next development version (v5.3.28-SNAPSHOT)
2023-04-13 08:57:10 +00:00