8333312: Incorrect since tags on new ClassReader and ConstantPool methods

Reviewed-by: liach, asotona
This commit is contained in:
David M. Lloyd 2024-06-04 16:57:59 +00:00 committed by Adam Sotona
parent e0bab78640
commit b101dcb609
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ public sealed interface ClassReader extends ConstantPool
* @param cls the entry type
* @throws ConstantPoolException if the index is out of range of the
* constant pool size, or zero, or the entry is not of the given type
* @since 24
* @since 23
*/
<T extends PoolEntry> T readEntryOrNull(int offset, Class<T> cls);

View File

@ -69,7 +69,7 @@ public sealed interface ConstantPool extends Iterable<PoolEntry>
* @param cls the entry type
* @throws ConstantPoolException if the index is out of range of the
* constant pool, or the entry is not of the given type
* @since 24
* @since 23
*/
<T extends PoolEntry> T entryByIndex(int index, Class<T> cls);