Skip to content

[gui] Comment duplicated when adding to line inside try-catch block #2710

@gemesa

Description

@gemesa

Issue details

When I add a comment after a line in a try-catch block, the comment is duplicated. In this example I added a LINE comment at line 40 but for some reason it is also present at line 39.

Before:

Image

After:

Image

Jadx version

dev (commit cf0101f)

Java version

21.0.7

OS

  • Windows
  • Linux
  • macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    GUIIssues in jadx-gui modulebug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions