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

Add new public methods to sun.reflect.ConstantPool

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • b105
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved: