Brian Clozel
cf662368a5
Fix Wrong parentId tracking in JFR application startup
...
This commit fixes the tracking of the main event parentId for the Java
Flight Recorder implementation variant.
Fixes gh-34254
2025-01-13 20:22:07 +01:00
Stéphane Nicoll
898d3ec86a
Backport tests for exact match resolution
...
See gh-34124
2024-12-23 12:15:44 +01:00
Juergen Hoeller
357195289d
Unit test for match against unresolvable wildcard
...
See gh-33982
2024-12-05 17:53:30 +01:00
Juergen Hoeller
fec6ba4dfe
Polishing
2024-11-13 22:26:06 +01:00
Juergen Hoeller
01c85b1afb
Add explicit note on blocking in case of concurrency limit
...
Closes gh-33873
2024-11-13 15:09:02 +01:00
Johnny Lim
0beb56a58c
Fix indentation to use tabs in Kotlin source files
...
Closes gh-33840
2024-11-05 10:24:02 +01:00
Sam Brannen
6bd4687706
Update copyright headers
...
See gh-33839
2024-11-03 16:14:41 +01:00
Tran Ngoc Nhan
07b12666b4
Fix typos in Javadoc and variable names
...
Closes gh-33839
2024-11-03 16:13:50 +01:00
Stéphane Nicoll
d43126705f
Polish "Add test coverage for DomUtils"
...
See gh-33768
2024-11-03 18:15:34 +09:00
kunaljani1100
57bbf0ca0f
Add test coverage for DomUtils
...
See gh-33768
2024-11-03 13:44:07 +09:00
Juergen Hoeller
323de1208a
Document limited support for lifecycle management
...
Closes gh-33780
2024-10-28 22:08:41 +01:00
Sam Brannen
e340e45f5a
Rename aopAvailable constants in TransactionSynchronizationUtils
...
Closes gh-33796
2024-10-25 14:41:41 +02:00
Juergen Hoeller
e235e661d8
Polishing
2024-10-21 18:13:42 +02:00
Juergen Hoeller
fde7116ae4
Consistently skip processing of plain Java annotations
...
Closes gh-33580
2024-10-16 17:17:22 +02:00
Juergen Hoeller
11d4272ff4
Use Locale.ROOT consistently for toLower/toUpperCase
...
Closes gh-33708
2024-10-16 13:36:23 +02:00
rstoyanchev
23656aebc6
Use Locale.ROOT consistently for toLower/toUpperCase
...
See gh-33708
2024-10-16 12:05:54 +01:00
Juergen Hoeller
feb6a5f52d
Polishing
2024-10-16 11:35:23 +02:00
Juergen Hoeller
49da92b6a3
Avoid http URL String (making checkstyleNohttp happy)
...
See gh-33561
2024-09-25 13:53:34 +02:00
Juergen Hoeller
daa109e2ec
Preserve URLStreamHandler in toRelativeURL and convertClassLoaderURL
...
Closes gh-33561
See gh-33199
2024-09-25 12:45:34 +02:00
Simon Baslé
7df9db3bb7
Polishing test
...
Assert that BlockHound doesn't trigger, rather than assertions on a
condition that makes the test flakky because concurrency is involved.
2024-09-24 11:01:37 +02:00
Simon Baslé
de4ff4b44b
Polishing tests
...
This commit adds more test coverage of SpringCoreBlockHoundIntegration.
See gh-33450
2024-09-17 16:40:40 +02:00
Simon Baslé
f6e96a24d4
Add BlockHound exception for ConcurrentReferenceHashMap$ReferenceManager
...
This commit adds a SpringCoreBlockHoundIntegration configuration to
allows `pollForPurge` method to block.
Closes gh-33450
2024-09-17 16:40:40 +02:00
Juergen Hoeller
54dbb9f52a
Upgrade to Objenesis 3.4
...
Closes gh-33526
2024-09-11 17:15:37 +02:00
Juergen Hoeller
5d80d75051
Follow symlinks during root path traversal
...
Closes gh-33424
2024-08-31 12:00:14 +02:00
Sébastien Deleuze
46c29b9175
Support Boolean property in BindingReflectionHintsRegistrar
...
Closes gh-33380
2024-08-16 14:37:12 +02:00
Juergen Hoeller
d0bff584d7
Polishing
2024-08-13 18:51:02 +02:00
Sam Brannen
cb6a5baac5
Support conversion from primitive array to Object[] in ConversionService
...
Prior to this commit, the ConversionService failed to convert a primitive
array (such as int[]) to an Object[] due to an error in the logic in
ArrayToArrayConverter.
This commit addresses this by augmenting the "can bypass conversion"
check in ArrayToArrayConverter to ensure that the supplied source object
is an instance of the target type (i.e., that the source array can be
cast to the target type array without conversion).
Closes gh-33212
2024-08-04 17:13:56 +03:00
Sam Brannen
ae5dd54115
Add @Disabled tests for primitive varargs array to Object[] conversion
2024-07-12 17:36:54 +02:00
Juergen Hoeller
2bfff7fc37
Retain original URL instance in case of custom URLStreamHandler
...
Closes gh-33199
2024-07-11 16:15:42 +02:00
Juergen Hoeller
4e2fb308f6
Document contentLength() behavior for InputStreamResource and custom subclasses
...
Closes gh-33089
2024-06-24 12:10:35 +02:00
Juergen Hoeller
2c3c3831c1
Consistently ignore bridge method on generated subclass for visibility purposes
...
Closes gh-33030
2024-06-17 18:42:20 +02:00
Stéphane Nicoll
6b7f0bd4b6
Fix typo
2024-06-11 06:47:42 +02:00
Sébastien Deleuze
c97a895f09
Add support for double backslashes to StringUtils#cleanPath
...
Closes gh-32962
2024-06-10 22:25:31 +02:00
Sébastien Deleuze
43409b00d0
Refine KotlinDetector.isKotlinType documentation
...
This commit documents changes in lambda detection
as of Kotlin 2.0.
Closes gh-32905
2024-06-03 18:58:13 +02:00
Sébastien Deleuze
d55abc6cf9
Fix RegisterReflectionForBinding Javadoc
...
Closes gh-32947
2024-06-03 18:26:24 +02:00
Juergen Hoeller
b08883b65c
Avoid NoSuchMethodException for annotation attribute checks
...
Closes gh-32921
2024-06-03 12:45:11 +02:00
Juergen Hoeller
557dbba585
Remove superfluous addToClassHierarchy call for Enum types
...
Closes gh-32906
2024-05-28 18:45:05 +02:00
Juergen Hoeller
26d1c38d84
Polishing
2024-05-24 13:05:49 +02:00
Juergen Hoeller
345daaabbc
Detect original generic method for CGLIB bridge method
...
Closes gh-32888
2024-05-24 11:49:10 +02:00
Juergen Hoeller
e4e6910122
Polishing
2024-05-15 14:15:52 +02:00
Juergen Hoeller
2270df515b
Enforce cleaned URL for root resource from ClassLoader
...
Closes gh-32828
2024-05-15 14:15:47 +02:00
Juergen Hoeller
e509385eae
Add InputStreamResource(InputStreamSource) constructor for lambda expressions
...
Includes notes for reliable InputStream closing, in particular with Spring MVC.
Closes gh-32802
2024-05-14 21:59:42 +02:00
Juergen Hoeller
b7aafda872
Polishing
2024-05-14 13:43:35 +02:00
Juergen Hoeller
bf08e0c1b4
Polishing
2024-05-10 12:27:29 +02:00
Juergen Hoeller
0eb937a866
Document limitations of CGLIB proxy class generation in JPMS module setups
...
Includes extended exception messages with common hints and explanations.
Closes gh-32671
2024-05-08 17:51:17 +02:00
Juergen Hoeller
4f02be263f
Polishing
2024-05-07 15:52:13 +02:00
Juergen Hoeller
05d9b52b19
Polishing
2024-05-06 20:10:40 +02:00
Sam Brannen
4baad16437
Include repeatable annotation container in MergedAnnotations results
...
A bug has existed in Spring's MergedAnnotations support since it was
introduced in Spring Framework 5.2. Specifically, if the
MergedAnnotations API is used to search for annotations with "standard
repeatable annotation" support enabled (which is the default), it's
possible to search for a repeatable annotation but not for the
repeatable annotation's container annotation.
The reason is that MergedAnnotationFinder.process(Object, int, Object,
Annotation) does not process the container annotation and instead only
processes the "contained" annotations, which prevents a container
annotation from being included in search results.
In #29685 , we fixed a bug that prevented the MergedAnnotations support
from recognizing an annotation as a container if the container
annotation declares attributes other than the required `value`
attribute. As a consequence of that bug fix, since Spring Framework
5.3.25, the MergedAnnotations infrastructure considers such an
annotation a container, and due to the aforementioned bug the container
is no longer processed, which results in a regression in behavior for
annotation searches for such a container annotation.
This commit addresses the original bug as well as the regression by
processing container annotations in addition to the contained
repeatable annotations.
See gh-29685
Closes gh-32731
2024-05-03 12:18:04 +03:00
Stéphane Nicoll
abcc1dfc6c
Review usage of BindingReflectionHintsRegistrar#registerReflectionHints
...
Closes gh-32753
2024-05-02 16:53:59 +02:00
Sam Brannen
5a24e94d2e
Polish tests
2024-05-02 13:28:48 +03:00