You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Stephen Darlington (Jira)" <ji...@apache.org> on 2022/06/06 11:06:00 UTC

[jira] [Resolved] (IGNITE-8618) Support Java 10

     [ https://issues.apache.org/jira/browse/IGNITE-8618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephen Darlington resolved IGNITE-8618.
----------------------------------------
    Resolution: Won't Fix

Support for Java 17 was added in 2.13. Java 10 is old and not an LTS version.

> 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
(v8.20.7#820007)