ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Karachentsev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-8618) Support Java 10
Date Fri, 22 Jun 2018 14:38:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-8618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16520428#comment-16520428
] 

Dmitry Karachentsev commented on IGNITE-8618:
---------------------------------------------

Created related ticket: IGNITE-8859

> Support Java 10
> ---------------
>
>                 Key: IGNITE-8618
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8618
>             Project: Ignite
>          Issue Type: Task
>    Affects Versions: 2.4
>            Reporter: Anghel Botos
>            Priority: Major
>
> Please make required changes so that Ignite runs on Java 10.
> The blocking issue I encontered is related to the usage of Unsafe:
> Caused by: java.lang.RuntimeException: jdk.internal.misc.JavaNioAccess class is unavailable.
>  at org.apache.ignite.internal.util.GridUnsafe.javaNioAccessObject(GridUnsafe.java:1459)
>  at org.apache.ignite.internal.util.GridUnsafe.<clinit>(GridUnsafe.java:118)
>  ... 30 more
> Caused by: java.lang.IllegalAccessException: class org.apache.ignite.internal.util.GridUnsafe
cannot access class jdk.internal.misc.SharedSecrets (in module java.base) because module java.base
does not export jdk.internal.misc to unnamed module @754ba872
>  at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:360)
>  at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:589)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:556)
>  at org.apache.ignite.internal.util.GridUnsafe.javaNioAccessObject(GridUnsafe.java:1456)
>  ... 31 more
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message