8007052: javap should include the descriptor for a method in verbose mode

Reviewed-by: mcimadamore
This commit is contained in:
Jonathan Gibbons 2013-02-15 08:28:42 -08:00
parent ee65d32c20
commit a695bef890
4 changed files with 100 additions and 8 deletions

View file

@ -140,6 +140,7 @@ public class JavapTask implements DisassemblerTool.DisassemblerTask, Messages {
new Option(false, "-v", "-verbose", "-all") {
void process(JavapTask task, String opt, String arg) {
task.options.verbose = true;
task.options.showDescriptors = true;
task.options.showFlags = true;
task.options.showAllAttrs = true;
}
@ -190,7 +191,7 @@ public class JavapTask implements DisassemblerTool.DisassemblerTask, Messages {
new Option(false, "-s") {
void process(JavapTask task, String opt, String arg) {
task.options.showInternalSignatures = true;
task.options.showDescriptors = true;
}
},