Skip to content

Commit b18ccfd

Browse files
committed
Do not raise error on BootstrapMethods attribute
1 parent 2e4bfa9 commit b18ccfd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

classfile/src/attribute.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ pub enum AttributeInfo {
133133
SourceDebugExtension,
134134
LineNumberTable(Vec<AttributeInfoLineNumberTableEntry>),
135135
LocalVariableTable(Vec<LocalVariableTableEntry>),
136+
BootstrapMethods(Vec<u8>), // TODO
136137
MethodParameters(Vec<u8>), // TODO
137138
NestMembers(Vec<u8>), // TODO
138139
NestHost(Vec<u8>), // TODO
@@ -154,6 +155,7 @@ impl AttributeInfo {
154155
"Exceptions" => AttributeInfo::Exceptions(info.to_vec()),
155156
"InnerClasses" => AttributeInfo::InnerClasses(info.to_vec()),
156157
"Synthetic" => AttributeInfo::Synthetic(info.to_vec()),
158+
"BootstrapMethods" => AttributeInfo::BootstrapMethods(info.to_vec()),
157159
"MethodParameters" => AttributeInfo::MethodParameters(info.to_vec()),
158160
"NestMembers" => AttributeInfo::NestMembers(info.to_vec()),
159161
"NestHost" => AttributeInfo::NestHost(info.to_vec()),

0 commit comments

Comments
 (0)