Sébastien Deleuze
f60bec986f
Add missing @Nullable annotations to LogMessage methods
...
Closes gh-30006
2 years ago
Sébastien Deleuze
6825a842b5
Support package private methods on CGLIB proxies with AOT
...
Closes gh-29582
Closes gh-29764
2 years ago
Sébastien Deleuze
9cb4c5565a
Fix proxy hint Kotlin extensions
...
Closes gh-30025
2 years ago
Sébastien Deleuze
3d8455b257
Add unit tests for CoroutinesUtils
...
Closes gh-29968
2 years ago
Sébastien Deleuze
fd38c23699
Refine CoroutinesUtils#invokeSuspendingFunction contract
...
This commit refines CoroutinesUtils#invokeSuspendingFunction in order
to clarify the behavior when used on a non suspending function, and
support usages with or without the Continuation argument.
Closes gh-30005
2 years ago
Sam Brannen
2d56505ea9
Polishing
2 years ago
Sam Brannen
2e1374b459
Update copyright headers
2 years ago
Arjen Poutsma
afd67a0deb
Fix DataBufferUtils::write AsynchronousFileChannel race condition
...
See gh-29943
2 years ago
Johnny Lim
ce3be72e7f
Polish
2 years ago
Juergen Hoeller
979118c1eb
Polishing
2 years ago
Juergen Hoeller
f87a87e29d
Consistent ordering of Resource methods
...
See gh-24651
2 years ago
Arjen Poutsma
12d4dc1bae
Polishing external contribution
...
This commit makes several changes to PR #24651 .
- Add byte[] getContentAsByteArray() on Resource.
- Remove getContentAsString() from Resource, as it relied on the default
charset which is not reliable.
- Add getContentAsString() to EncodedResource, as a charset is provided
through the constructor.
See gh-24651
2 years ago
Derrick Anderson
4da2499613
Introduce Resource::getContentAsString
...
This commit introduces the getContentAsString method to Resource,
returning the string contents of the resource.
Closes gh-24651
2 years ago
Juergen Hoeller
d7824c7831
Polishing
2 years ago
Juergen Hoeller
33b329e13a
Latest patch from ASM master
...
See gh-29910
2 years ago
Arjen Poutsma
79a1fcb099
Polishing DataBuffer::write(CharSequence, Charset)
...
See gh-29943
2 years ago
Arjen Poutsma
3e2f58cdd2
Offer restricted access to DataBuffer's ByteBuffer
...
This commit introduces DataBuffer::readableByteBuffers and
DataBuffer::writableByteBuffers, allowing restricted access to the
ByteBuffer used internally by DataBuffer implementations.
Closes gh-29943
2 years ago
Johnny Lim
431ae03447
Polish
...
Closes gh-29928
2 years ago
Juergen Hoeller
dbf360997a
Convert non-pattern ClassLoader results to FileSystemResource if possible
...
Closes gh-29934
2 years ago
Juergen Hoeller
b719a87061
Suggest AOP proxy or CGLIB_CLASS_SEPARATOR check instead of isCglibProxyClass
...
See gh-22706
2 years ago
Sébastien Deleuze
cb63164593
Refine Coroutines support in HttpServiceProxyFactory
...
Closes gh-29527
2 years ago
Donghyeon Kim
1d4bf58e8d
Support Coroutines in HttpServiceProxyFactory
...
See gh-29527
2 years ago
Sébastien Deleuze
ebca9f726f
Provide Kotlin extensions for RuntimeHints
...
To be able to register hints using for example registerType<MyClass>()
instead of registerType(MyClass::class.java).
Closes gh-29831
2 years ago
Juergen Hoeller
3a08d643ed
Upgrade to ASM master (including early support for Java 21 bytecode)
...
Closes gh-29910
2 years ago
Juergen Hoeller
7c9dca3d2e
Declare no-op close() method in order to avoid container-triggered shutdown call
...
Closes gh-29892
2 years ago
Chen Jianbin
9e735d4f0f
Normalize and optimize internals of CGLIB ParallelSorter
...
Closes gh-29516
2 years ago
Sam Brannen
64b89429cb
Update copyright headers
2 years ago
xavier-b
b7d53ac9a4
Use DataBuffer::toString instead of CharBuffer
...
This commit ensures that converting DataBuffers to a String does not
use an expensive ByteBuffer allocation.
Closes gh-29889
2 years ago
Sam Brannen
75046bbea0
Update copyright headers
2 years ago
Sam Brannen
556863d401
Polishing
2 years ago
Sébastien Deleuze
e6397c8a38
Infer reflection hints for Jackson annotation class attributes
...
Closes gh-29646
Closes gh-29386
2 years ago
Sam Brannen
fa1ef1dc85
Deprecate obsolete ConcurrentExecutorAdapter for removal in 6.1
...
Closes gh-29865
2 years ago
Sam Brannen
58872c79ee
Update copyright headers
2 years ago
Sam Brannen
24f18275dd
Stop referring to "Spring 3.x" features in documentation and code
2 years ago
Sam Brannen
0502d18e3d
Update copyright headers
2 years ago
Sam Brannen
c4c786596f
Migrate to Mockito.mock(T...) where feasible
2 years ago
Sam Brannen
64de6de725
Update copyright headers
2 years ago
Brian Clozel
5448e81021
Deprecate Base64Utils in favor of Java's Base64
...
Originally, `Base64Utils` was providing base64 encoding and decoding
utilities, bridging to commons-codecs or Java 8, if available. Since
then, only the Java 8 variant remains and Spring Framework 6 requires
now Java 17. This utility class doesn't provide additional checks or
syntactic sugar over what's in Java already.
As a result, this commit deprecates this class in favor of `Base64` and
schedules the removal of this class completely.
Closes gh-28434
2 years ago
j3graham
f7e07322ab
Simplify Base64Utils by using java.util.Base64
...
This commit simplifies the `Base64Utils` implementation by relying more
on the `Base64` methods that perform similar work.
See gh-28434
2 years ago
정준영
37217a63e1
Remove unnecessary calls to Reference::clear
...
Prior to this commit, `ConcurrentReferenceHashMap` subclasses extending
`Reference` would call `Reference::clear` right next to
`Reference::enqueue`; this is not needed as the latter calls it already.
Closes gh-28863
2 years ago
Sam Brannen
a4956dfe26
Update copyright headers
2 years ago
Sam Brannen
0415975dd1
Polish contribution and related code
2 years ago
Krzysztof Krason
afb8a0d1b1
Use new Java features (switch expressions, text blocks, new JDK methods)
...
Closes gh-29747
2 years ago
Sam Brannen
d5fb5d029b
Polish contribution
2 years ago
Vasiliy Kudriavtsev
3738a45658
Avoid wasted memory on empty maps and sets
...
This commit avoids wasted memory on empty hash maps in
MergedAnnotationReadingVisitor and empty sets in InjectionMetadata.
Closes gh-29742
2 years ago
Sam Brannen
d4623a393b
Update copyright headers
2 years ago
Sam Brannen
5c28b56823
Remove duplicated words in Javadoc
2 years ago
Sam Brannen
b5b80d0a07
Polishing
2 years ago
Carlos Belizón
5d2ca11315
Fix manipulating property sources example in Javadoc for ConfigurableEnvironment
...
The "manipulating property sources" example in the Javadoc for
`ConfigurableEnvironment` states that `MutablePropertySources`
expect a `Map<String,String>`; whereas it expects a
`Map<String,Object>`.
Closes gh-29693
2 years ago
Sam Brannen
6e08c56076
Improve Javadoc for RepeatableContainers
2 years ago