-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b25
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
does not apply
A DESCRIPTION OF THE PROBLEM :
The attributName() method currently returns a String with the attribute name. I believe it should return the actual Utf8Entry in the class file. The stringValue() method would then return the attribute name. This is the way almost all the subinterfaces of Attribute work. Without the Utf8Entry information it is very difficult to write a class file dumper that shows the detailed contents of the class file as well as the symbolic information.
does not apply
A DESCRIPTION OF THE PROBLEM :
The attributName() method currently returns a String with the attribute name. I believe it should return the actual Utf8Entry in the class file. The stringValue() method would then return the attribute name. This is the way almost all the subinterfaces of Attribute work. Without the Utf8Entry information it is very difficult to write a class file dumper that shows the detailed contents of the class file as well as the symbolic information.
- csr for
-
JDK-8344203 java.lang.classfile.Attribute attributeName() method should return Utf8Entry
-
- Closed
-
- links to
-
Commit(master) openjdk/jdk/ba393219
-
Review(master) openjdk/jdk/22107