Add the following public methods to the class sun.reflect.ConstantPool:
1. "public Tag getTagAt(int index)" - to get tag of the CP entry at a specified index.
2. "public String[] getNameAndTypeRefInfoAt(int index)" - to fetch name and type as an array of String of size 2 for NameAndType CP entry at a specified index.
3. "public String[] getInvokedynamicRefInfoAt(int index)" - to fetch name and type as an array of String of size 2 for InvokeDynamic CP entry at a specified index.
1. "public Tag getTagAt(int index)" - to get tag of the CP entry at a specified index.
2. "public String[] getNameAndTypeRefInfoAt(int index)" - to fetch name and type as an array of String of size 2 for NameAndType CP entry at a specified index.
3. "public String[] getInvokedynamicRefInfoAt(int index)" - to fetch name and type as an array of String of size 2 for InvokeDynamic CP entry at a specified index.
- duplicates
-
JDK-8148362 Update JVM_INTERFACE_VERSION from 4
-
- Closed
-
- relates to
-
JDK-8138708 develop tests for the rest of CP related methods in CompilerToVM
-
- Closed
-
-
JDK-8145297 Develop new tests to cover public methods of sun.reflect.ConstantPool class
-
- Closed
-