8315678: Classfile API ConstantPool::entryCount and ConstantPool::entryByIndex methods are confusing

Reviewed-by: briangoetz
This commit is contained in:
Adam Sotona 2023-09-14 18:30:39 +00:00
parent 6d47fc6d5b
commit ca747f09b6
40 changed files with 120 additions and 70 deletions

View file

@ -30,6 +30,7 @@ import jdk.internal.classfile.impl.AbstractPoolEntry;
/**
* Models a {@code CONSTANT_Long_info} constant in the constant pool of a
* classfile.
* @jvms 4.4.5 The CONSTANT_Long_info and CONSTANT_Double_info Structures
*/
public sealed interface LongEntry
extends AnnotationConstantValueEntry, ConstantValueEntry