Juergen Hoeller
df9be494cc
Polishing
7 years ago
Juergen Hoeller
276e8bb689
Polishing
7 years ago
Juergen Hoeller
8ab58b9114
DefaultConversionService properly converts Object[] to int[]
...
Closes gh-22410
7 years ago
Juergen Hoeller
0b0e2b16ed
Polishing
7 years ago
Juergen Hoeller
12b601fa78
Expose empty annotation array as empty AnnotationAttributes array
...
Closes gh-22405
7 years ago
Juergen Hoeller
e0283c2edf
Polishing
7 years ago
Juergen Hoeller
183f367f2c
DefaultListableBeanFactory checks for pre-converted Optional wrappers
...
Issue: SPR-17607
7 years ago
Juergen Hoeller
8685f9fea3
Consistent support for EnumSet subclasses in CollectionFactory
...
Issue: SPR-17619
(cherry picked from commit 31a24720a6 )
7 years ago
Juergen Hoeller
1b26f2fb31
ParameterNameDiscoverer may return individual null entries in an array
...
Issue: SPR-17565
(cherry picked from commit c48672c4c7c7746ef353686df3e71b637aad8052)
7 years ago
Juergen Hoeller
a9b453d79f
Polishing
7 years ago
Juergen Hoeller
340d320696
Clarified VfsResource constructor
...
Issue: SPR-17563
(cherry picked from commit 50e5bdb81356d30c274068d1a3c3051ad01556c6)
7 years ago
Juergen Hoeller
c5428e63b4
NettyDataBufferFactory.join returns single-element buffer as-is
...
Issue: SPR-17560
(cherry picked from commit d5dab129097f98ed3148473422eb706c20fd10c9)
7 years ago
Juergen Hoeller
d175d280a0
Backported decoder optimizations and related polishing
...
Includes downgrade to Netty 4.1.31 for StringDecoderTests.
7 years ago
Sam Brannen
f0e69e06b7
Ensure that MethodParameter.findParameterIndex() is thread-safe
...
Prior to this commit, parallel invocations of
MethodParameter.findParameterIndex() (invoked indirectly via
SynthesizingMethodParameter.forParameter() and
MethodParameter.forParameter()) could intermittently lead to an
IllegalArgumentException being thrown due to a race condition in the
internal implementation of the JDK's
java.lang.reflect.Executable.getParameters() method.
This commit addresses this issue by introducing a fallback for-loop
that iterates over the candidate parameters a second time using
equality checks instead of identity checks.
Issue: SPR-17534
(cherry-picked from commit 81fde5ec4103e3db28bf79073691938a4743b121)
8 years ago
Juergen Hoeller
39925c334d
Polishing
8 years ago
Juergen Hoeller
e2b74e6943
Polishing
8 years ago
Juergen Hoeller
35da9f1ddf
FastByteArrayOutputStream.read byte-to-int conversion
...
Issue: SPR-17492
8 years ago
Juergen Hoeller
23d1049363
CachingMetadataReaderFactory releases shared cache Map on clearCache()
...
LocalResourceCache properly initializes cacheLimit on construction.
Issue: SPR-17527
(cherry picked from commit 262c702da4588e5f467fd24774357113379666b2)
8 years ago
Rossen Stoyanchev
f73a5222f1
Ensure client response is drained with onStatus hook
...
Issue: SPR-17473
8 years ago
Juergen Hoeller
8a2262e210
Up-to-date version and link in ASM/CGLIB/Objenesis package javadoc
...
Issue: SPR-14514
Issue: SPR-15600
8 years ago
Juergen Hoeller
c834790135
Deprecate ReflectionUtils.invokeJdbcMethod (for removal in 5.2)
...
Includes deprecation of NON_BRIDGED_METHODS constant.
Issue: SPR-17464
(cherry picked from commit 0a7dcf14f97913aa9de540d003cb3d9d6403b1e4)
8 years ago
Juergen Hoeller
d5f725d503
Polishing
...
(cherry picked from commit ffa032e78f )
8 years ago
Juergen Hoeller
110796375b
SpringFactoriesLoader tolerates whitespace around class names
...
Issue: SPR-17413
(cherry picked from commit dd2ce20687f14f1a501c54ef75eeb56d1bd501f5)
8 years ago
Juergen Hoeller
b87ce596a0
Avoid stacktrace if root resource is not resolvable in file system
...
Issue: SPR-17417
(cherry picked from commit 83a54dba7e6c279e85e9e57b2bb979e686002acc)
8 years ago
Sebastien Deleuze
73db2081cd
Leverage Java reflection for Kotlin enums
...
As discussed in KT-25165, from a Kotlin POV enum constructors
have no parameter, this is an "implementation detail"
required for running on the JVM, so it seems relevant to skip
Kotlin reflection in that case and just delegate to Java
reflection.
Issue: SPR-16931
8 years ago
Juergen Hoeller
a45bce1369
Polishing
8 years ago
Juergen Hoeller
8d1499e168
Comparators.nullsLow creates right kind of NullSafeComparator
...
Issue: SPR-17357
8 years ago
Juergen Hoeller
ff0afcff06
Resource.lastModified() propagates 0 value if target resource exists
...
Includes consistent use of getContentLengthLong over getContentLength.
Issue: SPR-17320
8 years ago
Juergen Hoeller
53430760f3
Consistent exposure of empty attribute arrays in AnnotationMetadata
...
Issue: SPR-17347
(cherry picked from commit 83909e6e1e1c70090ebdbb791bf9a8a21e901430)
8 years ago
Juergen Hoeller
d90d65bad2
Polishing
8 years ago
Juergen Hoeller
702d533e6f
Polishing
8 years ago
Juergen Hoeller
1535f985be
Polishing
8 years ago
Arjen Poutsma
952315c333
DataBufferUtils does not release DataBuffer on error cases
...
This commit makes sure that in DataBufferUtils.write, any received data
buffers are returned as part of the returned flux, even when an error
occurs or is received.
Issue: SPR-16782
(cherry picked from commit 1a0522b8057dead47c90404d629c7597d0787dce)
8 years ago
Arjen Poutsma
a00607348c
Fixed DataBufferUtils.join leak for error in source
...
This commit fixes an issue where DataBufferUtils.join() would not
release databuffers that preceded an error signal.
Issue: SPR-17025
(cherry picked from commit 196c0adf47868467ec9242daea81ce7e0246a152)
8 years ago
Juergen Hoeller
1d58fac54d
UriComponentsBuilder copies query params through MultiValueMap.addAll
...
Issue: SPR-17256
8 years ago
Juergen Hoeller
7653762240
XMLEventReader.getElementText() properly checks for start element
...
Issue: SPR-17233
(cherry picked from commit 84ec382201b1f786660219d5e5e3c51a2d0bcfae)
8 years ago
Sebastien Deleuze
89fca1b949
Fix Kotlin inner class nested configuration handling
...
Before this commit, Kotlin inner class nested configuration
handling thrown an IndexOutOfBoundsException due to bogus filtering
of its constructor parameter reference to an instance of the outer
class.
This commit keep constructor parameter of type INSTANCE in order to
throw a more meaningful NoSuchBeanDefinitionException.
Issue: SPR-17222
8 years ago
Juergen Hoeller
68cf18f4a3
SimpleAliasRegistry.hasAlias properly resolves multiple chained aliases
...
Issue: SPR-17191
(cherry picked from commit 2ac23badee02697c5eb87c46f955387b32a0d581)
8 years ago
Juergen Hoeller
6b3dd0779f
Consistently skip unnecessary search on superclasses and empty elements
...
Issue: SPR-16933
8 years ago
Juergen Hoeller
7894ecf445
Polishing
8 years ago
Juergen Hoeller
0e3f23eeb7
Polishing
8 years ago
Juergen Hoeller
1d8e5f4d85
Revert to Map entry iteration for less expensive static initialization
...
Issue: SPR-17169
(cherry picked from commit df51ff03862c6a299f2ff243828ec23608899311)
8 years ago
Juergen Hoeller
a159dd5993
AbstractAspectJAdvisorFactory uses AnnotationUtils.getValue
8 years ago
Juergen Hoeller
f3184a0878
Polishing
8 years ago
Juergen Hoeller
688ef9ad46
Find annotations on implemented generic superclass methods as well
...
Includes Java 8 getDeclaredAnnotation shortcut for lookup on Class.
Issue: SPR-17146
(cherry picked from commit 4521a79b2dfd4802bcbe2fba4c841510b5f0da54)
8 years ago
Kazuhiro Sera
a80f4caf37
Fix typos detected by github.com/client9/misspell
...
(cherry picked from commit be211ceeadcc5b524e1835348f38ea0c22053bd1)
8 years ago
Juergen Hoeller
a45ef35b38
Pruning of outdated JDK 6/7 references (plus related polishing)
...
(cherry picked from commit b325c74216fd9564a36602158fa1269e2e832874)
8 years ago
Juergen Hoeller
4042c1d578
Polishing
8 years ago
Juergen Hoeller
34052945de
Avoid unnecessary annotation introspection on framework methods
...
Issue: SPR-16933
8 years ago
Rossen Stoyanchev
6562e3047f
takeUntilByteCount actually uses takeUntil
...
Issue: SPR-17188
8 years ago