Skip to content
This repository was archived by the owner on May 12, 2024. It is now read-only.

Commit 03662f5

Browse files
committed
Don't expand frames
1 parent 587f73d commit 03662f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

impl-classtransform/src/main/java/net/raphimc/javadowngrader/impl/classtransform/JavaDowngraderTransformer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public byte[] transform(String className, byte[] bytecode, boolean calculateStac
8585
return null;
8686
}
8787

88-
final ClassNode classNode = ASMUtils.fromBytes(bytecode);
88+
final ClassNode classNode = ASMUtils.fromBytes(bytecode, 0);
8989
final DowngradeResult result = JavaDowngrader.downgrade(classNode, this.targetVersion, this.depCollector);
9090

9191
if (calculateStackMapFrames) {

0 commit comments

Comments
 (0)