[
https://issues.apache.org/jira/browse/SLING-10216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17302640#comment-17302640
]
Bertrand Delacretaz commented on SLING-10216:
---------------------------------------------
bq. How is the Java11 compatibility related to the switch to groovy based ITs?
The
[verify.groovy|https://github.com/apache/sling-org-apache-sling-servlets-annotations/blob/master/src/it/annotations-it/verify.groovy]
script is called by {{maven-invoker-plugin}}, so I'd say any Java 11 issues
would be that plugin's concern?
Anyway, I haven't seen any warnings related to this way of testing in Java 11.
There's a "illegal reflective access operation has occurred" warning in the
build but that's caused by {{ianal-maven-plugin}}, unrelated.
> 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)