Skip to content

Fix class version check in AddFramesIfNecessaryClassProvider#575

Merged
modmuss50 merged 1 commit into
FabricMC:masterfrom
Earthcomputer:fix-class-version-check
Oct 18, 2025
Merged

Fix class version check in AddFramesIfNecessaryClassProvider#575
modmuss50 merged 1 commit into
FabricMC:masterfrom
Earthcomputer:fix-class-version-check

Conversation

@Earthcomputer

Copy link
Copy Markdown
Contributor

The minor class version is stored in the upper 16 bits of ClassNode.version, causing this check to fail for class version 45.3 (JDK 1.0.2). This would lead to classes not having frames inserted into them, which causes subsequent problems down the line for analysis that requires frames.

Closes #570

@modmuss50
modmuss50 merged commit b2fa71e into FabricMC:master Oct 18, 2025
2 checks passed
@Earthcomputer
Earthcomputer deleted the fix-class-version-check branch October 18, 2025 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jar indexing fails due to unreachable instructions for xmlpull

3 participants