--- old/src/java.instrument/share/classes/java/lang/instrument/Instrumentation.java 2019-12-05 14:11:24.601263871 +0000
+++ new/src/java.instrument/share/classes/java/lang/instrument/Instrumentation.java 2019-12-05 14:11:23.782182905 +0000
@@ -226,8 +226,8 @@
* attributes (unless explicitly prohibited).
* The retransformation must not add, remove or rename fields or methods, change the
* signatures of methods, or change inheritance.
- * The retransformation must not change the NestHost
or
- * NestMembers
attributes.
+ * The retransformation must not change the NestHost
,
+ * NestMembers
, or Record
attributes.
* These restrictions may be lifted in future versions.
* The class file bytes are not checked, verified and installed
* until after the transformations have been applied, if the resultant bytes are in
@@ -317,8 +317,8 @@
* (unless explicitly prohibited).
* The redefinition must not add, remove or rename fields or methods, change the
* signatures of methods, or change inheritance.
- * The redefinition must not change the NestHost
or
- * NestMembers
attributes.
+ * The redefinition must not change the NestHost
,
+ * NestMembers
, or Record
attributes.
* These restrictions may be lifted in future versions.
* The class file bytes are not checked, verified and installed
* until after the transformations have been applied, if the resultant bytes are in