diff --git a/classfile/classfile.js b/classfile/classfile.js index cb4abb8d..4f531227 100644 --- a/classfile/classfile.js +++ b/classfile/classfile.js @@ -84,6 +84,10 @@ var getClassImage = function(classBytes) { attribute.type = ATTRIBUTE_TYPES.Synthetic; return attribute; + case ATTRIBUTE_TYPES.Deprecated: + attribute.type = ATTRIBUTE_TYPES.Deprecated; + return attribute; + default: throw new Error("This attribute type is not supported yet. [" + JSON.stringify(item) + "]"); }