You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/03/02 18:14:00 UTC

[jira] [Closed] (JCRVLT-590) Remove finalizer in ZipVaultPackage

     [ https://issues.apache.org/jira/browse/JCRVLT-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus closed JCRVLT-590.
----------------------------------

> Remove finalizer in ZipVaultPackage
> -----------------------------------
>
>                 Key: JCRVLT-590
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-590
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>          Components: vlt
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: 3.6.0
>
>
> Instead of relying on the finalizer in https://github.com/apache/jackrabbit-filevault/blob/561aaa092d721963f16b860de955e6d1752a350e/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/ZipVaultPackage.java#L322-L329, every ZipVaultPackage should be explicitly closed. Finalizer have some issue and are deprecated since Java 9 (https://bugs.openjdk.java.net/browse/JDK-8165641).



--
This message was sent by Atlassian Jira
(v8.20.1#820001)