Juergen Hoeller
74c07d3085
Removed JavaVersion checks from spring-core tests (for JDK 9 compatibility)
...
Issue: SPR-13344
10 years ago
Stephane Nicoll
2fc2c29e9a
Update copyright header
10 years ago
Rossen Stoyanchev
3dae3fd8a9
Refine ListenableFutureCallback policy for exceptions
...
This change updates all cases where callbacks are invoked to catch and
suppress errors (since there is not match to do with and error from
a callback be it success or failure).
Also updated is the contract itself to clarify this and emphasize the
callbacks are really notifications for the outcome of the
ListenableFuture not the callbacks themselves.
Issue: SPR-13785
10 years ago
Juergen Hoeller
5d4547d343
FastByteArrayInputStream consistently returns -1 when no data available
...
Issue: SPR-13858
10 years ago
Juergen Hoeller
8968f09c59
Polishing
10 years ago
Juergen Hoeller
27c2e8c80d
Polishing
10 years ago
Juergen Hoeller
aecb8b6c6b
Avoid sensitive Proxy.getInvocationHandler call in synthesizeAnnotation
...
Issue: SPR-13829
10 years ago
Juergen Hoeller
4f955932a7
@Value can be used as aliased meta-annotation
...
Issue: SPR-13603
10 years ago
Juergen Hoeller
3242ad8fc4
@AliasFor attribute name defaults to declaring attribute
...
Issue: SPR-13828
10 years ago
Juergen Hoeller
d1551bdcec
Polishing
10 years ago
Juergen Hoeller
470ea977e1
Consistent validation of annotated methods behind AOP proxies
...
Issue: SPR-13816
10 years ago
Juergen Hoeller
95d62658ff
SystemEnvironmentPropertySource replaces hyphens in property names as well
...
Issue: SPR-13594
10 years ago
Juergen Hoeller
cf20308134
SerializationDelegate as convenient Serializer/Deserializer combo
...
Issue: SPR-13758
10 years ago
Juergen Hoeller
f8860e2938
SimpleNamespaceContext implements all subtleties of the NamespaceContext contract
...
Issue: SPR-13713
10 years ago
Juergen Hoeller
64bd8b7f34
Polishing
10 years ago
Juergen Hoeller
387c8a8181
Differentiate between TypeDescriptors with same annotations but different attributes
...
Issue: SPR-13714
10 years ago
Juergen Hoeller
08748ecaa4
PathMatchingResourcePatternResolver evaluates classpath manifest entries as well
...
Issue: SPR-13685
10 years ago
Sam Brannen
5b3edcd9f9
Spring Cleaning in December
...
- Delete unused imports
- Delete unused code
- Clean up warnings
10 years ago
Juergen Hoeller
a36c0a50e6
Defensive error reporting when StandardAnnotationMetadata introspects declared methods
...
Issue: SPR-13791
10 years ago
Juergen Hoeller
0968e47b04
Polishing
10 years ago
Gary Russell
14fc6c2a99
SPR-13784: Base64Utils: URL/File Safe Alphabet
...
JIRA: https://jira.spring.io/browse/SPR-13784
JDK8 and Apache Commons Codec support the RFC 4648
"URL and Filename Safe" Base64 alphabet.
Add methods to `Base64Utils` to support this feature.
10 years ago
Juergen Hoeller
fdc14a16ee
AbstractApplicationContext clears ReflectionUtils cache as well
...
Issue: SPR-13783
10 years ago
Juergen Hoeller
d0814703c4
AnnotationUtils.synthesizeAnnotation explicitly checks whether SynthesizedAnnotation is exposable
...
Issue: SPR-13696
10 years ago
Juergen Hoeller
ee35b5ed07
Polishing
10 years ago
Juergen Hoeller
08b6daf1eb
Polishing
10 years ago
Juergen Hoeller
c909789ea9
Avoid mismatch between cached top-level versus nested parameter type
...
Issue: SPR-13755
10 years ago
Juergen Hoeller
44651fdf7c
ObjectToObjectConverter caches detected methods/constructors
...
This commit reworks the arrangement to a centralized cache, avoiding any extra reflection attempts if a cache entry is known already. In the course of this, it also enforces toXXX methods to be declared as non-static now (which is the only sensible arrangement anyway).
Issue: SPR-13703
10 years ago
Juergen Hoeller
38c21ee6bf
Class identity comparisons wherever possible
...
Issue: SPR-12926
10 years ago
Juergen Hoeller
4755467cca
Polishing
10 years ago
Juergen Hoeller
3234d9ede3
ObjectToObjectConverter caches detected methods/constructors
...
Includes polishing of related conversion exception messages.
Issue: SPR-13703
10 years ago
Juergen Hoeller
a0747c2148
Consistent bean type checking for endpoint handlers
...
Issue: SPR-13725
10 years ago
Juergen Hoeller
20a286b4d6
ASM ClassWriter uses application ClassLoader for its getCommonSuperClass check
...
Issue: SPR-13695
10 years ago
Juergen Hoeller
0524f3a474
Class identity comparisons wherever possible
...
Issue: SPR-12926
10 years ago
Juergen Hoeller
1cb6069734
Polishing
10 years ago
Juergen Hoeller
4b2ce60d65
Polishing
10 years ago
Juergen Hoeller
2bf8c0bc42
Polishing
10 years ago
Phillip Webb
e6b1f0a139
Use constants when caching empty arrays
...
Reduce cache memory consumption by using a single constant for empty
arrays.
10 years ago
Juergen Hoeller
760bc719f2
Polishing
10 years ago
Juergen Hoeller
bc7bcab578
Consistent method selection for listeners and endpoint mappings
...
Issue: SPR-13654
10 years ago
Sam Brannen
5b06150096
Deprecate correct method in AnnotatedElementUtils
10 years ago
Juergen Hoeller
59b6600763
Class identity comparisons wherever possible
...
Issue: SPR-12926
10 years ago
Juergen Hoeller
ea2843ecc0
MethodInvokeTypeProvider lazily invokes target method (avoiding deserialization exploits)
...
Issue: SPR-13656
10 years ago
Juergen Hoeller
c88877f1c4
Polishing
10 years ago
Juergen Hoeller
9683da52b2
Avoid annotation synthesizing for getAnnotationAttributes retrieval
...
Issue: SPR-13621
10 years ago
Juergen Hoeller
2ba5cb2734
Polishing
10 years ago
Juergen Hoeller
e27df06f91
AnnotatedElementUtils consistently operates on actual annotation type if available (for performance reasons)
...
The goal is to avoid String name comparisons in favor of annotation type identity checks wherever possible. Also, we avoid double getDeclaredAnnotations/getAnnotations checks on anything other than Classes now, since we'd just get the same result in a fresh array.
Issue: SPR-13621
10 years ago
Juergen Hoeller
e35855f9b5
Avoid expensive annotation retrieval algorithm if no annotations present in the first place
...
Issue: SPR-13621
10 years ago
Phillip Webb
1733d0111d
Add shortcuts for elements with no annotations
...
Improve the performance of the `getMergedAnnotationAttributes` and
`isAnnotated` methods in `AnnotatedElementUtils` by returning
immediately when the element had no annotations.
Issue: SPR-13621
10 years ago
Juergen Hoeller
ce64761069
Optimized equals/hashCode handling in ResolvableType
...
Issue: SPR-13621
10 years ago
Juergen Hoeller
23c8f712c4
Polishing
10 years ago