changeset 58700:a53c269e9656 records

changes to the spec of ObjectMethods
author vromero
date Tue, 19 Nov 2019 18:04:39 -0500
parents 95eaf977abcd
children 39661629c7e6
files src/java.base/share/classes/java/lang/runtime/ObjectMethods.java
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/runtime/ObjectMethods.java	Tue Nov 19 18:53:43 2019 +0000
+++ b/src/java.base/share/classes/java/lang/runtime/ObjectMethods.java	Tue Nov 19 18:04:39 2019 -0500
@@ -302,7 +302,12 @@
      * Bootstrap method to generate the {@link Object#equals(Object)},
      * {@link Object#hashCode()}, and {@link Object#toString()} methods, based
      * on a description of the component names and accessor methods, for either
-     * {@code invokedynamic} call sites or dynamic constant pool entries
+     * {@code invokedynamic} call sites or dynamic constant pool entries.
+     *
+     * For more detail on the semantics of the generated methods see the specification
+     * of {@link java.lang.Record#equals(Object)}, {@link java.lang.Record#hashCode()} and
+     * {@link java.lang.Record#toString()}.
+     *
      *
      * @param lookup       Represents a lookup context with the accessibility
      *                     privileges of the caller.