8267995: Add reference to JVMS class file format in Lookup::defineHiddenClass

Reviewed-by: darcy
This commit is contained in:
Mandy Chung 2021-06-03 20:43:12 +00:00
parent 9f05c411e6
commit b95586559c

View File

@ -1933,9 +1933,9 @@ public class MethodHandles {
* of the lookup class of this {@code Lookup}.</li>
*
* <li> The purported representation in {@code bytes} must be a {@code ClassFile}
* structure of a supported major and minor version. The major and minor version
* may differ from the {@code class} file version of the lookup class of this
* {@code Lookup}.</li>
* structure (JVMS {@jvms 4.1}) of a supported major and minor version.
* The major and minor version may differ from the {@code class} file version
* of the lookup class of this {@code Lookup}.</li>
*
* <li> The value of {@code this_class} must be a valid index in the
* {@code constant_pool} table, and the entry at that index must be a valid