Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

CommandMergeTinyV2 doesn't like members with the same name but different descriptors #28

Open
Juuxel opened this issue May 22, 2020 · 1 comment

Comments

@Juuxel
Copy link
Member

Juuxel commented May 22, 2020

Proguard creates these when obfuscating, but it throws an exception when you try to merge two mappings by the obf names:

java.lang.IllegalStateException: Duplicate key net.fabricmc.stitch.commands.tinyv2.TinyField@4623e502
	at net.fabricmc.stitch.commands.tinyv2.TinyClass.mapFieldsByFirstNamespace(TinyClass.java:63)
	at net.fabricmc.stitch.commands.tinyv2.CommandMergeTinyV2.mergeClasses(CommandMergeTinyV2.java:190)
	at net.fabricmc.stitch.commands.tinyv2.CommandMergeTinyV2.lambda$merge$0(CommandMergeTinyV2.java:140)
	at net.fabricmc.stitch.commands.tinyv2.CommandMergeTinyV2.map(CommandMergeTinyV2.java:304)
	at net.fabricmc.stitch.commands.tinyv2.CommandMergeTinyV2.merge(CommandMergeTinyV2.java:134)
	at net.fabricmc.stitch.commands.tinyv2.CommandMergeTinyV2.run(CommandMergeTinyV2.java:118)
@natanfudge
Copy link
Contributor

Concern

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants