Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.
This repository was 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

@Juuxel

Description

@Juuxel

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions