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

Add new public methods to sun.reflect.ConstantPool

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • hotspot
    • None
    • b105
    • generic
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: