java-decompiler / jd-gui

A standalone Java Decompiler GUI
GNU General Public License v3.0
13.72k stars 2.36k forks source link

Wrong code generated when classes have the same name #404

Open razafinarivohanania opened 1 year ago

razafinarivohanania commented 1 year ago

Hello, i use JD-GUI v1.6.6 to decompile .jar file.

However, there is wrong code generated when there are two classes which have the same name but in two different packages and these two classes are used at the same time in other class. I created this repository which allows to reproduce the bug.

It can be fixed? Thank you in advance :)