mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-15 10:23:28 +00:00
8333312: Incorrect since tags on new ClassReader and ConstantPool methods
Reviewed-by: liach, asotona
This commit is contained in:
parent
e0bab78640
commit
b101dcb609
@ -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);
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user