8321248: ClassFile API ClassModel::verify is inconsistent with the rest of the API

Reviewed-by: jlahoda, mcimadamore
This commit is contained in:
Adam Sotona 2023-12-06 15:32:24 +00:00
parent 7fbfb3b74a
commit 0217b5ac8b
11 changed files with 62 additions and 50 deletions

View file

@ -277,8 +277,8 @@
* constantPoolBuilder.utf8Entry("mypackage.MyClass"));
* }
* <p>
* More complex verification of a classfile can be achieved by explicit invocation
* of {@link java.lang.classfile.ClassModel#verify}.
* More complex verification of a classfile can be achieved by invocation of
* {@link java.lang.classfile.ClassFile#verify}.
*
* <h2>Transforming classfiles</h2>
* ClassFile Processing APIs are most frequently used to combine reading and