mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Merge branch '6.2.x'
# Conflicts: # spring-context/src/main/java/org/springframework/context/annotation/CommonAnnotationBeanPostProcessor.java # spring-test/src/main/java/org/springframework/mock/web/MockServletContext.java # spring-web/src/testFixtures/java/org/springframework/web/testfixture/servlet/MockServletContext.java
This commit is contained in:
+2
-2
@@ -145,12 +145,12 @@ public class CommonAnnotationBeanPostProcessor extends InitDestroyAnnotationBean
|
||||
private static final boolean JNDI_PRESENT = ClassUtils.isPresent(
|
||||
"javax.naming.InitialContext", CommonAnnotationBeanPostProcessor.class.getClassLoader());
|
||||
|
||||
private static final Set<Class<? extends Annotation>> resourceAnnotationTypes = CollectionUtils.newLinkedHashSet(3);
|
||||
|
||||
private static final @Nullable Class<? extends Annotation> JAKARTA_RESOURCE_TYPE;
|
||||
|
||||
private static final @Nullable Class<? extends Annotation> EJB_ANNOTATION_TYPE;
|
||||
|
||||
private static final Set<Class<? extends Annotation>> resourceAnnotationTypes = CollectionUtils.newLinkedHashSet(2);
|
||||
|
||||
static {
|
||||
JAKARTA_RESOURCE_TYPE = loadAnnotationType("jakarta.annotation.Resource");
|
||||
if (JAKARTA_RESOURCE_TYPE != null) {
|
||||
|
||||
Reference in New Issue
Block a user