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: 2017-07-18
  • 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 :  
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