Sam Brannen
961084dfe0
Merge branch '6.0.x'
2023-08-03 11:27:37 +03:00
Sam Brannen
3e5aa8d734
Fail on error by default during test AOT processing
...
Prior to this commit, if an error was encountered during build-time AOT
processing, the error was logged at WARN/DEBUG level, and processing
continued.
With this commit, test AOT processing now fails on error by default. In
addition, the `failOnError` mode can be disabled by setting the
`spring.test.aot.processing.failOnError` Spring/System property to
`false`.
Closes gh-30977
2023-08-03 10:59:46 +03:00
Sam Brannen
1bfcaecc9b
Polishing
2023-08-03 10:42:34 +03:00
Stephane Nicoll
eed14214b5
Document 'preferredConstructors' attribute escape hatch with AOT
...
See gh-30917
2023-08-02 16:40:13 +02:00
Sam Brannen
4b7d1e3a2c
Delete duplicate DummyFactory
2023-08-02 11:29:15 +03:00
Sam Brannen
08a99e275e
Merge branch '6.0.x'
2023-08-02 11:26:43 +03:00
Sam Brannen
44d14811d3
Suppress deprecation warnings in test fixtures
2023-08-02 10:51:03 +03:00
Sam Brannen
900ee11f3b
Merge branch '6.0.x'
2023-08-02 10:35:54 +03:00
Sam Brannen
89b85c81a7
Polishing
2023-08-02 10:21:06 +03:00
Sam Brannen
51aaaae94e
Merge branch '6.0.x'
...
# Conflicts:
# framework-platform/framework-platform.gradle
2023-08-02 09:56:47 +03:00
Sam Brannen
aa10d23de4
Merge branch '6.0.x'
2023-08-02 09:48:42 +03:00
Juergen Hoeller
10610a6f54
Merge branch '6.0.x'
...
# Conflicts:
# framework-platform/framework-platform.gradle
2023-08-02 01:42:27 +02:00
Juergen Hoeller
5e26786bab
Fix malformed javadoc
2023-08-02 01:13:27 +02:00
Juergen Hoeller
3b1af692cc
Merge branch '6.0.x'
...
# Conflicts:
# spring-beans/spring-beans.gradle
# spring-context/spring-context.gradle
# spring-orm/spring-orm.gradle
# spring-test/spring-test.gradle
# spring-web/spring-web.gradle
# spring-webflux/spring-webflux.gradle
2023-08-02 01:04:31 +02:00
Juergen Hoeller
b9ae996dfc
Merge branch '6.0.x'
...
# Conflicts:
# spring-context/spring-context.gradle
# spring-context/src/main/java/org/springframework/context/event/SimpleApplicationEventMulticaster.java
# spring-context/src/test/java/org/springframework/scheduling/annotation/EnableSchedulingTests.java
# spring-orm/src/main/java/org/springframework/orm/hibernate5/SpringBeanContainer.java
# spring-test/spring-test.gradle
# spring-webmvc/spring-webmvc.gradle
2023-08-02 00:16:55 +02:00
Juergen Hoeller
2d50b758c4
Deprecate applyBeanPostProcessorsBefore/AfterInitialization
...
Closes gh-30974
2023-08-01 23:28:06 +02:00
Juergen Hoeller
450cc212a2
Support for transactional listeners with reactive transactions
...
TransactionalApplicationListener and TransactionalEventListener automatically detect a reactive TransactionContext as the event source and register the synchronization accordingly. TransactionalEventPublisher is a convenient delegate for publishing corresponding events with the current TransactionContext as event source. This can also serve as a guideline for similar reactive event purposes.
Closes gh-27515
Closes gh-21025
Closes gh-30244
2023-08-01 23:27:38 +02:00
Juergen Hoeller
a9d100eeee
Support for always executing specific listeners in original thread
...
See gh-30244
2023-08-01 23:26:35 +02:00
Sam Brannen
dde8f4489f
Polish MappedInterceptor
2023-08-01 16:19:26 +03:00
Sam Brannen
f9f7a7cd78
Polish contribution
...
See gh-30971
2023-08-01 16:19:26 +03:00
graceyu
6de95a2b37
Provide methods for obtaining include/exclude patterns in MappedInterceptor
...
Prior to this commit, MappedInterceptor had a getPathPatterns() method
that returned the include patterns.
This commit introduces getIncludePathPatterns() (which effectively
replaces getPathPatterns()) and getExcludePathPatterns(). In addition,
this commit deprecates getPathPatterns().
Closes gh-30971
2023-08-01 15:57:43 +03:00
Sam Brannen
f00756bc7c
Update copyright headers
2023-08-01 14:55:04 +03:00
Sam Brannen
b00d120514
Merge branch '6.0.x'
2023-08-01 14:54:41 +03:00
Sam Brannen
2dc4eea62f
Remove native image hints for TransactionDefinition constants
...
Closes gh-30854
2023-08-01 14:46:07 +03:00
Sam Brannen
db8fa4d505
Polish DataSize
2023-08-01 11:20:40 +03:00
Sam Brannen
525621c4d8
Polish contribution
...
See gh-30710
2023-08-01 11:19:54 +03:00
Patrick Strawderman
01e90bbd0e
Use Long.parseLong(CharSequence,...) to avoid intermediate String creation
...
Where possible, switch to the Long.parseLong variant that accepts a
start and end index for the supplied CharSequence, thus avoiding making
unnecessary copies of the String input.
Closes gh-30710
2023-08-01 10:53:30 +03:00
Sam Brannen
af1c06917d
Upgrade to JUnit 5.10
...
Closes gh-30970
2023-08-01 10:28:50 +03:00
Sam Brannen
bcff7d74cd
Replace map entry traversal with switch expression
...
See gh-30851
2023-07-31 16:23:47 +03:00
Sam Brannen
170d6bfdad
Clean up warnings in tests
2023-07-31 16:17:48 +03:00
Sam Brannen
2f7046f572
Deprecate org.springframework.core.Constants utility
...
Closes gh-30851
2023-07-31 16:08:47 +03:00
Sam Brannen
3b8dd0a5ac
Assert JmsAccessor.setSessionAcknowledgeMode() values
...
See gh-30851
2023-07-31 16:08:47 +03:00
Sam Brannen
9da318af96
Assert JmsActivationSpecConfig.setAcknowledgeMode() values
...
See gh-30851
2023-07-31 16:08:47 +03:00
Sam Brannen
b45bfcafc2
Assert DefaultMessageListenerContainer.setCacheLevel() values
...
See gh-30851
2023-07-31 16:08:47 +03:00
Sam Brannen
81181c346a
Assert SimpleTriggerFactoryBean.setMisfireInstruction() values
...
See gh-30851
2023-07-31 16:08:47 +03:00
Sam Brannen
1378cce9fb
Assert CronTriggerFactoryBean.setMisfireInstruction() values
...
See gh-30851
2023-07-31 16:08:47 +03:00
Sam Brannen
12f765c133
Assert XmlBeanDefinitionReader.setValidationMode() values
...
See gh-30851
2023-07-31 16:08:47 +03:00
Sam Brannen
06c6af9b0d
Stop using Constants utility in IsolationLevelDataSourceRouter
...
See gh-30851
2023-07-31 16:08:47 +03:00
Sam Brannen
181c814e69
Polish IsolationLevelDataSourceRouter
2023-07-31 16:08:47 +03:00
Sam Brannen
0eda44186a
Polish tests for configuration constants
...
See gh-30851
2023-07-31 16:08:47 +03:00
Sam Brannen
48eb477755
Assert LazyConnectionDataSourceProxy.setDefaultTransactionIsolation() values
...
See gh-30851
2023-07-31 15:11:52 +03:00
rstoyanchev
c43d2e2edc
Polishing
...
Closes gh-30959
2023-07-31 14:52:58 +03:00
Olga MaciaszekSharma
0d4010841e
Update docs for HTTP interface clients return values
...
See gh-30959
2023-07-31 14:52:58 +03:00
Sam Brannen
cc9278666d
Stop using Constants utility in LazyConnectionDataSourceProxy
...
See gh-30851
2023-07-31 13:56:49 +03:00
Sam Brannen
c87925cee7
Polish LazyConnectionDataSourceProxy
2023-07-31 13:56:49 +03:00
rstoyanchev
5b6c127283
Polishing
...
Closes gh-30936
2023-07-28 12:46:58 +03:00
Olga MaciaszekSharma
4cd9e2e9b0
Support `@RSocketExchange` for annotated responders
...
See gh-30936
2023-07-28 04:23:00 +03:00
Juergen Hoeller
376223c87d
Merge branch '6.0.x'
...
# Conflicts:
# spring-core/src/main/java/org/springframework/core/task/SimpleAsyncTaskExecutor.java
2023-07-27 21:48:42 +02:00
Juergen Hoeller
abbea39855
Polishing
2023-07-27 21:47:54 +02:00
Juergen Hoeller
ce80637891
Add option for graceful shutdown (setTaskTerminationTimeout)
...
See gh-30956
2023-07-27 21:39:58 +02:00