Juergen Hoeller
86ca6fee16
Merge branch '6.0.x'
2023-08-12 14:52:03 +02:00
Juergen Hoeller
6baa60d454
Polishing
2023-08-12 14:51:02 +02:00
Juergen Hoeller
92410395e3
Remove outdated documentation references to WebLogic/WebSphere
...
See gh-22093
2023-08-12 14:50:45 +02:00
Juergen Hoeller
d03af15516
Explicit note on connection pool deadlock with REQUIRES_NEW
...
Closes gh-26250
2023-08-12 14:50:36 +02:00
Juergen Hoeller
9ede1d07a0
Revise multiple beans resolution for custom collection types
...
Closes gh-30022
2023-08-12 12:48:14 +02:00
Juergen Hoeller
c65b0a199e
Merge branch '6.0.x'
...
# Conflicts:
# spring-tx/src/main/java/org/springframework/transaction/event/TransactionalApplicationListenerMethodAdapter.java
2023-08-12 11:35:24 +02:00
Juergen Hoeller
d781f299c0
Use extracted attributes instead of annotation access
...
See gh-31034
2023-08-12 11:34:25 +02:00
Juergen Hoeller
6fc4898a1b
Find TransactionalEventListener annotation on target method
...
Closes gh-31034
2023-08-12 11:19:21 +02:00
Sébastien Deleuze
1e73439955
Support Kotlin value class properties in SpEL
...
This commit adds support for inlined Kotlin value
class properties in SpEL by leveraging Kotlin
reflection instead of Java reflection broken
by the mangled method name.
Closes gh-30468
2023-08-11 16:54:34 +02:00
Sébastien Deleuze
566621f7e3
Merge branch '6.0.x'
2023-08-10 19:13:19 +02:00
Sébastien Deleuze
0c15be004e
Use Any? in ProceedingJoinPoint Kotlin examples
...
This commit changes Any to Any? in ProceedingJoinPoint
Kotlin examples in order to be consistent with Java
and avoid a "NullPointerException: pjp.proceed() must
not be null" error.
Closes gh-31015
2023-08-10 19:12:55 +02:00
AlmostFamiliar
1c6ef3fe38
Use Any? in ProceedingJoinPoint Kotlin examples
...
This commit changes Any to Any? in ProceedingJoinPoint
Kotlin examples in order to be consistent with Java
and avoid a "NullPointerException: pjp.proceed() must
not be null" error.
See gh-31015
2023-08-10 19:12:42 +02:00
Juergen Hoeller
f516431260
Merge branch '6.0.x'
2023-08-09 23:54:30 +02:00
Juergen Hoeller
d254bff197
Polishing
2023-08-09 23:53:40 +02:00
Juergen Hoeller
6fc5a78252
Cancel without interruption of currently running tasks
...
Leave potential interruption up to scheduler shutdown.
Closes gh-31019
2023-08-09 23:53:35 +02:00
Juergen Hoeller
b4c61f20e7
Mention JdbcClient in package documentation
...
Closes gh-31017
2023-08-09 23:18:55 +02:00
Sébastien Deleuze
0c477f14cc
Polishing
...
See gh-28638
2023-08-09 11:14:42 +02:00
Sébastien Deleuze
c38f053905
Add Kotlin value classes tests with primitive types
...
This commit adds more Kotlin value classes tests with
primitive types to ensure testing unwrapped use case.
See gh-28638
2023-08-09 11:12:56 +02:00
Sébastien Deleuze
88c2a25f12
Add support for Kotlin value classes in BeanUtils
...
This commit adds support for Kotlin value classes annotated
with @JvmInline to BeanUtils#findPrimaryConstructor.
This is only the first step, more refinements are expected
to be needed to achieve a comprehensive support of Kotlin
values classes in Spring Framework.
Closes gh-28638
2023-08-09 10:31:49 +02:00
Juergen Hoeller
dd76ed7a0a
Merge branch '6.0.x'
...
# Conflicts:
# spring-core/src/main/java/org/springframework/core/ReactiveAdapterRegistry.java
# spring-core/src/main/java/org/springframework/util/StopWatch.java
2023-08-08 20:12:08 +02:00
Juergen Hoeller
d58e48d9f5
Explicit note on FactoryBean resolution with MBeanExporter
...
Closes gh-21676
2023-08-08 20:11:28 +02:00
Juergen Hoeller
8973d1ad8a
Polishing
2023-08-08 20:10:23 +02:00
Sam Brannen
837e8960c2
Make addPropertySourcesToEnvironment() public
...
This commit makes the recently introduced
addPropertySourcesToEnvironment(ConfigurableEnvironment, ResourceLoader,
List<PropertySourceDescriptor>) method in TestPropertySourceUtils public
so that it can be used by third parties (for example, Spring Boot).
Closes gh-30981
2023-08-08 11:47:15 +03:00
Stephane Nicoll
8a6c52b018
Merge pull request #30904 from izeye
...
* pr/30904:
Polish AbstractReflectionParameterNameDiscovererKotlinTests
Closes gh-30904
2023-08-08 10:26:30 +02:00
Johnny Lim
7f561fb53d
Polish AbstractReflectionParameterNameDiscovererKotlinTests
...
See gh-30904
2023-08-08 10:23:07 +02:00
Juergen Hoeller
c4896aca9b
Defensively register Flow bridge in delegate class
...
See gh-31000
2023-08-08 09:52:42 +02:00
Juergen Hoeller
3b093754c8
Rename getLastTaskInfo to lastTaskInfo (aligned with currentTaskName)
...
See gh-25803
2023-08-08 09:41:00 +02:00
Juergen Hoeller
8e16e5ea35
Revise StopWatch for flexible time units in nanosecond precision
...
Closes gh-25803
2023-08-08 01:48:58 +02:00
Juergen Hoeller
dedb58f7ed
Defensively register default adapters behind Reactive Streams guard
...
See gh-31000
2023-08-07 20:48:10 +02:00
Sam Brannen
f4b5738869
Polishing
2023-08-07 17:51:37 +03:00
xumengqi
21a007bb15
Fix misspelling of applicationListenerDectector variable
...
Closes gh-31006
2023-08-07 16:14:55 +02:00
Juergen Hoeller
d3d414c3c7
Reject @Bean method with void return type
...
Closes gh-31007
2023-08-07 15:00:08 +02:00
Juergen Hoeller
3c34e69cc2
Merge branch '6.0.x'
2023-08-07 14:53:01 +02:00
Juergen Hoeller
2aae0a4e0c
Polishing
2023-08-07 14:51:58 +02:00
Juergen Hoeller
156b3696a7
Reinstate Introspector.flushFromCaches() call for JDK ClassInfo cache
...
Closes gh-27781
2023-08-07 14:51:49 +02:00
Sam Brannen
526fc391ee
Use Class#componentType() for consistency with arrayType()
...
Java 12 introduced java.lang.Class#componentType() as a shortcut for
getComponentType().
Since we started using arrayType() in fe5560400c , this commit switches
to componentType() for consistent API usage style.
2023-08-07 12:43:40 +03:00
Sam Brannen
96fd3c10fb
Update copyright headers
2023-08-07 12:08:04 +03:00
Sam Brannen
fe5560400c
Use Class#arrayType() where feasible
...
Closes gh-31002
2023-08-07 12:07:46 +03:00
Juergen Hoeller
6090eb0b42
Merge branch '6.0.x'
2023-08-06 15:00:42 +02:00
Juergen Hoeller
c36174b263
Polishing
2023-08-06 14:59:44 +02:00
Juergen Hoeller
3804b1c602
Merge branch '6.0.x'
...
# Conflicts:
# spring-context/src/main/java/org/springframework/context/annotation/ClassPathBeanDefinitionScanner.java
# spring-core/src/main/java/org/springframework/core/ReactiveAdapterRegistry.java
# spring-r2dbc/src/test/java/org/springframework/r2dbc/connection/R2dbcTransactionManagerUnitTests.java
2023-08-06 14:26:55 +02:00
Juergen Hoeller
6e5af9dccb
Polishing
2023-08-06 14:25:39 +02:00
Juergen Hoeller
40b33bca59
Compatibility with Flow-based SmallRye Mutiny 2 at runtime
...
Includes simple Flow.Publisher bridge without Reactor.
Closes gh-31000
2023-08-06 14:04:24 +02:00
Juergen Hoeller
3253d2de89
Introduce TransactionExecutionListener with begin/commit/rollback notifications
...
Includes ConfigurableTransactionManager interface for listener registration.
Includes additional introspection methods on TransactionExecution interface.
Includes default method declarations on TransactionStatus/SmartTransactionObject.
Closes gh-27479
2023-08-06 14:03:44 +02:00
Juergen Hoeller
eaf54b54c3
Detect illegal bean definition override during classpath scanning
...
Closes gh-25952
2023-08-06 14:03:29 +02:00
Juergen Hoeller
c596ff5c38
Log warn message with specific guidance in BeanPostProcessorChecker
...
Closes gh-24092
2023-08-06 14:03:12 +02:00
Juergen Hoeller
cc90a956f7
Reject invalid afterThrowing signature on ThrowsAdvice
...
Closes gh-1896
2023-08-06 14:02:57 +02:00
ali dandach
6dbd684279
Optimize collection usage in CGLIB fork
...
Closes gh-30993
2023-08-05 16:18:09 +03:00
Sam Brannen
faf3c7831f
Add support for property file encoding in @TestPropertySource
...
Prior to this commit, property files configured (or inferred) via
@TestPropertySource were read using the default encoding of the JVM.
This commit introduces an `encoding` attribute in @TestPropertySource
which allows developers to specify an explicit encoding for test
property files.
Closes gh-30982
2023-08-05 13:47:46 +03:00
Sam Brannen
59b78cc513
Polishing
2023-08-05 10:49:39 +03:00