Sam Brannen
c52bfc0586
Update test names to reflect status quo
...
AnnotationMetadataReadingVisitor was replaced by
SimpleAnnotationMetadata in Spring Framework 5.2.
2 years ago
Sam Brannen
a33b14338f
Polishing annotation processing internals
2 years ago
Juergen Hoeller
8973d1ad8a
Polishing
2 years ago
Johnny Lim
7f561fb53d
Polish AbstractReflectionParameterNameDiscovererKotlinTests
...
See gh-30904
2 years ago
Juergen Hoeller
c4896aca9b
Defensively register Flow bridge in delegate class
...
See gh-31000
2 years ago
Juergen Hoeller
3b093754c8
Rename getLastTaskInfo to lastTaskInfo (aligned with currentTaskName)
...
See gh-25803
2 years ago
Juergen Hoeller
8e16e5ea35
Revise StopWatch for flexible time units in nanosecond precision
...
Closes gh-25803
2 years ago
Juergen Hoeller
dedb58f7ed
Defensively register default adapters behind Reactive Streams guard
...
See gh-31000
2 years ago
Sam Brannen
f4b5738869
Polishing
2 years ago
Sam Brannen
526fc391ee
Use Class#componentType() for consistency with arrayType()
...
Java 12 introduced java.lang.Class#componentType() as a shortcut for
getComponentType().
Since we started using arrayType() in fe5560400c , this commit switches
to componentType() for consistent API usage style.
2 years ago
Sam Brannen
fe5560400c
Use Class#arrayType() where feasible
...
Closes gh-31002
2 years ago
Juergen Hoeller
6e5af9dccb
Polishing
2 years ago
Juergen Hoeller
40b33bca59
Compatibility with Flow-based SmallRye Mutiny 2 at runtime
...
Includes simple Flow.Publisher bridge without Reactor.
Closes gh-31000
2 years ago
ali dandach
6dbd684279
Optimize collection usage in CGLIB fork
...
Closes gh-30993
2 years ago
Sam Brannen
4a81814dbb
Check exception cause for @PropertySource(ignoreResourceNotFound) support
...
Prior to this commit, the ignoreResourceNotFound flag in
@PropertySource was ignored by PropertySourceProcessor if a
PropertySourceFactory threw an exception which wrapped an exception
that would otherwise be ignored -- for example, a FileNotFoundException.
To address this issue, this commit updates PropertySourceFactory so
that it catches RuntimeException and IOException and then checks if the
exception or its cause is an "ignorable" exception in terms of
ignoreResourceNotFound semantics.
Closes gh-22276
2 years ago
Sam Brannen
1451f30781
Polish PropertySourceProcessor
2 years ago
Sam Brannen
4b54ca46d3
Polish PropertySourceDescriptor
2 years ago
Sam Brannen
b80872b762
Polishing
2 years ago
Juergen Hoeller
18966d048c
Consistent equals/hashCode style (and related polishing)
2 years ago
Philippe Marschall
4922e0e439
Give spring-core access to org.jboss.vfs for VfsUtils support on WildFly
...
This commit gives spring-core access to the org.jboss.vfs module to make
VfsUtils work out of the box on WildFly 28+.
Closes gh-30973
2 years ago
Juergen Hoeller
d250a5155a
Consistent dependency declarations
2 years ago
Sam Brannen
bd23798323
Polish Javadoc for PropertySourceDescriptor
2 years ago
Sam Brannen
db8fa4d505
Polish DataSize
2 years ago
Sam Brannen
525621c4d8
Polish contribution
...
See gh-30710
2 years ago
Patrick Strawderman
01e90bbd0e
Use Long.parseLong(CharSequence,...) to avoid intermediate String creation
...
Where possible, switch to the Long.parseLong variant that accepts a
start and end index for the supplied CharSequence, thus avoiding making
unnecessary copies of the String input.
Closes gh-30710
2 years ago
Sam Brannen
170d6bfdad
Clean up warnings in tests
2 years ago
Sam Brannen
2f7046f572
Deprecate org.springframework.core.Constants utility
...
Closes gh-30851
2 years ago
Juergen Hoeller
abbea39855
Polishing
2 years ago
Juergen Hoeller
ce80637891
Add option for graceful shutdown (setTaskTerminationTimeout)
...
See gh-30956
2 years ago
Juergen Hoeller
7681200ee7
Introduce SimpleAsyncTaskScheduler (extending SimpleAsyncTaskExecutor)
...
Closes gh-30956
2 years ago
Juergen Hoeller
bbde68c49e
Polishing
2 years ago
Juergen Hoeller
c64a322e19
Polishing
2 years ago
Juergen Hoeller
2f33e77ab4
Consistent equals/hashCode style (and related polishing)
2 years ago
Juergen Hoeller
616f728afa
MethodIntrospector handles overriding bridge method correctly
...
Closes gh-30906
2 years ago
Sam Brannen
2ba9939bd8
Revise changes to DefaultGenerationContext and GeneratedClasses
...
In order to reduce the surface area of published APIs in the affected
classes, this commit:
- Reverts the changes made to GeneratedClasses in c354b1014d .
- Reverts the changes made to DefaultGenerationContext in a28ec3a0a8 .
- Makes the DefaultGenerationContext(DefaultGenerationContext, String)
constructor protected.
- Reworks the internals of TestContextGenerationContext to align with
the above changes.
See gh-30861
Closes gh-30895
Closes gh-30897
2 years ago
Juergen Hoeller
3a278cc66d
Polishing
2 years ago
Juergen Hoeller
6183f06846
Cache DependencyDescriptor per autowired constructor argument
...
Aligned with shortcut handling in AutowiredAnnotationBeanPostProcessor.
Includes minor MethodInvoker optimization for pre-resolved targetClass.
Closes gh-30883
2 years ago
Sam Brannen
a34f9fa66c
Update copyright headers
2 years ago
Sam Brannen
c354b1014d
Make GeneratedClasses#withFeatureNamePrefix(String) public
...
See gh-30861
Closes gh-30897
2 years ago
Sam Brannen
a28ec3a0a8
Make DefaultGenerationContext(<classes>,<files>,<hints>) constructor protected
...
See gh-30861
Closes gh-30895
2 years ago
Juergen Hoeller
0d8a8432d1
Upgrade to ASM master (including early support for Java 22 bytecode)
...
Closes gh-30845
2 years ago
Juergen Hoeller
75f5dac16b
Polishing
2 years ago
Juergen Hoeller
d24c131130
Expose convert(Object, TypeDescriptor) in ConversionService interface
...
Closes gh-25394
2 years ago
Juergen Hoeller
c873a597c7
Polishing
2 years ago
Sam Brannen
68f2b0ca59
Rely on auto-boxing in tests
2 years ago
Juergen Hoeller
f19433f2d8
Polishing
2 years ago
Juergen Hoeller
e2b24f3c12
Improve diagnostics for LinkageError in case of ClassLoader mismatch
...
Closes gh-25940
2 years ago
Juergen Hoeller
a102cd5f32
Tolerate isCandidateClass call with null as annotation type
...
Closes gh-30842
2 years ago
Sébastien Deleuze
b3de1b8e95
Use consistently *KotlinTests naming for Kotlin tests
...
Closes gh-30837
2 years ago
Sébastien Deleuze
fb17e283d1
Replace @link by proper KDoc class reference in tests
...
Closes gh-30836
2 years ago