diff --git a/extensions/arc/deployment/src/test/java/io/quarkus/arc/test/wrongannotations/BeanWithIncorrectInject.java b/extensions/arc/deployment/src/test/java/io/quarkus/arc/test/wrongannotations/BeanWithIncorrectInject.java index 20d8575c2fc88..219a286ec1927 100644 --- a/extensions/arc/deployment/src/test/java/io/quarkus/arc/test/wrongannotations/BeanWithIncorrectInject.java +++ b/extensions/arc/deployment/src/test/java/io/quarkus/arc/test/wrongannotations/BeanWithIncorrectInject.java @@ -15,7 +15,4 @@ public class BeanWithIncorrectInject { @com.oracle.svm.core.annotate.Inject BeanManager bm3; - @org.gradle.internal.impldep.javax.inject.Inject - BeanManager bm4; - } diff --git a/extensions/arc/deployment/src/test/java/io/quarkus/arc/test/wrongannotations/WrongInjectTest.java b/extensions/arc/deployment/src/test/java/io/quarkus/arc/test/wrongannotations/WrongInjectTest.java index 867a59c529408..24ea43750fe31 100644 --- a/extensions/arc/deployment/src/test/java/io/quarkus/arc/test/wrongannotations/WrongInjectTest.java +++ b/extensions/arc/deployment/src/test/java/io/quarkus/arc/test/wrongannotations/WrongInjectTest.java @@ -30,9 +30,6 @@ public class WrongInjectTest { assertTrue(rootCause.getMessage().contains( "@com.oracle.svm.core.annotate.Inject declared on io.quarkus.arc.test.wrongannotations.BeanWithIncorrectInject.bm3, use @jakarta.inject.Inject instead"), t.toString()); - assertTrue(rootCause.getMessage().contains( - "@org.gradle.internal.impldep.javax.inject.Inject declared on io.quarkus.arc.test.wrongannotations.BeanWithIncorrectInject.bm4, use @jakarta.inject.Inject instead"), - t.toString()); assertTrue(rootCause.getMessage().contains( "@javax.inject.Inject declared on io.quarkus.arc.test.wrongannotations.WrongInjectTest.beanManager, use @jakarta.inject.Inject instead"), t.toString());