[ https://issues.apache.org/jira/browse/JCRVLT-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17474599#comment-17474599 ]
Konrad Windszus commented on JCRVLT-590: ---------------------------------------- I created JCRVLT-591 to track a more generic solution of tracking unclosed packages/archives. > 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.5.10 > > > 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)