[K2] Java synthetic properties in Kotlin inheritor class shown with open
modifier
#3669
Labels
bug
language: Java
Issue/PR related to the Java language feature/analysis/docs
topic: K2
Issues / PRs that are related to the K2 migration. See #2888
Create a Java class with a field with getter/setter that will be represented in Kotlin as one property.
Create a Kotlin class that will inherit the Java class
For K1 Kotlin classes will looks like (no open modifier for

foo
):For K2 it shown the modifier:

[NON_FINAL_MEMBER_IN_FINAL_CLASS]
)Child
an open class then anyway we cannot override it in a child class ofChild
. ([NOTHING_TO_OVERRIDE]
)The text was updated successfully, but these errors were encountered: