Skip to content

Commit f10ab67

Browse files
jansupolsenivam
authored andcommitted
Fix CDI-SE module
Signed-off-by: Jan Supol <jan.supol@oracle.com>
1 parent ca7c570 commit f10ab67

File tree

2 files changed

+7
-17
lines changed

2 files changed

+7
-17
lines changed

inject/cdi2-se/src/main/java/org/glassfish/jersey/inject/cdi/se/injector/JerseyInjectionTarget.java

+7
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,13 @@ public JerseyInjectionTarget(EnhancedAnnotatedType<T> annotatedType, BasicInject
126126
this.injector = Values.lazy((Value<JerseyInstanceInjector<T>>) () -> new JerseyInstanceInjector<>(bean, this.resolvers));
127127
}
128128

129+
@Override
130+
protected void checkDelegateInjectionPoints() {
131+
if (getAnnotatedType().getAnnotation(jakarta.decorator.Decorator.class) == null) {
132+
super.checkDelegateInjectionPoints();
133+
}
134+
}
135+
129136
@Override
130137
public void inject(T instance, CreationalContext<T> ctx) {
131138
/*

tests/e2e-inject/cdi2-se/pom.xml

-17
Original file line numberDiff line numberDiff line change
@@ -73,23 +73,6 @@
7373
<surefire.security.argline />
7474
</properties>
7575
</profile>
76-
<profile>
77-
<id>jakartification_exclude_tests</id> <!-- TODO remove after jakartification -->
78-
<activation>
79-
<jdk>[1.8,)</jdk>
80-
</activation>
81-
<build>
82-
<plugins>
83-
<plugin>
84-
<groupId>org.apache.maven.plugins</groupId>
85-
<artifactId>maven-surefire-plugin</artifactId>
86-
<configuration>
87-
<skipTests>true</skipTests>
88-
</configuration>
89-
</plugin>
90-
</plugins>
91-
</build>
92-
</profile>
9376
<profile>
9477
<id>sonar</id>
9578
<build>

0 commit comments

Comments
 (0)