Juergen Hoeller
8516de62e3
FastByteArrayInputStream consistently returns -1 when no data available
...
Issue: SPR-13858
(cherry picked from commit 5d4547d )
10 years ago
Juergen Hoeller
342d760f70
Polishing
...
(cherry picked from commit 27c2e8c )
10 years ago
Juergen Hoeller
acecda7153
Avoid sensitive Proxy.getInvocationHandler call in synthesizeAnnotation
...
Issue: SPR-13829
(cherry picked from commit aecb8b6 )
10 years ago
Juergen Hoeller
35b8696523
Polishing
10 years ago
Juergen Hoeller
935d714333
SimpleNamespaceContext implements all subtleties of the NamespaceContext contract
...
Issue: SPR-13713
(cherry picked from commit f8860e2 )
10 years ago
Juergen Hoeller
6f2f3595e9
Backported import and declaration cleanup
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
Juergen Hoeller
c3dbaed4ce
AnnotationUtils caches findAnnotation results in pre-synthesized form
...
Issue: SPR-13621
10 years ago
Juergen Hoeller
4dc31667d4
AnnotationUtils defines synthesized proxy class in original annotation's ClassLoader
...
Issue: SPR-13634
10 years ago
Juergen Hoeller
cca037a74d
Polishing
10 years ago
Stephane Nicoll
0579e61a65
Add API to register collection converters
...
Previously, the only way to add the collection converters to a registry
was to add *all* default converters. A new "addCollectionConverters"
public method is now available to only register them.
Issue: SPR-13618
10 years ago
Juergen Hoeller
91b3caf238
Fixed visibility of 4.2's additional default converters
...
Issue: SPR-12175
Issue: SPR-13020
10 years ago
Juergen Hoeller
400749667a
Polishing
10 years ago
Sam Brannen
c2bc2b27ea
Suppress varargs warnings when compiling tests w/ Gradle
10 years ago
Juergen Hoeller
1c3a668370
AbstractFileResolvingResource uses extractArchiveURL for last-modified check
...
Issue: SPR-13393
(cherry picked from commit 302a069 )
10 years ago
Juergen Hoeller
155bbf5057
ResourceUtils supports Tomcat's "war:jar:" URL format
...
Issue: SPR-13393
10 years ago
Juergen Hoeller
66177dfd8c
StreamUtils.emptyInput() for consistent empty InputStream exposure
...
Issue: SPR-13563
10 years ago
Juergen Hoeller
21e0e27fcb
Removed superfluous ObjectStreamException declaration
10 years ago
Sam Brannen
1a227da19e
Polish AnnotatedElementUtilsTests
10 years ago