mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8019397: javap does not show SourceDebugExtension properly
Reviewed-by: jjg
This commit is contained in:
parent
547a050fe1
commit
ba85477f84
2 changed files with 11 additions and 8 deletions
|
@ -513,7 +513,12 @@ public class AttributeWriter extends BasicWriter
|
|||
}
|
||||
|
||||
public Void visitSourceDebugExtension(SourceDebugExtension_attribute attr, Void ignore) {
|
||||
println("SourceDebugExtension: " + attr.getValue());
|
||||
println("SourceDebugExtension:");
|
||||
indent(+1);
|
||||
for (String s: attr.getValue().split("[\r\n]+")) {
|
||||
println(s);
|
||||
}
|
||||
indent(-1);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue