[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-core-libs-dev
Subject: Re: Time to retire System.runFinalizersOnExit?
From: Mandy Chung <mandy.chung () oracle ! com>
Date: 2015-01-30 17:03:01
Message-ID: 54CBB945.70908 () oracle ! com
[Download RAW message or body]
On 1/30/15 3:04 AM, Florian Weimer wrote:
> On 01/27/2015 05:37 AM, Mandy Chung wrote:
>> 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.
> Does this include test suites?
No. I only analyzed the jar files.
>
> I see a few callers in Fedora in test suites, but only hsqldb as an
> actual user in the installed JAR files.
Do you see any issue converting them?
Mandy
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic