Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsnl7-0000ka-Tt for pgsql-jdbc@arkaria.postgresql.org; Mon, 14 Jun 2021 14:40:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lsnl6-0000xj-Tg for pgsql-jdbc@arkaria.postgresql.org; Mon, 14 Jun 2021 14:40:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsnl6-0000xb-Mi for pgsql-jdbc@lists.postgresql.org; Mon, 14 Jun 2021 14:40:12 +0000 Received: from out-21.smtp.github.com ([192.30.252.204] helo=smtp.github.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsnl4-0001Jf-5y for pgsql-jdbc@lists.postgresql.org; Mon, 14 Jun 2021 14:40:11 +0000 Received: from github.com (hubbernetes-node-ed15fdc.ac4-iad.github.net [10.52.201.17]) by smtp.github.com (Postfix) with ESMTPA id EF0105219BD for ; Mon, 14 Jun 2021 07:40:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1623681609; bh=7FBwn3iOJpwzVnyWRTQGb6VFzs+BDs/RbZfDXjp16Zs=; h=Date:From:To:Subject:From; b=MikUO7rKtUKXl3uiHo8NMC88RThXJG/dNOZ8ZhHFCwT7kcHvJFGBgm5LBo+IMCaeN +5/CWwjHNVoB9wVacHSOlhKAZff/B104InnoEtJBJuBpEuratzBEiPlgharOx1FPr/ dU657+cDoLGY4OLlqITWUR3GRk23CD4W+IXY+32Y= Date: Mon, 14 Jun 2021 07:40:08 -0700 From: Agata Naomichi To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] d78059: fix: When calling Driver.connect multiple times, S... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: d78059a529942d9a3509132e7fd2cb61efb94a48 https://github.com/pgjdbc/pgjdbc/commit/d78059a529942d9a3509132e7fd2cb61efb94a48 Author: Agata Naomichi Date: 2021-06-14 (Mon, 14 Jun 2021) Changed paths: M pgjdbc/src/main/java/org/postgresql/Driver.java M pgjdbc/src/test/java/org/postgresql/test/jdbc2/DriverTest.java Log Message: ----------- fix: When calling Driver.connect multiple times, System.err is closed unexpectedly. (#2138) * fix: When calling Driver.connect multiple times, System.err is closed unexpectedly. (#2130) Use ConsoleHandler instead of StreamHandler when the output stream is unspecified. * Refine test cases