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