Sam Brannen
19686adc01
Merge branch '6.0.x'
2023-06-24 14:15:05 +02:00
Sam Brannen
f86a69ebfb
Update copyright headers and polish
2023-06-24 14:14:02 +02:00
Sébastien Deleuze
35667e81ea
Merge branch '6.0.x'
2023-06-23 14:20:13 +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
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