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
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
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
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
Juergen Hoeller
7681200ee7
Introduce SimpleAsyncTaskScheduler (extending SimpleAsyncTaskExecutor)
...
Closes gh-30956
2023-07-26 23:56:59 +02:00
Juergen Hoeller
bbde68c49e
Polishing
2023-07-25 19:12:07 +02:00
Juergen Hoeller
5ebbb3ff3e
Merge branch '6.0.x'
...
# Conflicts:
# spring-jdbc/src/main/java/org/springframework/jdbc/core/JdbcOperations.java
# spring-jdbc/src/main/java/org/springframework/jdbc/core/JdbcTemplate.java
# spring-jdbc/src/main/java/org/springframework/jdbc/core/namedparam/NamedParameterJdbcTemplate.java
2023-07-25 19:13:33 +02:00
Juergen Hoeller
2ac55659c8
Merge branch '6.0.x'
2023-07-19 01:26:05 +02:00
Juergen Hoeller
c64a322e19
Polishing
2023-07-19 01:25:20 +02:00
Juergen Hoeller
25ea1f4c0f
Merge branch '6.0.x'
...
# Conflicts:
# spring-context/src/main/java/org/springframework/scheduling/support/CronSequenceGenerator.java
2023-07-19 00:37:06 +02:00
Juergen Hoeller
2f33e77ab4
Consistent equals/hashCode style (and related polishing)
2023-07-19 00:35:19 +02:00
Juergen Hoeller
c504ac5a47
Merge branch '6.0.x'
2023-07-18 12:57:18 +02:00
Juergen Hoeller
616f728afa
MethodIntrospector handles overriding bridge method correctly
...
Closes gh-30906
2023-07-18 12:54:59 +02:00
Sam Brannen
2ba9939bd8
Revise changes to DefaultGenerationContext and GeneratedClasses
...
In order to reduce the surface area of published APIs in the affected
classes, this commit:
- Reverts the changes made to GeneratedClasses in c354b1014d .
- Reverts the changes made to DefaultGenerationContext in a28ec3a0a8 .
- Makes the DefaultGenerationContext(DefaultGenerationContext, String)
constructor protected.
- Reworks the internals of TestContextGenerationContext to align with
the above changes.
See gh-30861
Closes gh-30895
Closes gh-30897
2023-07-15 14:43:39 +02:00
Juergen Hoeller
3a278cc66d
Polishing
2023-07-15 14:20:00 +02:00
Juergen Hoeller
6183f06846
Cache DependencyDescriptor per autowired constructor argument
...
Aligned with shortcut handling in AutowiredAnnotationBeanPostProcessor.
Includes minor MethodInvoker optimization for pre-resolved targetClass.
Closes gh-30883
2023-07-15 14:17:52 +02:00
Sam Brannen
a34f9fa66c
Update copyright headers
2023-07-15 13:10:46 +02:00
Sam Brannen
c354b1014d
Make GeneratedClasses#withFeatureNamePrefix(String) public
...
See gh-30861
Closes gh-30897
2023-07-15 12:01:56 +02:00
Sam Brannen
a28ec3a0a8
Make DefaultGenerationContext(<classes>,<files>,<hints>) constructor protected
...
See gh-30861
Closes gh-30895
2023-07-15 12:01:49 +02:00
Juergen Hoeller
0d8a8432d1
Upgrade to ASM master (including early support for Java 22 bytecode)
...
Closes gh-30845
2023-07-17 21:17:15 +02:00
Sam Brannen
889fca98ac
Merge branch '6.0.x'
2023-07-15 14:45:52 +02:00
Juergen Hoeller
351a200747
Merge branch '6.0.x'
2023-07-15 14:21:05 +02:00
Sam Brannen
5ce8ffd197
Merge branch '6.0.x'
2023-07-15 13:11:03 +02:00
Sam Brannen
56c7b4065d
Merge branch '6.0.x'
2023-07-15 13:09:12 +02:00
Juergen Hoeller
064cd3b7af
Merge branch '6.0.x'
...
# Conflicts:
# gradle.properties
# spring-core/src/main/java/org/springframework/core/convert/support/GenericConversionService.java
2023-07-14 12:18:41 +02:00
Juergen Hoeller
75f5dac16b
Polishing
2023-07-14 12:16:37 +02:00
Juergen Hoeller
d24c131130
Expose convert(Object, TypeDescriptor) in ConversionService interface
...
Closes gh-25394
2023-07-14 11:49:26 +02:00
Juergen Hoeller
357d5b4e6e
Merge branch '6.0.x'
2023-07-12 19:23:26 +02:00
Juergen Hoeller
c873a597c7
Polishing
2023-07-12 19:21:44 +02:00
Sam Brannen
16b9640af2
Merge branch '6.0.x'
2023-07-12 11:50:11 +02:00
Sam Brannen
68f2b0ca59
Rely on auto-boxing in tests
2023-07-12 11:49:02 +02:00
Juergen Hoeller
3a481a7d7f
Merge branch '6.0.x'
2023-07-11 18:02:25 +02:00
Juergen Hoeller
f19433f2d8
Polishing
2023-07-11 18:01:07 +02:00
Juergen Hoeller
e2b24f3c12
Improve diagnostics for LinkageError in case of ClassLoader mismatch
...
Closes gh-25940
2023-07-11 17:50:44 +02:00
Juergen Hoeller
a102cd5f32
Tolerate isCandidateClass call with null as annotation type
...
Closes gh-30842
2023-07-09 16:52:54 +02:00
Sébastien Deleuze
b3de1b8e95
Use consistently *KotlinTests naming for Kotlin tests
...
Closes gh-30837
2023-07-08 11:02:20 +02:00
Sébastien Deleuze
fb17e283d1
Replace @link by proper KDoc class reference in tests
...
Closes gh-30836
2023-07-08 10:44:40 +02:00
Sam Brannen
826776f321
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.
2023-07-06 14:01:26 +02:00
Sam Brannen
ad05b02ff5
Update Javadoc for ObjectUtils.nullSafeConciseToString()
...
See gh-30810
2023-07-06 12:26:47 +02:00
Juergen Hoeller
b7b9f2cb6b
Expand tests for array to Collection/Set/List interface
...
See gh-28048
2023-07-05 20:15:10 +02:00
Sam Brannen
b76664e757
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-30810
2023-07-05 17:01:01 +02:00
Juergen Hoeller
f07b9fd217
Polishing
2023-07-04 16:52:44 +02:00
Juergen Hoeller
80a20488fd
Make File/Path tests pass on Windows
...
See gh-30806
2023-07-04 16:52:39 +02:00
Sam Brannen
3ef1b7d83c
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-30805
2023-07-04 13:27:47 +02:00
Sam Brannen
08bce69d3d
Add tests for status quo in ObjectUtils.nullSafeConciseToString()
2023-07-04 13:15:56 +02:00
Yanming Zhou
56b60120fe
Stop using deprecated AbstractArchiveTask.archivePath in Gradle build
...
This commit addresses the following warning in the build.
The AbstractArchiveTask.archivePath property has been deprecated. This
is scheduled to be removed in Gradle 9.0. Please use the archiveFile
property instead. See
https://docs.gradle.org/8.1.1/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:archivePath
for more details.
Closes gh-30697
2023-07-03 17:09:48 +02:00
Sam Brannen
c95426a616
Polishing
2023-06-30 13:55:34 +02:00
Juergen Hoeller
0c39fff831
Polishing
2023-06-29 18:04:08 +02:00
Juergen Hoeller
3cb746c358
Consistently handle invocation exceptions in TypeProxyInvocationHandler
...
Closes gh-30764
2023-06-28 15:45:40 +02:00
Juergen Hoeller
9266e6d29e
Remove outdated javadoc notes on getMessage and printStackTrace
...
Closes gh-30748
2023-06-26 12:34:59 +02:00
Sam Brannen
f86a69ebfb
Update copyright headers and polish
2023-06-24 14:14:02 +02:00
Sébastien Deleuze
d3a249e34d
Reduce the delay used for Coroutines in tests
...
Closes gh-30731
2023-06-23 14:17:56 +02:00
Sébastien Deleuze
23ecb50137
Optimize KotlinReflectionParameterNameDiscoverer
...
This commit removes the intermediate list allocation.
Closes gh-30725
2023-06-23 14:17:56 +02:00
Juergen Hoeller
71bb45c87b
Merge branch '6.0.x'
2023-07-09 16:56:45 +02:00
Juergen Hoeller
6b1fbc9fe1
Revise ResolvableType equality
...
ResolvableTypes are only considered equal if of the very same class now.
As a consequence, a forRawClass result is not equal to forClass anymore.
The new equalsType method is available for plain type equality checks.
Closes gh-28608
Closes gh-27748
2023-07-09 12:35:37 +02:00
Sébastien Deleuze
8fb412ea74
Merge branch '6.0.x'
2023-07-08 11:11:37 +02:00
Juergen Hoeller
464b676ec5
Expose shutdown state in TaskRejectedException message
...
See gh-27090
2023-07-07 23:59:10 +02:00
Sam Brannen
0bf85af8e9
Merge branch '6.0.x'
...
# Conflicts:
# framework-docs/modules/ROOT/pages/integration/observability.adoc
# spring-core/src/test/java/org/springframework/core/convert/converter/DefaultConversionServiceTests.java
2023-07-06 14:11:24 +02:00
Sam Brannen
468ef7a618
Merge branch '6.0.x'
2023-07-06 12:27:47 +02:00
Juergen Hoeller
0c8d3e70cf
Prefer ArrayList for Collection when source is an array
...
Closes gh-28048
2023-07-05 20:23:17 +02:00
Juergen Hoeller
47e631d5ff
Merge branch '6.0.x'
2023-07-05 20:15:53 +02:00
Sam Brannen
e86003b692
Merge branch '6.0.x'
2023-07-05 17:02:35 +02:00
Sam Brannen
d0a2820af4
Polish AnnotatedMethod
2023-07-05 14:46:19 +02:00
Juergen Hoeller
6fa09e1783
Extract AnnotatedMethod base class for consistent annotation exposure
...
As a consequence, the spring-messaging HandlerMethod detects interface parameter annotations as well, and the same is available for other HandlerMethod variants.
Closes gh-30801
2023-07-04 20:42:30 +02:00
Juergen Hoeller
420255373d
Merge branch '6.0.x'
2023-07-04 16:53:17 +02:00
Sam Brannen
7156ea016e
Merge branch '6.0.x'
...
# Conflicts:
# spring-core/src/main/java/org/springframework/util/ObjectUtils.java
2023-07-04 13:44:19 +02:00
Sam Brannen
9eb1fbd5c3
Merge branch '6.0.x'
2023-07-03 17:18:27 +02:00
Sam Brannen
9ac2443b78
Polish ModuleResource[Tests]
2023-07-01 16:49:32 +02:00
Sébastien Deleuze
f075120675
Support WildcardType resolution in GenericTypeResolver
...
This commit adds support for WildcardType bounds resolution,
commonly seen in Kotlin due to declaration-site variance,
but also possible in Java even if less common.
Closes gh-22313
2023-06-30 15:26:32 +02:00
Sam Brannen
b8f091e2f6
Merge branch '6.0.x'
2023-06-30 14:17:49 +02:00
Juergen Hoeller
31a51cca4f
Support for getFilename() in ModuleResource
...
See gh-28507
2023-06-30 00:35:14 +02:00
Juergen Hoeller
654dee8cd6
Additional notes on module access via ClassPathResource
...
See gh-28507
2023-06-29 18:15:38 +02:00
Juergen Hoeller
7028de9dbd
Merge branch '6.0.x'
2023-06-29 18:04:40 +02:00
Juergen Hoeller
e4751513a4
Additional notes on module access via ClassPathResource
...
See gh-28507
2023-06-29 17:54:53 +02:00
Juergen Hoeller
6061fdf231
Introduce ModuleResource for resources loaded from a given Module
...
Closes gh-28507
2023-06-29 17:18:46 +02:00
Juergen Hoeller
2eb8efe83b
Merge branch '6.0.x'
2023-06-28 15:46:29 +02:00
Juergen Hoeller
feac983869
Merge branch '6.0.x'
2023-06-26 12:35:56 +02:00
Sam Brannen
19686adc01
Merge branch '6.0.x'
2023-06-24 14:15:05 +02:00
Sébastien Deleuze
35667e81ea
Merge branch '6.0.x'
2023-06-23 14:20:13 +02:00
Sébastien Deleuze
f06cf21341
Support Kotlin parameter default values in handler methods
...
This commit adds support for Kotlin parameter default values
in handler methods. It allows to write:
@RequestParam value: String = "default"
as an alternative to:
@RequestParam(defaultValue = "default") value: String
Both Spring MVC and WebFlux are supported, including on
suspending functions.
Closes gh-21139
2023-06-22 16:08:48 +02:00
Johnny Lim
3be1216897
Polish
...
This commit polishes a bit.
Closes gh-30691
2023-06-22 15:12:58 +02:00
Sam Brannen
b8a713fde3
Merge branch '6.0.x'
2023-06-22 15:12:25 +02:00
Johnny Lim
271f2dc665
Polish
...
This commit polishes a bit.
Closes gh-30691
2023-06-22 15:06:05 +02:00
Juergen Hoeller
54e25e2fa6
Merge branch '6.0.x'
2023-06-21 17:18:55 +02:00
Juergen Hoeller
1dfe737d0e
Avoid ResolvableType creation for interface/superclass check
...
See gh-30713
2023-06-21 17:17:58 +02:00
Juergen Hoeller
fa82683ce2
Merge branch '6.0.x'
2023-06-21 13:16:47 +02:00
Juergen Hoeller
93218a06ba
Cache hasUnresolvableGenerics result for repeated checks
...
Closes gh-30713
2023-06-21 13:16:04 +02:00
Sam Brannen
526d9eae7f
Merge branch '6.0.x'
2023-06-15 16:20:19 +02:00
Sam Brannen
4565bcd757
Update copyright headers
2023-06-15 16:19:58 +02:00
Juergen Hoeller
96ae03b48f
Merge branch '6.0.x'
2023-06-14 22:27:55 +02:00
Juergen Hoeller
b9221656cc
Declare ClassLoader for DeserializingConverter constructor as nullable
...
Closes gh-30670
2023-06-14 22:27:07 +02:00
Juergen Hoeller
e344f3f869
Consistent treatment of new Spring system properties
...
See gh-30606
See gh-30571
2023-06-14 18:27:06 +02:00
Sébastien Deleuze
517a073f33
Use spring.native.precompute.log system property
...
This commit changes the Java system property used to
control PreComputeFieldFeature verbose logging from
spring.aot.precompute to spring.native.precompute.log
in order to clarify its purpose and avoid confusion
with AOT processing of JVM bytecode or Java sources.
See gh-30571
2023-06-14 17:58:08 +02:00
Juergen Hoeller
3171a8b0e2
Align with 5.3.28 javadoc for isSimpleValueType
...
See gh-30661
2023-06-14 11:18:18 +02:00
Juergen Hoeller
3de4e931c7
Javadoc notes on isSimpleValueType in BeanUtils vs ClassUtils
...
See gh-30664
2023-06-14 10:40:14 +02:00
Juergen Hoeller
ca4de8f191
Consistent simple value type check
...
Includes UUID treatment for data binding and bean dependency checks.
Closes gh-30664
2023-06-14 09:37:39 +02:00
Juergen Hoeller
858ea1a8c5
Merge branch '6.0.x'
2023-06-14 09:32:30 +02:00
Juergen Hoeller
927d27b121
Consider UUID as simple value type with concise toString output
...
Closes gh-30661
2023-06-14 09:31:35 +02:00
Sébastien Deleuze
9536dd14ef
Polish PreComputeFieldFeature
2023-06-13 14:25:56 +02:00
Sébastien Deleuze
c565df96f5
Remove System.out calls in PreComputeFieldFeature
...
Closes gh-30571
2023-06-13 14:25:32 +02:00
Sébastien Deleuze
46fe7f5bea
Merge branch '6.0.x'
2023-06-09 14:17:45 +02:00
Sébastien Deleuze
9b4e0e9837
Add missing hint for converting String to URI
...
Closes gh-30627
2023-06-09 14:14:54 +02:00
Sébastien Deleuze
2f78b42133
Refine Kotlin ParameterNameDiscoverer tests
...
Related to gh-30052, we should improve ParameterNameDiscoverer
Kotlin tests to make sure DefaultParameterNameDiscoverer behaves
as expected and is consistent with
KotlinReflectionParameterNameDiscoverer behavior.
Closes gh-30618
2023-06-08 15:27:06 +02:00
Sam Brannen
aa2a067489
Merge branch '6.0.x'
2023-06-07 13:36:05 +02:00
Sam Brannen
94214562d0
Polish contribution
...
See gh-30283
2023-06-07 13:15:12 +02:00
SW
be94e1a2fb
Replace switch statements with enhanced switch statements for consistency
...
Closes gh-30283
2023-06-07 13:02:08 +02:00
Sam Brannen
714d380ec0
Merge branch '6.0.x'
2023-06-07 12:01:54 +02:00
Sam Brannen
f2ae106c32
Update deprecation Javadoc regarding "for removal in 6.2"
...
See gh-30608
2023-06-07 12:00:27 +02:00
Juergen Hoeller
53f891226e
Merge branch '6.0.x'
...
# Conflicts:
# spring-core/src/main/java/org/springframework/core/CollectionFactory.java
2023-06-05 13:59:37 +02:00
Juergen Hoeller
cdc4497664
Restore creation of plain HashSet/HashMap for direct HashSet/HashMap type
...
Closes gh-30596
2023-06-05 13:57:59 +02:00
Juergen Hoeller
4fb4c95220
Merge branch '6.0.x'
2023-06-05 10:53:29 +02:00
Juergen Hoeller
22ef48bec2
Shorten constant names to BUILD and RUN (for consistent spelling)
...
See gh-30511
2023-06-05 10:45:02 +02:00
Sam Brannen
75466fee8d
Merge branch '6.0.x'
2023-06-04 16:40:23 +02:00
Sam Brannen
24fa8793b1
Update copyright headers
2023-06-04 16:36:52 +02:00
Juergen Hoeller
4b8adf2dcc
Polishing
2023-06-02 23:28:14 +02:00
Juergen Hoeller
8c6287ef7b
Expose parameter/field name for non-JavaBeans type conversion
...
Supports name-bound PropertyEditor registrations on data classes.
Includes consistent support for field-aware method parameters.
Closes gh-28284
2023-06-02 20:42:05 +02:00
Sam Brannen
2685a35c3a
Merge branch '6.0.x'
2023-06-01 15:02:42 +02:00
Sam Brannen
e8ab53e76d
Polishing
2023-06-01 14:57:50 +02:00
Stephane Nicoll
fc309ee314
Merge branch '6.0.x'
2023-05-30 09:15:55 +02:00
Stephane Nicoll
09b2e5d0fb
Update copyright year of changed file
...
See gh-30554
2023-05-30 09:13:29 +02:00
Stefano Cordio
c6b2d2e1d9
Fix `FileSystemUtils::deleteRecursively` Javadoc
...
See gh-30554
2023-05-30 09:11:48 +02:00
Sébastien Deleuze
8a5f655a5c
Merge branch '6.0.x'
2023-05-26 19:15:03 +02:00
Sébastien Deleuze
1cf6d1dd9d
Refine GraalVM tracing agent detection
...
This commit refines how GraalVM tracing agent detection works
for both test and application executions.
It rolls back the introduction of TestAotDetector done in 111309605c
and instead updates AotDetector.useGeneratedArtifacts()
to only detect "buildtime" and "runtime" imagecode system
property values by leveraging a new method
NativeDetector.inNativeImage(NativeDetector.Context...).
This commit also adds a workaround for
https://github.com/oracle/graal/issues/6691 .
Closes gh-30511
2023-05-26 19:10:21 +02:00
Sam Brannen
02f152c6e1
Merge branch '6.0.x'
2023-05-23 15:11:19 +02:00
Sam Brannen
4bb12c4ba4
Update copyright headers
2023-05-23 15:10:08 +02:00
Sam Brannen
8d6d99731f
Delete unused code
2023-05-23 15:09:38 +02:00
Simon Baslé
f5bc084ce2
Merge branch '6.0.x' (javadoc changes)
2023-05-16 15:05:42 +02:00
Simon Baslé
eabb846d07
Improve how the build deals with javadoc invalid references
...
This commit improves how the build deals with javadoc invalid references
in two ways.
Link/see references that are temporarily invalid during javadoc
generation of individual modules are better masked by using the option
`Xdoclint:syntax` instead of `Xdoclint:none` (warnings were still
visible in some cases, e.g. when individually building the javadoc for
a specific module).
Global javadoc-building task `api` now combines `syntax` and `reference`
`Xdoclint` groups, allowing to raise truly invalid references even when
all the modules have been aggregated.
This commit also fixes the 20+ errors which appeared following the later
change in doclet configuration.
Closes gh-30428
2023-05-16 15:04:10 +02:00
Juergen Hoeller
1e74d793a2
Merge branch '6.0.x'
2023-05-10 18:51:40 +02:00
Juergen Hoeller
6622a3c7d6
Consistent package-info declarations for CGLIB fork
...
Closes gh-30461
2023-05-10 18:50:17 +02:00
Sam Brannen
e51c71bcd6
Delete unused code
2023-05-10 14:26:41 +02:00
rstoyanchev
944305b9f1
Merge branch '6.0.x'
2023-05-09 19:59:11 +01:00
rstoyanchev
e737980033
Ensure chunks released on cancel in StringDecoder
...
The current test were not catching the issue because they request 1
via StepVerifier, wait for it, and then cancel. In the case of
StringDecoder it means all chunks are used up to produce that first
String and so the cancel doesn't catch any cached chunks.
Closes gh-30299
2023-05-09 19:58:36 +01:00
Arjen Poutsma
c8b920a05d
Fix SimpleAsyncTaskExecutor virtual thread path
...
This commit makes sure that the SimpleAsyncTaskExecutor only creates a
virtual thread when the virtualThreadDelegate is set, and not an
additional kernel thread as well.
See gh-30241
2023-05-08 16:59:35 +02:00
Juergen Hoeller
c09055b83a
Consistent support for MultiValueMap and common Map implementations
...
Closes gh-30440
2023-05-08 12:01:58 +02:00
Juergen Hoeller
697d5e6247
Configuration options for virtual threads (on JDK 21)
...
VirtualThreadDelegate built on JDK 21 for multi-release jar.
Includes dedicated VirtualThreadTaskExecutor as lean option.
Includes setVirtualThreads flag on SimpleAsyncTaskExecutor.
Includes additional default methods on AsyncTaskExecutor.
Closes gh-30241
2023-05-08 11:22:47 +02:00
Stephane Nicoll
f2c0b30641
Merge branch '6.0.x'
2023-05-05 15:04:15 +02:00
Stephane Nicoll
88361a4f3e
Polish "Introduce internal constants for implicit bounds in TypeUtils"
...
See gh-30423
2023-05-05 15:01:46 +02:00
Johnny Lim
92cf7f1a7f
Introduce internal constants for implicit bounds in TypeUtils
...
See gh-30423
2023-05-05 14:58:24 +02:00
Juergen Hoeller
4db724984e
Suppress deprecations for compiling on JDK 19/20
2023-05-03 10:17:12 +02:00
Juergen Hoeller
87942ed71d
Support for SequencedCollection/Set/Map (on JDK 21)
...
Includes consistent support for MultiValueMap.
Closes gh-30239
2023-05-03 10:16:25 +02:00
Juergen Hoeller
4d15b58ca4
Remove LocalVariableTableParameterNameDiscoverer
...
Closes gh-29559
2023-04-30 23:05:09 +02:00
Juergen Hoeller
9342317291
Avoid use of java.net.URL constructors (for JDK 20 compatibility)
...
Explicit path computation also leads to consistent relative path semantics for resource URLs.
Closes gh-29481
Closes gh-28522
2023-04-30 23:03:39 +02:00
Sam Brannen
ce3e9b0c29
Polishing
2023-04-26 11:21:34 +02:00
Sam Brannen
1c7ceaa2ca
Improve Javadoc for AbstractEnvironment and Profiles
2023-04-26 11:09:38 +02:00