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.
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.
- csr for
-
JDK-8288670 Add method ClassDesc::ofInternalName
-
- Closed
-
- relates to
-
JDK-8300953 ClassDesc::ofInternalName missing @since tag
-
- Resolved
-
-
JDK-8306697 Add method to obtain String for CONSTANT_Class_info in ClassDesc
-
- Closed
-