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

Access from multiple nested inner classes is incorrect #53

Closed
Marcono1234 opened this issue Nov 28, 2019 · 1 comment
Closed

Access from multiple nested inner classes is incorrect #53

Marcono1234 opened this issue Nov 28, 2019 · 1 comment

Comments

@Marcono1234
Copy link
Contributor

CFR version

0.149-SNAPSHOT (commit 06539a4)

Description

When decompiling classes containing multiple nested inner classes which access the field of the enclosing class, the code generated by CFR is invalid:

A.this.NestedInnerClasses.this.str

Example code

public class NestedInnerClasses {
    private String str;
    
    class A {
        class B {
            String doSomething() {
                return str;
            }
        }
    }
}
@leibnitz27
Copy link
Owner

yet another wacky ecj issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants