You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Paul Bjorkstrand (Jira)" <ji...@apache.org> on 2021/11/30 16:48:00 UTC
[jira] [Commented] (SLING-10947) Sling Models Unit Tests do not compile with Java 11
[ https://issues.apache.org/jira/browse/SLING-10947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17451242#comment-17451242 ]
Paul Bjorkstrand commented on SLING-10947:
------------------------------------------
Having been the one to write that test, I think we can refactor it to avoid the need to use {{Unsafe}}. Lemme mull on it for the day and I'll see if I can get an MR up this evening.
> Sling Models Unit Tests do not compile with Java 11
> ---------------------------------------------------
>
> Key: SLING-10947
> URL: https://issues.apache.org/jira/browse/SLING-10947
> Project: Sling
> Issue Type: Bug
> Components: Sling Models
> Affects Versions: Models Implementation 1.4.16
> Reporter: Stefan Seifert
> Priority: Minor
> Fix For: Models Implementation 1.5.0
>
>
> due to a reference to sun.misc in https://github.com/apache/sling-org-apache-sling-models-impl/blob/a016b05184a17f3760f8594139fabc573d5bfdae/src/test/java/org/apache/sling/models/impl/AdapterFactoryTest.java#L313-L335
--
This message was sent by Atlassian Jira
(v8.20.1#820001)