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
Sam Brannen
c95426a616
Polishing
2023-06-30 13:55:34 +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
0c39fff831
Polishing
2023-06-29 18:04:08 +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
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
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