LuciferYang commented on PR #36237:
URL: https://github.com/apache/spark/pull/36237#issuecomment-1101061638

   @srowen Java 9 provides 
[java.lang.ref.Cleaner](https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/lang/ref/Cleaner.java)
 which can achieve the same purpose as `finalize`, but Spark still need to 
support Java 8 now. 
   
   Are there any other recommended alternatives?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to