Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8243287 Removal of Unsafe::defineAnonymousClass
  3. JDK-8267178

Release Note: Removal of sun.misc.Unsafe::defineAnonymousClass

XMLWordPrintable

    • Verified

      `sun.misc.Unsafe::defineAnonymousClass` API has been removed in JDK 17.
      The API replacement is `java.lang.invoke.MethodHandles.Lookup::defineHiddenClass` and `java.lang.invoke.MethodHandles.Lookup::defineHiddenClassWithClassData`.

            mchung Mandy Chung (Inactive)
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: