System.runFinalizationOnExit has been deprecated since 1998 (JDK 1.2)
and this method is inherently unsafe.  I am thinking to propose this method
in JDK 9 to throw UnsupportedOperationException.

I believe it's rare for existing applications using 
System.runFinalizationOnExit.
My analysis on Maven Central ~315K artifacts that show about ~15 unique
artifacts calling System.runFinalizationOnExit while they all come from
only 5 classes.

Any thought/feedback?

Mandy

Reply via email to