JDK-8181442 : Deprecate sun.misc.Unsafe.defineClass
  • Type: Bug
  • Component: core-libs
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2017-06-01
  • Updated: 2022-04-20
  • Resolved: 2017-06-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10 JDK 9
10Fixed 9 b175Fixed
Related Reports
Relates :  
Relates :  
Sub Tasks
JDK-8182409 :  
Description
Now that the MethodHandles.Lookup#defineClass(byte[]) has been added we can deprecate sun.misc.Unsafe.defineClass.

A following issue should clean up the usages within the JDK to prepare for removal of that method and that within jdk.internal.misc.Unsafe.
Comments
It is verified as "Not verified" due to this is a noreg-* issue.
10-07-2017

URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/e8f3a872e69a User: lana Date: 2017-06-21 18:31:16 +0000
21-06-2017

URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/e8f3a872e69a User: psandoz Date: 2017-06-12 21:40:34 +0000
12-06-2017