mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8007052: javap should include the descriptor for a method in verbose mode
Reviewed-by: mcimadamore
This commit is contained in:
parent
ee65d32c20
commit
a695bef890
4 changed files with 100 additions and 8 deletions
|
@ -379,8 +379,8 @@ public class ClassWriter extends BasicWriter {
|
|||
|
||||
indent(+1);
|
||||
|
||||
if (options.showInternalSignatures)
|
||||
println("Signature: " + getValue(f.descriptor));
|
||||
if (options.showDescriptors)
|
||||
println("descriptor: " + getValue(f.descriptor));
|
||||
|
||||
if (options.verbose && !options.compat)
|
||||
writeList("flags: ", flags.getFieldFlags(), "\n");
|
||||
|
@ -475,8 +475,8 @@ public class ClassWriter extends BasicWriter {
|
|||
|
||||
indent(+1);
|
||||
|
||||
if (options.showInternalSignatures) {
|
||||
println("Signature: " + getValue(m.descriptor));
|
||||
if (options.showDescriptors) {
|
||||
println("descriptor: " + getValue(m.descriptor));
|
||||
}
|
||||
|
||||
if (options.verbose && !options.compat) {
|
||||
|
@ -520,7 +520,7 @@ public class ClassWriter extends BasicWriter {
|
|||
setPendingNewline(
|
||||
options.showDisassembled ||
|
||||
options.showAllAttrs ||
|
||||
options.showInternalSignatures ||
|
||||
options.showDescriptors ||
|
||||
options.showLineAndLocalVariableTables ||
|
||||
options.verbose);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue