[
https://issues.apache.org/jira/browse/SLING-10216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17302673#comment-17302673
]
Konrad Windszus commented on SLING-10216:
-----------------------------------------
But IMHO this was solved by getting rid of the pax-exam dependency. You can
check for the service annotations just as well with Java (i.e.
maven-failsafe-plugin). That is in general compatible with Java 11 as well
(even more than maven-invoker-plugin I would say, as that is using an outdated
groovy version). Any particular reason why those checks cannot be performed in
Java ITs?
> Servlets annotations ITs fail with Java 11
> ------------------------------------------
>
> Key: SLING-10216
> URL: https://issues.apache.org/jira/browse/SLING-10216
> Project: Sling
> Issue Type: Bug
> Components: Servlets
> Affects Versions: Sling Servlet Annotations 1.2.4
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
> Fix For: Sling Servlet Annotations 1.2.6
>
>
> Similarly to SLING-9980 the tests fail with
> {code}
> [INFO] org.ops4j.pax.exam.TestContainerException:
> org.osgi.framework.BundleException: Could not create bundle object.
> [INFO] Caused by: org.osgi.framework.BundleException: Could not create bundle
> object.
> [INFO] Caused by: java.lang.UnsupportedOperationException: Unable to add
> extension bundle.
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)