Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8141615

Add new public methods to sun.reflect.ConstantPool

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b105
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kshefov Konstantin Shefov
                Reporter:
                kshefov Konstantin Shefov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: