Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-8618

Support Java 10

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.4
    • None
    • None
    • None

    Description

      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

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abotos Anghel Botos
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: