The VM option -XX:AllowRedefinitionToAddOrDeleteMethods 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.
> 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.
- relates to
-
JDK-8192936 RI does not follow the JVMTI RedefineClasses spec that is too strict in the definition
-
- Closed
-