Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] [java-input-plugin] Behavior change due to missing 'super' #1300

Closed
nitram84 opened this issue Dec 1, 2021 · 1 comment
Closed

[core] [java-input-plugin] Behavior change due to missing 'super' #1300

nitram84 opened this issue Dec 1, 2021 · 1 comment
Labels
bug Core Issues in jadx-core module

Comments

@nitram84
Copy link
Contributor

nitram84 commented Dec 1, 2021

I would like to report a behavior change due to a missing "super" with java-input-plugin. Tested with openjdk8 and latest git version 59ef569

With java-input-plugin this sample

public class OverrideToString {
    @Override
    public String toString() {
        return super.toString();
    }
}

gets decompiled to a stack overflow:

public class OverrideToString {
    public String toString() {
        return toString();
    }
}

Java-convert-plugin/dex-input-plugin works fine, so this is not a regression. This example can be used in unit tests.

@nitram84 nitram84 added bug Core Issues in jadx-core module labels Dec 1, 2021
@skylot
Copy link
Owner

skylot commented Dec 2, 2021

Fixed. Thanks, @nitram84 👍🏽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Core Issues in jadx-core module
Projects
None yet
Development

No branches or pull requests

2 participants