Skip to content

Commit

Permalink
fix: skip asm validation after we have already read the resource
Browse files Browse the repository at this point in the history
  • Loading branch information
1fxe committed Jan 19, 2024
1 parent ccc617d commit 5281ac4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public JvmClassInfo get(@Nonnull Object name) {
}
JvmClassInfo info = new JvmClassInfoBuilder()
.adaptFrom(new ClassReader(value), ClassReader.SKIP_CODE)
.skipASMValidation(true) // We already validated the asm when loading resource
.build();
cache.put(key, info);
return info;
Expand Down

0 comments on commit 5281ac4

Please sign in to comment.