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
1180
August 3, 2014
Exceptions, Throwables, Errors, which course to take?
3
7749
October 1, 2019
Compiler failed to see null check?
4
1019
January 9, 2013
A problem about @Throws at kotlin
Language Design
0
831
February 24, 2018
Java Interop with Checked Exceptions in Constructor
Support
1
732
June 29, 2021