From dev-return-175210-archive-asf-public=cust-asf.ponee.io@commons.apache.org Sat Oct 10 23:41:11 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id DC3DB18063B for ; Sun, 11 Oct 2020 01:41:10 +0200 (CEST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with SMTP id 511BF64304 for ; Sat, 10 Oct 2020 23:41:10 +0000 (UTC) Received: (qmail 71493 invoked by uid 500); 10 Oct 2020 23:41:09 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 71481 invoked by uid 99); 10 Oct 2020 23:41:08 -0000 Received: from spamproc1-he-fi.apache.org (HELO spamproc1-he-fi.apache.org) (95.217.134.168) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2020 23:41:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-fi.apache.org (ASF Mail Server at spamproc1-he-fi.apache.org) with ESMTP id B3375C03E4 for ; Sat, 10 Oct 2020 23:41:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-fi.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamproc1-he-fi.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-he-de.apache.org ([116.203.227.195]) by localhost (spamproc1-he-fi.apache.org [95.217.134.168]) (amavisd-new, port 10024) with ESMTP id dBUvzbWeWwnP for ; Sat, 10 Oct 2020 23:41:07 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::329; helo=mail-wm1-x329.google.com; envelope-from=garydgregory@gmail.com; receiver= Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 107797F9AD for ; Sat, 10 Oct 2020 23:41:06 +0000 (UTC) Received: by mail-wm1-x329.google.com with SMTP id p15so13602332wmi.4 for ; Sat, 10 Oct 2020 16:41:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=GEX1swNNeJ0aUKqAfZsU1Sw+sX6B/t5dpSZz7Yh42mg=; b=qnb153BFDFUMyi/sKxe0SCrceNPuy0gkaELl4Z4cC/QLF05YbsijzHfBzt6d/mOIK9 46BOojiOddJITp/H4+zV5tB3uKMB+dKKBb3rQ2lmz6s/uwqLhJYmq9d1YMV/WVQRMU2+ W0uOifyR8jagjrHucAgD1GRORwOOSGO9eyhE42G9HulTOWKRZoBTtJBjlJ0jsAhIrV/U jDJWsN3RbN5IZ+3VKwyadRWYq9xgna90rBxXoEbFUNgaLKOr/1RBNhwKcegB0tLlm0Ph 6yLOUl33XlN/kEhG0GM8kdM5wde54LZ9jqG3SiAN1XvpDkF3i7sMVko+4A4UOzBsZ9ZY mHlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=GEX1swNNeJ0aUKqAfZsU1Sw+sX6B/t5dpSZz7Yh42mg=; b=gMZ3cWXro01r5UPwEvygGV1KHGv2owJdh4bdXwgm8r6p+VCO6PIv5R2/pe5rviGPUG 96JUdWM8XV/H5guelqp8FbspTfndYVqGwHJxCDsZ3FkWmn4WHzgx2Rzz0N14pXuMIplu ukC3L7bBFsYW1jsLc1xVgwuM+x7qiyRhQUBT2Oe9Dlwc86pe9250M4nuvKLUZxouyCMw n1grnDA9jldAKlJxBRNNzr+wo7XOfYUFRtAncACpkzplIvrbN4fNq9++J+Q+QFcZbVCg SWLg4L1ww3cPa3kaZN6TAz67heWWm81vMwVfuiJAO4j+LskhLyms2eh2CIul3vOptgJl igSg== X-Gm-Message-State: AOAM530md95WwlCpgZuZ18qOg6cDr4QQ/WyfaGtRsoLHldOZOOv7cb3S srRe1do7fYuLINTzQDSGHFrRaPkEJefJu4uNRo4jBS6Wxg== X-Google-Smtp-Source: ABdhPJxLpJEIoi0y5Sv1zoYCcbkqrK/f/Gm61EwHtsB2WZwX5THMhhXYBugf1/jgDteOZPo+UQX+sm+iHD348/qLpZo= X-Received: by 2002:a05:600c:1149:: with SMTP id z9mr4706555wmz.180.1602373259611; Sat, 10 Oct 2020 16:40:59 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Gary Gregory Date: Sat, 10 Oct 2020 19:40:47 -0400 Message-ID: Subject: [CONFIGURATION-794] Unclosed file handle when reading config from JAR file URL To: Commons Developers List Content-Type: multipart/alternative; boundary="000000000000efd1c105b15998b6" --000000000000efd1c105b15998b6 Content-Type: text/plain; charset="UTF-8" Help needed on this one SVP. https://issues.apache.org/jira/browse/CONFIGURATION-794 Gary On Thu, Oct 8, 2020, 05:28 Robin Jansohn (Jira) wrote: > > [ > https://issues.apache.org/jira/browse/CONFIGURATION-794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17210100#comment-17210100 > ] > > Robin Jansohn commented on CONFIGURATION-794: > --------------------------------------------- > > Seems to be Windows specific as we cannot reproduce the behavior when > running on Linux... > > > Unclosed file handle when reading config from JAR file URL > > ---------------------------------------------------------- > > > > Key: CONFIGURATION-794 > > URL: > https://issues.apache.org/jira/browse/CONFIGURATION-794 > > Project: Commons Configuration > > Issue Type: Bug > > Affects Versions: 2.7 > > Reporter: Robin Jansohn > > Priority: Major > > > > We read a properties file which is included in a JAR file. Unfortunately > we cannot find any method to close the opened file handle after reading the > properties. > > This currently means that the JAR file can only be deleted after the JVM > shuts down. I'll open a PR which shows the behavior. > > We currently run our code mostly on Windows systems and Oracle JDK8. > > PR: https://github.com/apache/commons-configuration/pull/76 > > > > -- > This message was sent by Atlassian Jira > (v8.3.4#803005) > --000000000000efd1c105b15998b6--