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
Includes removal of ManagedBean and javax.annotation legacy support.
Includes AbstractJson(Http)MessageConverter revision for Yasson 3.0.
Includes initial Hibernate ORM 7.0 upgrade.
Closesgh-34011Closesgh-33750
Copy file name to clipboardExpand all lines: spring-beans/src/main/java/org/springframework/beans/factory/annotation/AutowiredAnnotationBeanPostProcessor.java
+2-13
Original file line number
Diff line number
Diff line change
@@ -103,8 +103,6 @@
103
103
*
104
104
* <p>Also supports the common {@link jakarta.inject.Inject @Inject} annotation,
105
105
* if available, as a direct alternative to Spring's own {@code @Autowired}.
106
-
* Additionally, it retains support for the {@code javax.inject.Inject} variant
107
-
* dating back to the original JSR-330 specification (as known from Java EE 6-8).
108
106
*
109
107
* <h3>Autowired Constructors</h3>
110
108
* <p>Only one constructor of any given bean class may declare this annotation with
@@ -189,8 +187,8 @@ public class AutowiredAnnotationBeanPostProcessor implements SmartInstantiationA
189
187
/**
190
188
* Create a new {@code AutowiredAnnotationBeanPostProcessor} for Spring's
191
189
* standard {@link Autowired @Autowired} and {@link Value @Value} annotations.
192
-
* <p>Also supports the common {@link jakarta.inject.Inject @Inject} annotation,
193
-
* if available, as well as the original {@code javax.inject.Inject} variant.
190
+
* <p>Also supports the common {@link jakarta.inject.Inject @Inject} annotation
191
+
* if available.
194
192
*/
195
193
@SuppressWarnings("unchecked")
196
194
publicAutowiredAnnotationBeanPostProcessor() {
@@ -206,15 +204,6 @@ public AutowiredAnnotationBeanPostProcessor() {
206
204
catch (ClassNotFoundExceptionex) {
207
205
// jakarta.inject API not available - simply skip.
Copy file name to clipboardExpand all lines: spring-beans/src/main/java/org/springframework/beans/factory/annotation/JakartaAnnotationsRuntimeHints.java
+1-5
Original file line number
Diff line number
Diff line change
@@ -33,14 +33,10 @@ class JakartaAnnotationsRuntimeHints implements RuntimeHintsRegistrar {
Copy file name to clipboardExpand all lines: spring-beans/src/main/java/org/springframework/beans/factory/annotation/QualifierAnnotationAutowireCandidateResolver.java
+2-11
Original file line number
Diff line number
Diff line change
@@ -47,8 +47,7 @@
47
47
* against {@link Qualifier qualifier annotations} on the field or parameter to be autowired.
48
48
* Also supports suggested expression values through a {@link Value value} annotation.
49
49
*
50
-
* <p>Also supports JSR-330's {@link jakarta.inject.Qualifier} annotation (as well as its
51
-
* pre-Jakarta {@code javax.inject.Qualifier} equivalent), if available.
50
+
* <p>Also supports JSR-330's {@link jakarta.inject.Qualifier} annotation if available.
52
51
*
53
52
* @author Mark Fisher
54
53
* @author Juergen Hoeller
@@ -69,8 +68,7 @@ public class QualifierAnnotationAutowireCandidateResolver extends GenericTypeAwa
69
68
/**
70
69
* Create a new {@code QualifierAnnotationAutowireCandidateResolver} for Spring's
71
70
* standard {@link Qualifier} annotation.
72
-
* <p>Also supports JSR-330's {@link jakarta.inject.Qualifier} annotation (as well as
73
-
* its pre-Jakarta {@code javax.inject.Qualifier} equivalent), if available.
71
+
* <p>Also supports JSR-330's {@link jakarta.inject.Qualifier} annotation if available.
Copy file name to clipboardExpand all lines: spring-beans/src/test/java/org/springframework/beans/factory/annotation/JakartaAnnotationsRuntimeHintsTests.java
Copy file name to clipboardExpand all lines: spring-context-indexer/src/test/java/org/springframework/context/index/processor/CandidateComponentsIndexerTests.java
0 commit comments