Skip to content

Commit b101dcb

Browse files
dmlloydasotona
authored andcommittedJun 4, 2024
8333312: Incorrect since tags on new ClassReader and ConstantPool methods
Reviewed-by: liach, asotona
1 parent e0bab78 commit b101dcb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/java.base/share/classes/java/lang/classfile/ClassReader.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public sealed interface ClassReader extends ConstantPool
126126
* @param cls the entry type
127127
* @throws ConstantPoolException if the index is out of range of the
128128
* constant pool size, or zero, or the entry is not of the given type
129-
* @since 24
129+
* @since 23
130130
*/
131131
<T extends PoolEntry> T readEntryOrNull(int offset, Class<T> cls);
132132

‎src/java.base/share/classes/java/lang/classfile/constantpool/ConstantPool.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public sealed interface ConstantPool extends Iterable<PoolEntry>
6969
* @param cls the entry type
7070
* @throws ConstantPoolException if the index is out of range of the
7171
* constant pool, or the entry is not of the given type
72-
* @since 24
72+
* @since 23
7373
*/
7474
<T extends PoolEntry> T entryByIndex(int index, Class<T> cls);
7575

0 commit comments

Comments
 (0)
Please sign in to comment.