mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
6983646: javap should identify why a DefaultAttribute is being used
Reviewed-by: jjg
This commit is contained in:
parent
c5e36903f7
commit
a33129c6af
3 changed files with 26 additions and 3 deletions
|
@ -114,6 +114,9 @@ public class AttributeWriter extends BasicWriter
|
|||
}
|
||||
|
||||
public Void visitDefault(DefaultAttribute attr, Void ignore) {
|
||||
if (attr.reason != null) {
|
||||
report(attr.reason);
|
||||
}
|
||||
byte[] data = attr.info;
|
||||
int i = 0;
|
||||
int j = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue