Loading... (original) (raw)

JDK-8193507

replaced finalization with Cleaner API for automatic native resource cleanup in ZIP Inflater/Deflater. The code could be improved with little effort to be more robust in situations when Clenaer.register fails with OutOfMemoryError due to the need to allocate object(s). Simply moving the native resource allocation after the Cleaner.register achieves the desired effect.

relates to

Bug - A problem which impairs or prevents the functions of the product. JDK-8193507 [REDO] Startup regression due to JDK-8185582