rstoyanchev
5c5cf73e11
Add ignoreCase variants to PatternMatchUtils
...
See gh-34801
2025-04-23 12:10:55 +01:00
Juergen Hoeller
253f321e8b
Early getJarFile() call for consistent jar file existence check
...
See gh-34796
2025-04-23 10:16:12 +02:00
Juergen Hoeller
0252e39409
Check for the existence of any actual jar entries in case of jar root
...
Closes gh-34796
2025-04-22 23:18:56 +02:00
Juergen Hoeller
b83e07ff8c
Ignore NoSuchFileException from getJarFile() as well
...
Closes gh-34764
2025-04-22 12:17:18 +02:00
Sam Brannen
8c376e9cc5
Remove redundant parameter count check in AnnotationsScanner.hasSameParameterTypes()
...
The redundancy was reported by @TAKETODAY.
See gh-34717
2025-04-22 11:53:40 +02:00
Juergen Hoeller
eea6addd26
Avoid lenient locking for additional external bootstrap threads
...
Includes spring.locking.strict revision to differentiate between true, false, not set.
Includes checkFlag accessor on SpringProperties, also used in StatementCreatorUtils.
Closes gh-34729
See gh-34303
2025-04-10 18:33:21 +02:00
Juergen Hoeller
7f2c1f447f
Try loadClass on LinkageError in case of ClassLoader mismatch
...
See gh-34677
2025-04-10 18:30:45 +02:00
Sam Brannen
cd987fc104
Update Javadoc to stop mentioning 5.3.x as the status quo
...
Closes gh-34740
2025-04-10 16:40:04 +02:00
Juergen Hoeller
3afd551174
Add rejectTasksWhenLimitReached option for concurrency limit
...
Closes gh-34727
2025-04-07 23:54:05 +02:00
Sam Brannen
381bc4c405
Polish contribution
...
See gh-34717
2025-04-04 15:29:10 +02:00
Olivier Bourgain
0f2308e85f
Implement micro performance optimizations
...
- ClassUtils.isAssignable(): Avoid Map lookup when the type is not a
primitive.
- AnnotationsScanner: Perform low cost array length check before String
comparisons.
- BeanFactoryUtils: Use char comparison instead of String comparison.
The bean factory prefix is '&', so we can use a char comparison
instead of more heavyweight String.startsWith("&").
- AbstractBeanFactory.getMergedBeanDefinition(): Perform the low cost
check first. Map lookup, while cheap, is still more expensive than
instanceof.
Closes gh-34717
Signed-off-by: Olivier Bourgain <olivierbourgain02@gmail.com >
2025-04-04 14:34:55 +02:00
Dmitry Sulman
fbaeaf12bd
Recursively boxing Kotlin nested value classes
...
This commit is a follow-up to gh-34592. It introduces
recursive boxing of Kotlin nested value classes in CoroutinesUtils.
Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com >
Closes gh-34682
2025-04-01 09:53:23 +02:00
Juergen Hoeller
7b08feeb6d
Make jar caching configurable through setUseCaches
...
Closes gh-34678
2025-03-31 16:41:16 +02:00
Sam Brannen
9fd1d0c6a3
Polish Javadoc
...
This commit also reverts the change to ASM's SymbolTable class.
See gh-34679
2025-03-29 12:57:08 +01:00
Tran Ngoc Nhan
30fcaef813
Remove unnecessary closing curly brackets in Javadoc
...
Closes gh-34679
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com >
2025-03-29 12:37:48 +01:00
Sam Brannen
8d2166139f
Update SpringCoreTestSuite to include AOT
2025-03-27 16:04:51 +01:00
Juergen Hoeller
84430a8db2
Polishing
2025-03-25 17:09:24 +01:00
Juergen Hoeller
6905dff660
Introduce spring.locking.strict=true flag for 6.1.x style bean creation locking
...
Closes gh-34303
2025-03-25 17:08:55 +01:00
Dmitry Sulman
5455c645f0
Update deprecated Gradle task creation
...
This commit replaces use of the deprecated Gradle `task` method with
the new `tasks.register` method.
Closes gh-34617
Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com >
2025-03-20 10:22:55 +01:00
Sam Brannen
208d52d852
Introduce Checkstyle rule for separator symbol location
2025-03-19 15:35:44 +01:00
Sam Brannen
c6a9aa59a3
Remove BDDMockito Checkstyle rule
...
This commit removes the BDDMockito Checkstyle rule, since it did not
actually enforce the use of BDDMockito.
This commit also updates static imports to use Mockito instead of
BDDMockito where appropriate (automated via the Eclipse IDE Organize
Imports clean-up task).
Closes gh-34616
2025-03-18 16:35:57 +01:00
Juergen Hoeller
760376c318
Restore check for jar root existence (now via getEntryName/getJarEntry)
...
Closes gh-34607
2025-03-17 19:20:41 +01:00
Juergen Hoeller
5b6abe4c13
Upgrade to ASM 9.8 (for early Java 25 support)
...
Closes gh-34600
2025-03-17 19:16:42 +01:00
Sébastien Deleuze
c9050607bc
Fix StringUtils#uriDecode Javadoc
...
Closes gh-34590
2025-03-13 12:57:44 +01:00
Sam Brannen
2d88f18bf1
Update Javadoc
2025-03-06 16:26:40 +01:00
Sam Brannen
15a6641677
Clean up warnings in Gradle build
2025-03-06 16:26:32 +01:00
Juergen Hoeller
63c8e7cb5d
Restore lenient matching of unresolved nested bound
...
Closes gh-34541
2025-03-06 15:44:12 +01:00
Juergen Hoeller
2472126475
Add fallback to pre-6.2.3 behavior for unresolvable generics
...
Closes gh-34535
2025-03-05 22:45:22 +01:00
Sam Brannen
0a6e666857
Ensure GenericTypeResolverTests compiles with Eclipse compiler
2025-03-05 14:07:52 +01:00
Juergen Hoeller
403362fe3c
Polishing
2025-03-04 18:44:56 +01:00
Juergen Hoeller
5ffaea7a43
Avoid JarURLConnection resource leak in AbstractFileResolvingResource.exists()
...
Closes gh-34528
2025-03-03 13:32:51 +01:00
Juergen Hoeller
559ea6c480
Defensively call isShutdown method for executor description
...
Closes gh-34514
2025-02-28 14:11:57 +01:00
Juergen Hoeller
3bb4795d43
Resolve variable bounds at outermost recursion level only
...
Closes gh-34504
2025-02-27 22:51:41 +01:00
Juergen Hoeller
06721ba6c0
Lenient fallback when cached WeakReference returns null
...
Closes gh-34423
2025-02-26 10:24:24 +01:00
Juergen Hoeller
634d1dd20b
Consistent default ClassLoader fallback in hint classes
...
Closes gh-34470
2025-02-23 15:15:25 +01:00
Juergen Hoeller
725b02a66d
Ignore entries cache if no matching root entry path found
...
Closes gh-34446
2025-02-23 14:02:57 +01:00
Sam Brannen
9e45178202
Stop referring to "Java 8" in AnnotationUtils
2025-02-13 15:59:20 +01:00
Sam Brannen
d82e70e345
Cross reference annotation search APIs in Javadoc
...
Closes gh-34421
2025-02-13 15:59:08 +01:00
Juergen Hoeller
bbb593db48
Consistently ignore non-jar files in classpath
...
Closes gh-34417
2025-02-12 19:18:30 +01:00
Juergen Hoeller
1ca941ba9a
Consistently resolve renamed type variables
...
Closes gh-34386
2025-02-10 15:51:39 +01:00
Juergen Hoeller
1a573d6e3c
Lazily retrieve TypeDescriptor annotations on demand
...
Closes gh-33948
2025-02-07 18:55:24 +01:00
rstoyanchev
ff49b0b683
Align AnnotatedMethod#equals and #hashcode
...
See gh-34375
2025-02-07 13:10:55 +00:00
Sébastien Deleuze
dba4881318
Refine the CGLIB error message with native
...
See gh-34370
2025-02-06 09:18:51 +01:00
Sébastien Deleuze
16ec08aec8
Provide a more actionable CGLIB error message with native
...
Closes gh-34370
2025-02-05 17:47:25 +01:00
Juergen Hoeller
2df8ea94e0
Clean root entry path to match jar entries format in cache
...
Closes gh-34348
2025-01-31 22:26:14 +01:00
Juergen Hoeller
ed994dcd97
Resolve bounds for type variable before emptiness check
...
Closes gh-34328
2025-01-30 15:35:14 +01:00
Juergen Hoeller
4c3b435d23
Enforce exact match for bounds of nested type variable
...
Closes gh-34300
2025-01-30 15:34:55 +01:00
Sam Brannen
34d6dd9b62
Polishing
2025-01-27 15:19:00 +01:00
Juergen Hoeller
90423a98b0
Enforce match for resolved part of unresolvable target type
...
Closes gh-34298
2025-01-21 19:15:20 +01:00
Brian Clozel
e9dc6be51c
Fix Javadoc for field reflection hints
...
Closes gh-34297
2025-01-21 17:25:15 +01:00