Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hideous ASM for QSL compatibility #509

Merged
merged 1 commit into from
Oct 6, 2024

Conversation

imreallybadatnames
Copy link
Contributor

@imreallybadatnames imreallybadatnames commented Oct 6, 2024

A so-called "successor" to PR #482 that does the exact same thing as before but using a different flavor of war crimes.
All that this ASM wizardry does is emit code that does not rely on reflection in the slightest bit, thereby moving certain runtime guarantees into JVM verify-time. The decompiled version of the Mixin'd class looks as if the QSL event register was added using ordinary means, without any Mixins.
TODO: check if it doesn't explode violently done

@DaFuqs DaFuqs merged commit b367ea1 into DaFuqs:1.20.1-main Oct 6, 2024
2 checks passed
@unilock
Copy link

unilock commented Oct 10, 2024

I am horrified. Well done!

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.

3 participants