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

Add method ClassDesc::ofInternalName

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 20
    • None
    • core-libs
    • None
    • b16

    Description

      The symbolic constants API (`java.lang.constant`) was designed, in part, to provide bytecode parsing and generation APIs with a validated, common, symbolic form for constants in Java class files.

      There is an easy way to create a `ClassDesc` from a binary name (`ClassDesc::of`) or a field descriptor (`ClassDesc::ofDescriptor`) but not from an internal name. But, the internal name is common in low-level bytecode-manipulation code.

      There should be a `ClassDesc::ofInternalName` that creates a `ClassDesc` from an internal name.

      Attachments

        Issue Links

          Activity

            People

              asotona Adam Sotona
              briangoetz Brian Goetz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: