Stephane Nicoll
6ba31acf35
Polish "Add support for Async invocation in a native image"
...
This registers the hints if the annotation post processor is active,
rather than statically.
See gh-28710
2 years ago
Stephane Nicoll
0229cc45a0
Add support for Async invocation in a native image
...
This commit adds necessary hints so that Async-annotated method can be
discovered in a native image.
Closes gh-28710
2 years ago
Stephane Nicoll
3086d90e7d
Add the necessary hints for use of Cglib proxies
...
This commit expands GeneratedClassHandler to allow invocation of
declared fields and methods. Generated proxies have a number of
internal fields and methods that are invoked via reflection.
See gh-28954
2 years ago
Stephane Nicoll
7c2453c373
Integrate class proxy generation in AOT processing
...
This commit updates ApplicationContextAotGenerator to register a
handler that process Cglib generated classes. The handler registers
such classes to the GeneratedFiles and provide a hint so that it
can be instantiated using reflection.
Closes gh-28954
2 years ago
Juergen Hoeller
d6f73994c2
Fix malformed HTML in CGLIB javadoc
...
See gh-28955
2 years ago
Juergen Hoeller
7fa5b8dcb5
Turn CGLIB patch into full CGLIB fork in spring-core
...
Closes gh-28955
2 years ago
Sam Brannen
a052f9a34e
Polishing
2 years ago
Sam Brannen
7631a09405
Do not register SynthesizedAnnotation proxy for @AliasFor
...
Closes gh-28953
2 years ago
Sam Brannen
0207f3a55f
Polishing
2 years ago
Sébastien Deleuze
5c68a278b5
Add SchedulerFactoryBean runtime hints
...
Also require oracle/graalvm-reachability-metadata#19 .
Closes gh-28725
2 years ago
Stephane Nicoll
6ad7b85c27
Merge branch '5.3.x'
2 years ago
Stephane Nicoll
dfc06eda7a
Upgrade Java 8 version in CI image and .sdkmanrc
2 years ago
Stephane Nicoll
d1abdff89c
Merge branch '5.3.x'
2 years ago
Stephane Nicoll
f0aa6ebed6
Merge pull request #28949 from izeye
...
* pr/28949:
Polish "Add missing TreeSet to CollectionFactory.createCollection()"
Add missing TreeSet to CollectionFactory.createCollection()
Closes gh-28949
2 years ago
Stephane Nicoll
6806aaf162
Polish "Add missing TreeSet to CollectionFactory.createCollection()"
...
See gh-28949
2 years ago
Johnny Lim
ccec75c98d
Add missing TreeSet to CollectionFactory.createCollection()
...
See gh-28949
2 years ago
Juergen Hoeller
293e296d59
Reflectively invoke getIdentifier method (for compatibility with Hibernate 6)
...
Closes gh-28855
2 years ago
Juergen Hoeller
38c9e7f629
Polishing
2 years ago
Juergen Hoeller
b31a15851e
Support for pre-generated CGLIB proxy classes (in AOT scenarios)
...
Includes runtime storing of generated classes to a directory specified by the "cglib.generatedClasses" system property. Avoids lazy CGLIB fast-class generation and replaces generated Enhancer and MethodWrapper key classes with equivalent record types. Introduces support for early type determination in InstantiationStrategy, AopProxy and SmartInstantiationAwareBeanPostProcessor - in order to trigger CGLIB class generation in refreshForAotProcessing (through early determineBeanType calls for bean definitions).
Closes gh-28115
2 years ago
Stephane Nicoll
496b1879ab
Merge branch '5.3.x'
2 years ago
Stephane Nicoll
22029b4487
Merge pull request #28944 from wilkinsona
...
* pr/28944:
Correct description of @RequestParam with WebFlux
Closes gh-28944
2 years ago
Andy Wilkinson
d6b60046ce
Correct description of @RequestParam with WebFlux
...
See gh-28944
2 years ago
Stephane Nicoll
005713066c
Freeze configuration before invoking MBDPP instances
...
This commit updates refresh for AOT processing so that the configuration
is frozen before invoking MergedBeanDefinitionPostProcessor instances.
This makes sure that post-processed MergedBeanDefinitions are kept in
cache and not lost if a component attempts to clear the metadata cache.
Closes gh-28941
2 years ago
Stephane Nicoll
0a9db7cc47
Revert "Make sure inferred destroy method is set on the original bean definition"
...
This reverts commit 2e1538a20b
.
2 years ago
Stephane Nicoll
cd2b7afc87
Avoid reflection on OptionalValidatorFactoryBean
...
Closes gh-28939
2 years ago
Stephane Nicoll
2e1538a20b
Make sure inferred destroy method is set on the original bean definition
...
This commit updates InitDestroyAnnotationBeanPostProcessor to mutate
the original bean definition rather than the merged one that can be
recreated without it if the cache gets stale.
See gh-28215
2 years ago
Stephane Nicoll
3c76437868
Update RegisteredBean to take a ConfigurableListableBeanFactory
...
This allows to have access to `getBeanDefinition` if the original
bean definition needs to be retrieved.
See gh-28936
2 years ago
Stephane Nicoll
832889d801
Polish
2 years ago
Sam Brannen
a875db4692
Document limitations of @CompileWithTargetClassAccess
...
Specifically, @CompileWithTargetClassAccess cannot be used with
@RepeatedTest and @ParameterizedTest methods since the
CompileWithTargetClassAccessExtension cannot support @TestTemplate
invocations.
2 years ago
Sam Brannen
1e8bc1b0fb
Polishing
2 years ago
Sam Brannen
7d364bba72
Clean up warnings
2 years ago
Sam Brannen
0944c9a99c
Remove `throws IOException` from DefaultGenerationContext.writeGeneratedContent()
...
The `throws` declaration is unnecessary since writeGeneratedContent()
will never throw an IOException.
2 years ago
Sam Brannen
a466179bc8
Polish and sync TestGenerationContext implementations
...
- new constructor for providing InMemoryGeneratedFiles
- writeGeneratedContent() now throws UncheckedIOException
2 years ago
Sam Brannen
1de0207874
Rename tests due to change in gh-28927
2 years ago
Sam Brannen
853407b6f8
Polishing
2 years ago
Stephane Nicoll
2cc4486e3d
Rename ApplicationContextAotGenerator entry point
...
Closes gh-28927
2 years ago
Stephane Nicoll
2475523e19
Merge branch '5.3.x'
2 years ago
Stephane Nicoll
6685e78c36
Deprecate NestedIOException
...
NestedIOException has been removed in Spring Framework 6 and this commit
marks it as deprecated in 5.x. Users that were relying on this exception
should use IOException directly.
Closes gh-28929
2 years ago
Stephane Nicoll
9264d97880
Restore GeneratedTypeReference
...
Closes gh-28926
2 years ago
Vedran Pavic
7e719fe3f8
Use Jakarta EE XML namespaces instead of Java EE
...
Closes gh-28903
2 years ago
Sam Brannen
31503df415
Fix Javadoc link syntax plus polishing
2 years ago
Johnny Lim
9fea0be33e
Upgrade to Dokka Gradle plugin 1.7.10
...
Closes gh-28912
2 years ago
Brian Clozel
fea29ea4cd
Upgrade Gradle plugins
2 years ago
Brian Clozel
9e71889ed9
Merge branch '5.3.x'
2 years ago
Chanhyeong Cho
8685b2f5bf
Fix broken kdoc-api links in kotlin.adoc
...
Fixes gh-28908
2 years ago
Sam Brannen
843221b448
Fix broken Javadoc links
...
See gh-28906
2 years ago
Stephane Nicoll
6c81ac9454
Merge branch '5.3.x'
2 years ago
Stephane Nicoll
4af225405c
Upgrade Java 18 version in CI image
2 years ago
Stephane Nicoll
51e594ae81
Upgrade Java 17 version in CI image
2 years ago
Stephane Nicoll
c2554b2b27
Upgrade Java 11 version in CI image
2 years ago