Skip to content

Commit b955865

Browse files
author
Mandy Chung
committed
8267995: Add reference to JVMS class file format in Lookup::defineHiddenClass
Reviewed-by: darcy
1 parent 9f05c41 commit b955865

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/java.base/share/classes/java/lang/invoke/MethodHandles.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1933,9 +1933,9 @@ static int optionsToFlag(Set<ClassOption> options) {
19331933
* of the lookup class of this {@code Lookup}.</li>
19341934
*
19351935
* <li> The purported representation in {@code bytes} must be a {@code ClassFile}
1936-
* structure of a supported major and minor version. The major and minor version
1937-
* may differ from the {@code class} file version of the lookup class of this
1938-
* {@code Lookup}.</li>
1936+
* structure (JVMS {@jvms 4.1}) of a supported major and minor version.
1937+
* The major and minor version may differ from the {@code class} file version
1938+
* of the lookup class of this {@code Lookup}.</li>
19391939
*
19401940
* <li> The value of {@code this_class} must be a valid index in the
19411941
* {@code constant_pool} table, and the entry at that index must be a valid

0 commit comments

Comments
 (0)