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
About gc
Libraries
1
2246
February 22, 2016
Objects support init() but missing finalize type function
Support
7
15342
June 21, 2018
Finalize alternative in kotlin native?
Native
1
2517
October 18, 2017
Bug? Compiler thinks Java method is final
2
1322
August 3, 2014
Classes final by default
Language Design
83
67799
April 17, 2019