You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit adapts AOT support in various modules after the RuntimeHints
and related deprecation changes.
`MemberCategory.INTROSPECT_*` hints are now removed and
`MemberCategory.*_FIELDS` are replaced with
`MemberCategory.INVOKE*_FIELDS` when invocation is needed.
Usage of `RuntimeHintsAgent` are also deprecated.
Closesgh-33847
Copy file name to clipboardexpand all lines: framework-docs/src/main/java/org/springframework/docs/core/aot/hints/testing/SampleReflectionRuntimeHintsTests.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2022 the original author or authors.
2
+
* Copyright 2002-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
Copy file name to clipboardexpand all lines: spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/AspectJAdvisorBeanRegistrationAotProcessor.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ public AspectJAdvisorContribution(Class<?> beanClass) {
Copy file name to clipboardexpand all lines: spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AspectJAdvisorBeanRegistrationAotProcessorTests.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ class AspectJAdvisorBeanRegistrationAotProcessorTests {
Copy file name to clipboardexpand all lines: spring-beans/src/main/java/org/springframework/beans/factory/annotation/AutowiredAnnotationBeanPostProcessor.java
Copy file name to clipboardexpand all lines: spring-beans/src/main/java/org/springframework/beans/factory/aot/BeanDefinitionPropertiesCodeGenerator.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -252,10 +252,10 @@ private void registerReflectionHints(RootBeanDefinition beanDefinition, Method w
252
252
// ReflectionUtils#findField searches recursively in the type hierarchy
Copy file name to clipboardexpand all lines: spring-beans/src/test/java/org/springframework/beans/factory/aot/BeanDefinitionPropertiesCodeGeneratorTests.java
Copy file name to clipboardexpand all lines: spring-beans/src/test/java/org/springframework/beans/factory/aot/BeanRegistrationsAotContributionTests.java
Copy file name to clipboardexpand all lines: spring-beans/src/test/kotlin/org/springframework/beans/factory/aot/InstanceSupplierCodeGeneratorKotlinTests.kt
+2-4
Original file line number
Diff line number
Diff line change
@@ -56,8 +56,7 @@ class InstanceSupplierCodeGeneratorKotlinTests {
Copy file name to clipboardexpand all lines: spring-context/src/main/java/org/springframework/context/annotation/CommonAnnotationBeanPostProcessor.java
Copy file name to clipboardexpand all lines: spring-context/src/main/java/org/springframework/context/aot/KotlinReflectionBeanRegistrationAotProcessor.java
Copy file name to clipboardexpand all lines: spring-context/src/main/java/org/springframework/validation/beanvalidation/BeanValidationBeanRegistrationAotProcessor.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -237,7 +237,7 @@ public AotContribution(Collection<Class<?>> validatedClasses,
Copy file name to clipboardexpand all lines: spring-context/src/test/java/org/springframework/context/annotation/AnnotationConfigApplicationContextTests.java
0 commit comments