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

[KSP2] Static fields in base class appear in derived classes #1744

Closed
kuanyingchou opened this issue Feb 21, 2024 · 0 comments · Fixed by #1813
Closed

[KSP2] Static fields in base class appear in derived classes #1744

kuanyingchou opened this issue Feb 21, 2024 · 0 comments · Fixed by #1813
Assignees
Labels
bug Something isn't working

Comments

@kuanyingchou
Copy link

With Java classes like this:

class JavaBase {
    static String staticField;
}
class JavaDerived extends JavaBase {
}

Calling getDeclaredProperties() on JavaDerived returns staticField as well.

Tested with 2.0.0-Beta3-1.0.18-20240219.110134-28 and a0cd777.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants