mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8035104: reorder class file attributes in javap listing
Reviewed-by: ksrini
This commit is contained in:
parent
3eb793cd06
commit
77ad0945a6
3 changed files with 74 additions and 4 deletions
|
@ -202,7 +202,6 @@ public class ClassWriter extends BasicWriter {
|
|||
if (options.verbose) {
|
||||
println();
|
||||
indent(+1);
|
||||
attrWriter.write(cf, cf.attributes, constant_pool);
|
||||
println("minor version: " + cf.minor_version);
|
||||
println("major version: " + cf.major_version);
|
||||
writeList("flags: ", flags.getClassFlags(), "\n");
|
||||
|
@ -218,6 +217,10 @@ public class ClassWriter extends BasicWriter {
|
|||
writeMethods();
|
||||
indent(-1);
|
||||
println("}");
|
||||
|
||||
if (options.verbose) {
|
||||
attrWriter.write(cf, cf.attributes, constant_pool);
|
||||
}
|
||||
}
|
||||
// where
|
||||
class JavaTypePrinter implements Type.Visitor<StringBuilder,StringBuilder> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue