Noob Kotlin question: I am trying to extend a Java...
# tornadofx
a
Noob Kotlin question: I am trying to extend a Java Class in Kotlin and it shows me a compilation error for
Inherited Platform declaration clash
. I am not extending an abstract class and my class doesn't override the method. Basically, its just this:
Copy code
class MyTableRowSkin<S>(val tableRow: TableRow<S>) : TableRowSkin<S>(tableRow) {

}
The compilation error is thrown for
fun createCell()
.
TableRowSkin
has a body for the function, which is inherited from
TableRowSkinBase
(where the method is abstract). Please note, I am using JDK 9 where
TableRowSkin
is a public API. cc @edvin