Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12760

sun.misc.Cleaner has moved to a new location in OpenJDK 9

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      This is a heads-up: there are upcoming changes in JDK 9 that will require, at least, a small update to org.apache.hadoop.crypto.CryptoStreamUtils & org.apache.hadoop.io.nativeio.NativeIO.

      OpenJDK issue no. 8148117: "Move sun.misc.Cleaner to jdk.internal.ref" [1], will move the Cleaner class from sun.misc to jdk.internal.ref. There is ongoing discussion about the possibility of providing a public supported API, maybe in the JDK 9 timeframe, for releasing NIO direct buffer native memory, see the core-libs-dev mail thread [2]. At the very least CryptoStreamUtils & NativeIO [3] should be updated to have knowledge of the new location of the JDK Cleaner.

      [1] https://bugs.openjdk.java.net/browse/JDK-8148117
      [2] http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-January/038243.html
      [3] https://github.com/apache/hadoop/search?utf8=✓&q=sun.misc.Cleaner

        Attachments

        1. HADOOP-12760.00.patch
          5 kB
          Akira Ajisaka
        2. HADOOP-12760.01.patch
          10 kB
          Akira Ajisaka
        3. HADOOP-12760.02.patch
          12 kB
          Akira Ajisaka
        4. HADOOP-12760.03.patch
          11 kB
          Akira Ajisaka
        5. HADOOP-12760.04.patch
          11 kB
          Akira Ajisaka
        6. HADOOP-12760.05.patch
          11 kB
          Akira Ajisaka
        7. HADOOP-12760.06.patch
          11 kB
          Akira Ajisaka
        8. HADOOP-12760.07.patch
          11 kB
          Akira Ajisaka
        9. HADOOP-12760.08.patch
          11 kB
          Akira Ajisaka

          Issue Links

            Activity

              People

              • Assignee:
                ajisakaa Akira Ajisaka
                Reporter:
                chegar Chris Hegarty
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: