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

Fix crash when trying to remap methods in Object. #746

Merged
merged 1 commit into from
Dec 20, 2022

Conversation

modmuss50
Copy link
Member

@modmuss50 modmuss50 commented Dec 6, 2022

Closes #745

Object has no super class, this fixes a crash when mixin tries to remap Ljava/lang/Object;equals(Ljava/lang/Object;)Z

Im not a massive fan of the use of checking the classname starts with java/, maybe one to revist when moving to mapping-io?

Test mod for future refrence fabric-example-mod-1.0.0.zip (Rename to .jar)

@modmuss50 modmuss50 added the bug label Dec 6, 2022
@modmuss50 modmuss50 requested a review from sfPlayer1 December 6, 2022 22:21
@modmuss50 modmuss50 merged commit 7fde9dc into FabricMC:master Dec 20, 2022
Juuxel added a commit to architectury/architectury-loom-runtime that referenced this pull request Feb 7, 2023
…s in Object.

Adapted from Fabric Loader commit 7fde9dc1f94b56bcc796264923b082c2bcfedab2,
PR FabricMC/fabric-loader#746.

Co-authored-by: modmuss50 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot invoke "String.startsWith(String)" when mapping Object.equals in MixinIntermediaryDevRemapper
2 participants