6983646: javap should identify why a DefaultAttribute is being used

Reviewed-by: jjg
This commit is contained in:
Vicente Romero 2013-06-29 20:12:24 +01:00
parent c5e36903f7
commit a33129c6af
3 changed files with 26 additions and 3 deletions

View file

@ -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;