Bug? Compiler thinks Java method is final


#1

Hi,

I just tried to override Throwable.getMessage. Kotlin says: Error:(8, 5) Kotlin: ‘getMessage’ in ‘RuntimeException’ is final and cannot be overridden.

I don’t think this is true. The method appears non-final to me.  Is this a bug?

thanks,
Rob


#2

Looks like a bug, please report to the tracker


#3

Done. http://youtrack.jetbrains.com/issue/KT-5587