[jdk8u-dev] RFR: 8287132: Retire Runtime.runFinalizersOnExit so that it always throws UOE

Thorsten Glaser t.glaser at tarent.de
Fri Jul 29 19:07:04 UTC 2022


On Fri, 29 Jul 2022, David Holmes wrote:

> On 29/07/2022 11:22 am, Bernd Eckenfels wrote:
> > Agreed, In addition to that, I also think (as already mentioned, sorry
> > ,) the runFinalizerOnExit() should be a NOP or allow a system property to
> > turn it into a nop.
> 
> This change has already been proposed and accepted by the JCP as part of SE 8
> Maintenance Release 4:

And that’s fine for the reference implementation.

However, *this*, here, is about the real-world real-existing OpenJDK
which real applications use, and which is in security/bugfixes only
mode and therefore needs to not break existing applications. It’s not
only perfectly fine but even, to some point, expected that different
decisions are taken, for compatibility reasons mostly.

bye,
//mirabilos
-- 
Infrastrukturexperte • tarent solutions GmbH
Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

                        ****************************************************
/⁀\ The UTF-8 Ribbon
╲ ╱ Campaign against      Mit dem tarent-Newsletter nichts mehr verpassen:
 ╳  HTML eMail! Also,     https://www.tarent.de/newsletter
╱ ╲ header encryption!
                        ****************************************************


More information about the jdk8u-dev mailing list