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

[incubator-kie-drools-6243] Property reactivity doesn't react to supe… #6251

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

tkobayas
Copy link
Contributor

…r class properties overridden by sub class getter
if (classType == modifiedClass || "java.lang".equals(pkgName) || !(classType.isInterface() || modifiedClass.isInterface())) {
if (classType == modifiedClass || "java.lang".equals(pkgName)) {
Copy link
Contributor Author

@tkobayas tkobayas Feb 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The condition !(classType.isInterface() || modifiedClass.isInterface()) allows the mask adaptation only for cases where Interface is involved. This was introduced by 6d2840d

But I think it's fine to allow for cases where both are classes. So this is the only change for this fix.

WDYT? @mariofusco

@tkobayas tkobayas marked this pull request as ready for review February 13, 2025 06:41
@tkobayas tkobayas assigned mariofusco and unassigned mariofusco Feb 13, 2025
@tkobayas tkobayas requested a review from mariofusco February 19, 2025 03:03
@mariofusco mariofusco merged commit a8dbf0d into apache:main Feb 19, 2025
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants