Search code examples
javadecompilerjd-gui

Source code has comments after decompile whith JD-GUI


I have converted class files into source code by JD GUI Tool. I open the jar file using JD-GUI version 0.3.5, then open File folder and click "Save All Sources". There are comments in source code, e.g.:

/*     */
/*     */ @ManagedBean
/*  60   */ @SessionScoped

How can I remove those comments?


Solution

  • Change the setting under Help > Preferences and uncheck Display line numbers as in image;

    enter image description here