Skip to content

Conversation

@Earthcomputer
Copy link

There is no reason to initialize (call <clinit>) on classes for mixin audit. Doing this makes it harder to use mixin audit in unit tests, forcing you to pre-load various subcomponents of the game, and over time there is an increasing amount of them required. More generally it disrupts class loading order, that poorly designed programs may rely on.

Stock mixin PR: SpongePowered#703

@LlamaLad7 LlamaLad7 merged commit 7c7eac3 into FabricMC:main Jun 17, 2025
2 checks passed
@Earthcomputer Earthcomputer deleted the fabric-mixin-audit-dont-initialize-classes branch June 17, 2025 21:40
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.

2 participants