md-5 / SpecialSource

Automatic generator and renamer of jar obfuscation mappings.
Other
202 stars 51 forks source link

Class names are mapped twice when loading tsrg reversed #80

Closed IzzelAliz closed 2 years ago

IzzelAliz commented 2 years ago

Mapped once here: https://github.com/md-5/SpecialSource/blob/3e661c412debea69bed52e8050d3476a4e3d7587/src/main/java/net/md_5/specialsource/JarMapping.java#L461-L464 and again here: https://github.com/md-5/SpecialSource/blob/3e661c412debea69bed52e8050d3476a4e3d7587/src/main/java/net/md_5/specialsource/JarMapping.java#L493-L497

If there is a mapping(tsrg) that:

pkg/b pkg/c
pkg/a pkg/b
  obf ()V src

loading with reverse=true results in pkg/c/src ()V -> obf which is incorrect