hg: jdk/sandbox: 8192936: RI does not follow the JVMTI RedefineClasses spec that is too strict in the definition

chris.hegarty at oracle.com chris.hegarty at oracle.com
Sat Apr 20 05:00:21 UTC 2019


Changeset: 3452d108d06d
Author:    coleenp
Date:      2019-04-19 21:49 -0700
URL:       http://hg.openjdk.java.net/jdk/sandbox/rev/3452d108d06d

8192936: RI does not follow the JVMTI RedefineClasses spec that is too strict in the definition
Summary: Introduce new flag fo compatibility: -XX:AllowRedefinitionToAddOrDeleteMethods
Reviewed-by: jcbeyler, sspitsyn

! src/hotspot/share/prims/jvmtiRedefineClasses.cpp
! src/hotspot/share/runtime/arguments.cpp
! src/hotspot/share/runtime/globals.hpp
! test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineAddLambdaExpression.java
! test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineDeleteJmethod.java
! test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineSubtractLambdaExpression.java
+ test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/TestAddDeleteMethods.java
! test/jdk/com/sun/jdi/RedefineAddPrivateMethod.java
! test/jdk/com/sun/jdi/lib/jdb/Debuggee.java
! test/jdk/com/sun/jdi/lib/jdb/JdbTest.java
! test/jdk/java/lang/instrument/RedefineAddDeleteMethod/DeleteMethodHandle/MethodHandleDeletedMethod.java
! test/jdk/java/lang/instrument/RedefineMethodAddInvoke.sh
! test/jdk/java/lang/instrument/RedefineMethodDelInvoke.sh
! test/jdk/java/lang/instrument/RedefineMethodInBacktrace.sh



More information about the jdk-sandbox-changes mailing list