mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8315678: Classfile API ConstantPool::entryCount and ConstantPool::entryByIndex methods are confusing
Reviewed-by: briangoetz
This commit is contained in:
parent
6d47fc6d5b
commit
ca747f09b6
40 changed files with 120 additions and 70 deletions
|
@ -83,7 +83,7 @@ public class ByteCodeTest {
|
|||
e.printStackTrace();
|
||||
}
|
||||
assert c != null;
|
||||
ConstantPoolVisitor cpv = new ConstantPoolVisitor(c, c.constantPool().entryCount());
|
||||
ConstantPoolVisitor cpv = new ConstantPoolVisitor(c, c.constantPool().size());
|
||||
Map<Integer, String> hm = cpv.getBSMMap();
|
||||
|
||||
List<String> expectedValList = tc.getExpectedArgValues();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue