JDK-8358890 : VM option -XX:AllowRedefinitionToAddDeleteMethods should be obsoleted then expired
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 26
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-06-09
  • Updated: 2025-11-07
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 27
27Unresolved
Related Reports
Relates :  
Description
The VM option -XX:AllowRedefinitionToAddDeleteMethods was added in JDK 13 as a temporary backward compatibility flag under JDK-8192936 and was immediately marked as Deprecated. From the CSR (JDK-8221528):

> This option is deprecated right away. The plan is to keep it for a couple of releases to allow customers (tool vendors) to remove dependency on old behavior from their tools.

We are well past "a couple of releases" now so this option should be obsoleted in JDK 26 and expired in JDK 27.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/26232 Date: 2025-07-10 01:12:11 +0000
10-07-2025