Vineflower / vineflower

Modern Java decompiler aiming to be as accurate as possible, with an emphasis on output quality. Fork of the Fernflower decompiler.
https://vineflower.org/
Apache License 2.0
1.24k stars 88 forks source link

--rename-members fails to rename the members of extended classes #398

Open Fancymaster1 opened 4 months ago

Fancymaster1 commented 4 months ago

Vineflower version

1.10.1

Describe the bug

When using --rename-members=1 in cmd, Vineflower fails to remember the renamed members of classes that get extended by other classes, and instead uses the old names in the extended classes.

Example of a class that extends another, retaining the old member names: image

Example of the class it is extending, with renamed member names: image

Additional information

Tested on Minecraft Classic 0.0.13a_03, several classes are affected by this, mainly classes extending the entity and tile classes.