Juergen Hoeller
9202c0ad41
Accept ajc-compiled @Aspect classes for Spring AOP proxy usage
...
Closes gh-32793
2 years ago
Juergen Hoeller
cbda46984c
Polishing
2 years ago
Stéphane Nicoll
87855e2d34
Clear ShadowMatch instances when they are no longer needed
...
This commit gathers the ShadowMatch instances that AspectJ requires in
a dedicated class that can be used to clear the instances when they are
no longer required.
As those are mainly triggered via AspectJAwareAdvisorAutoProxyCreator,
it now implements the necessary callbacks to clear the cache.
Closes gh-12334
2 years ago
Juergen Hoeller
39cd31613b
Polishing
2 years ago
Juergen Hoeller
f6089afd0e
Use ClassLoaderAwareGeneratorStrategy with UndeclaredThrowableStrategy delegate
...
See gh-32469
2 years ago
Mikaël Francoeur
561583842f
Consistent handling of undeclared checked exceptions in CGLIB proxies ( #32469 )
...
Co-authored-by: hengyunabc <hengyunabc@gmail.com>
Co-authored-by: Mikaël Francoeur <mikael.francoeur@ticketmaster.com>
2 years ago
Sébastien Deleuze
23696b7db8
Add a classpath check for AOP Coroutines/Reactive conversion
...
Closes gh-32599
2 years ago
Sébastien Deleuze
4a7c24d90f
Refine null-safety
...
See gh-32475
2 years ago
Sébastien Deleuze
290a41d398
Refine null-safety in more modules
...
This commit refines the null-safety in all remaining modules
except spring-test.
See gh-32475
2 years ago
Sébastien Deleuze
5b660da52d
Perform NullAway build-time checks in more modules
...
This commit enables null-safety build-time checks in:
- spring-jdbc
- spring-r2dbc
- spring-orm
- spring-beans
- spring-aop
See gh-32475
2 years ago
Sébastien Deleuze
1b563f8ba4
Refine null-safety in more modules
...
This commit refines the null-safety in:
- spring-jdbc
- spring-r2dbc
- spring-orm
- spring-beans
- spring-aop
See gh-32475
2 years ago
Juergen Hoeller
c531a8a705
Nullability refinements and related polishing
...
See gh-32475
2 years ago
Stéphane Nicoll
4983a802a7
Polish "Fix Javadoc"
...
See gh-32403
2 years ago
Maksim Sasnouski
abdccffa39
Fix Javadoc
...
This commit fixes various Javadoc issues across the code base.
See gh-32403
2 years ago
Juergen Hoeller
4300fec023
Restore ability to return original method at ClassUtils level as well
...
Closes gh-32365
2 years ago
Juergen Hoeller
24759a75f4
Restore ability to return original method for proxy-derived method
...
Closes gh-32365
2 years ago
Juergen Hoeller
f22a1eece4
Polishing
2 years ago
Sam Brannen
122372c580
Spring cleaning: update copyright headers
2 years ago
Sam Brannen
4bd1485ce4
Spring cleaning: use method references
2 years ago
Sam Brannen
4339c8eac2
Spring cleaning: use diamond operator
2 years ago
Sam Brannen
3fb170058f
Polish contribution
...
See gh-32294
2 years ago
Patrick Strawderman
f9fe8efb2e
Use ConcurrentHashMap.newKeySet
...
In places where a ConcurrentHashMap was used as a set by wrapping it
with Collections.newSetFromMap, switch to just using the set returned
by ConcurrentHashMap.newKeySet directly.
Closes gh-32294
2 years ago
Juergen Hoeller
902e5707a8
Revise singleton registry for lenient locking (fallback instead of deadlock)
...
Closes gh-23501
2 years ago
Sam Brannen
71dfebbfe5
Polishing
2 years ago
Sam Brannen
db535863dd
Consistently use class literals for primitive types
...
To improve consistency and avoid confusion regarding primitive types
and their wrapper types, this commit ensures that we always use class
literals for primitive types.
For example, instead of using the `Void.TYPE` constant, we now
consistently use `void.class`.
2 years ago
Sam Brannen
9eae0ba50e
Clean up warnings in build
2 years ago
Juergen Hoeller
c6121da151
Polishing
2 years ago
Juergen Hoeller
89e7174cc4
Share cached interceptors for entire Advised instance if possible
...
Closes gh-32104
2 years ago
Juergen Hoeller
00bda65848
Polishing
2 years ago
Stéphane Nicoll
0c42965fc3
Polish
2 years ago
Stéphane Nicoll
2a43cc7574
Polish
2 years ago
Juergen Hoeller
4d11307b84
Polishing
2 years ago
Juergen Hoeller
03b6e51225
Evaluate thread-bound MethodInvocation only if it matches current Method
...
Closes gh-26068
2 years ago
Stéphane Nicoll
1f2d29ee08
Polish
2 years ago
Juergen Hoeller
419e34e571
Introduce getMostSpecificMethod variant on BridgeMethodResolver
...
This is able to resolve the original method even if no bridge method has been generated at the same class hierarchy level (a known difference between the Eclipse compiler and regular javac).
Closes gh-21843
2 years ago
Juergen Hoeller
43107e7eb1
Propagate arguments for dynamic prototype-scoped advice
...
Closes gh-28407
2 years ago
Stéphane Nicoll
e22d1efdc0
Update copyright year of changed files
...
See gh-31930
2 years ago
Johnny Lim
ff8097d37c
Polish
...
See gh-31930
2 years ago
Juergen Hoeller
fdb454b9a4
Declare JdkDynamicAopProxy's ProxiedInterfacesCache as private
...
See gh-30499
2 years ago
Yanming Zhou
cfa3aa001f
Replace if with switch where feasible
...
See gh-31916
2 years ago
Yanming Zhou
4a450c6fab
Use enhanced for loop where feasible
...
See gh-31916
2 years ago
Yanming Zhou
7474af4f09
Cleanup kotlin sources
...
1. remove unused import
2. remove redundant semicolon
3. remove redundant empty constructor and SAM-constructor
4. remove unnecessary type argument
5. adjust indent
See gh-31913
2 years ago
Sébastien Deleuze
8bd8c4f627
Add support for `@Async` Kotlin function returning `Unit?`
...
Closes gh-31881
2 years ago
Juergen Hoeller
cd11219fa7
Declare proxyMetadataCache as volatile and ProxiedInterfacesCache fields as final
...
See gh-30499
2 years ago
Juergen Hoeller
44c652ec98
Introduce ProxiedInterfacesCache for JdkDynamicAopProxy
...
Closes gh-30499
2 years ago
Stéphane Nicoll
68931a2091
Upgrade copyright year of changed file
...
See gh-31847
2 years ago
achhibi
7f79ccbec0
Combine conditions for better readability and simplicity
2 years ago
Sam Brannen
c0683cd30b
Update copyright headers
2 years ago
Sam Brannen
1c58511cb2
Polishing
2 years ago
Juergen Hoeller
6bb9775309
Declare isStatic and releaseTarget as default methods on TargetSource
...
Closes gh-31820
2 years ago