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
2210
February 22, 2016
Objects support init() but missing finalize type function
Support
7
15142
June 21, 2018
Bug? Compiler thinks Java method is final
2
1288
August 3, 2014
Finalize alternative in kotlin native?
Native
1
2451
October 18, 2017
Question on default final on classes and interoperation with existing cglib ecosystem
3
1426
May 5, 2015