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
Objects support init() but missing finalize type function
Support
7
14745
June 21, 2018
Bug? Compiler thinks Java method is final
2
1268
August 3, 2014
About gc
Libraries
1
2202
February 22, 2016
Finalize alternative in kotlin native?
Native
1
2357
October 18, 2017
Regarding function arguments
Language Design
3
1275
June 24, 2018