Kotlin Discussions
java.lang.Object.finalize() in Kotlin?
Language Design
scimitar
May 6, 2017, 6:01pm
1
can I use it in Kotlin-class?
scimitar
May 6, 2017, 6:04pm
2
found solution:
@Throws
(Throwable::class)
protected fun finalize() {}
Related Topics
Topic
Replies
Views
Activity
Bug? Compiler thinks Java method is final
2
1263
August 3, 2014
Exceptions, Throwables, Errors, which course to take?
3
8243
October 1, 2019
How to throw generic exception
3
3859
July 10, 2017
A problem about @Throws at kotlin
Language Design
0
919
February 24, 2018
Java Interop with Checked Exceptions in Constructor
Support
1
879
June 29, 2021